Trendsic Platform Service

<back to all web services

LSW_OLifE_AgentAggregateRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/LSW_OLifE/AgentAggregate/{StartDate}/{EndDate}/{AgentID}
GET,OPTIONS/v1/LSW_OLifE/AgentAggregate/{StartDate}/{EndDate}
"use strict";
export class LSW_OLifE {
    /** @param {{OLifeID?:number,SourceInfo?:string,CreateDate?:string,TransExeDate?:string,HoldingID?:string,HoldingTypeCode?:string,HoldingStatus?:string,AsOfDate?:string,Policy_PolNumber?:string,Policy_LineOfBusiness?:string,Policy_ProductType?:string,Policy_ProductCode?:string,Policy_CarrierCode?:string,Policy_PlanName?:string,Policy_PolicyStatus?:string,Policy_Jurisdiction?:string,Policy_StatusChangeDate?:string,Policy_PaymentMode?:string,Policy_PaymentModeTC?:string,Policy_PaymentAmt?:number,TotalPolicy_PaymentAmt?:number,Policy_PaymentMethod?:string,Life_TargetPremAmt?:number,TotalLife_TargetPremAmt?:number,Life_FaceAmt?:number,TotalLife_FaceAmt?:number,ApplicationInfo_TrackingID?:string,ApplicationInfo_CWAAmt?:string,TotalApplicationInfo_CWAAmt?:string,ApplicationInfo_SubmissionType?:string,ApplicationInfo_HOPolicyMailDate?:string,ApplicationInfo_HoUnderwriterName?:string,ApplicationInfo_PlacementEndDate?:string,ApplicationInfo_NBContactName?:string,ApplicationInfo_SignedDate?:string,Client?:string,AgentID?:number,AgentNM?:string,Agent1Percent?:string,AgentNM2?:string,Agent2Percent?:string,AgentNM3?:string,Agent3Percent?:string,AgentNM4?:string,Agent4Percent?:string,QualifyingLifePremium?:number,TotalQualifyingLifePremium?:number,AnnTransfer?:number,TotalAnnTransfer?:number,AnnFlow?:number,TotalAnnFlow?:number,Points?:number,Life_Expected?:number,TotalLife_Expected?:number,FullName?:string,InterestPercent?:number,InterestPercentDecimal?:number,Apps?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    OLifeID;
    /** @type {string} */
    SourceInfo;
    /** @type {string} */
    CreateDate;
    /** @type {string} */
    TransExeDate;
    /** @type {string} */
    HoldingID;
    /** @type {string} */
    HoldingTypeCode;
    /** @type {string} */
    HoldingStatus;
    /** @type {string} */
    AsOfDate;
    /** @type {string} */
    Policy_PolNumber;
    /** @type {string} */
    Policy_LineOfBusiness;
    /** @type {string} */
    Policy_ProductType;
    /** @type {string} */
    Policy_ProductCode;
    /** @type {string} */
    Policy_CarrierCode;
    /** @type {string} */
    Policy_PlanName;
    /** @type {string} */
    Policy_PolicyStatus;
    /** @type {string} */
    Policy_Jurisdiction;
    /** @type {string} */
    Policy_StatusChangeDate;
    /** @type {string} */
    Policy_PaymentMode;
    /** @type {string} */
    Policy_PaymentModeTC;
    /** @type {number} */
    Policy_PaymentAmt;
    /** @type {number} */
    TotalPolicy_PaymentAmt;
    /** @type {string} */
    Policy_PaymentMethod;
    /** @type {number} */
    Life_TargetPremAmt;
    /** @type {number} */
    TotalLife_TargetPremAmt;
    /** @type {number} */
    Life_FaceAmt;
    /** @type {number} */
    TotalLife_FaceAmt;
    /** @type {string} */
    ApplicationInfo_TrackingID;
    /** @type {string} */
    ApplicationInfo_CWAAmt;
    /** @type {string} */
    TotalApplicationInfo_CWAAmt;
    /** @type {string} */
    ApplicationInfo_SubmissionType;
    /** @type {string} */
    ApplicationInfo_HOPolicyMailDate;
    /** @type {string} */
    ApplicationInfo_HoUnderwriterName;
    /** @type {string} */
    ApplicationInfo_PlacementEndDate;
    /** @type {string} */
    ApplicationInfo_NBContactName;
    /** @type {string} */
    ApplicationInfo_SignedDate;
    /** @type {string} */
    Client;
    /** @type {number} */
    AgentID;
    /** @type {string} */
    AgentNM;
    /** @type {string} */
    Agent1Percent;
    /** @type {string} */
    AgentNM2;
    /** @type {string} */
    Agent2Percent;
    /** @type {string} */
    AgentNM3;
    /** @type {string} */
    Agent3Percent;
    /** @type {string} */
    AgentNM4;
    /** @type {string} */
    Agent4Percent;
    /** @type {number} */
    QualifyingLifePremium;
    /** @type {number} */
    TotalQualifyingLifePremium;
    /** @type {number} */
    AnnTransfer;
    /** @type {number} */
    TotalAnnTransfer;
    /** @type {number} */
    AnnFlow;
    /** @type {number} */
    TotalAnnFlow;
    /** @type {number} */
    Points;
    /** @type {number} */
    Life_Expected;
    /** @type {number} */
    TotalLife_Expected;
    /** @type {string} */
    FullName;
    /** @type {number} */
    InterestPercent;
    /** @type {number} */
    InterestPercentDecimal;
    /** @type {number} */
    Apps;
}
export class LSW_OLifEResponse {
    /** @param {{ResponseStatus?:ResponseStatus,LSW_OLifE?:LSW_OLifE[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    ResponseStatus;
    /** @type {LSW_OLifE[]} */
    LSW_OLifE = [];
}
export class LSW_OLifE_AgentAggregateRequest {
    /** @param {{StartDate?:string,EndDate?:string,AgentID?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    StartDate;
    /** @type {string} */
    EndDate;
    /** @type {number} */
    AgentID;
}

JavaScript LSW_OLifE_AgentAggregateRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/LSW_OLifE/AgentAggregate/{StartDate}/{EndDate}/{AgentID} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	LSW_OLifE: 
	[
		{
			OLifeID: 0,
			SourceInfo: String,
			CreateDate: 0001-01-01,
			TransExeDate: 0001-01-01,
			HoldingID: String,
			HoldingTypeCode: String,
			HoldingStatus: String,
			AsOfDate: 0001-01-01,
			Policy_PolNumber: String,
			Policy_LineOfBusiness: String,
			Policy_ProductType: String,
			Policy_ProductCode: String,
			Policy_CarrierCode: String,
			Policy_PlanName: String,
			Policy_PolicyStatus: String,
			Policy_Jurisdiction: String,
			Policy_StatusChangeDate: 0001-01-01,
			Policy_PaymentMode: String,
			Policy_PaymentModeTC: String,
			Policy_PaymentAmt: 0,
			TotalPolicy_PaymentAmt: 0,
			Policy_PaymentMethod: String,
			Life_TargetPremAmt: 0,
			TotalLife_TargetPremAmt: 0,
			Life_FaceAmt: 0,
			TotalLife_FaceAmt: 0,
			ApplicationInfo_TrackingID: String,
			ApplicationInfo_CWAAmt: String,
			TotalApplicationInfo_CWAAmt: String,
			ApplicationInfo_SubmissionType: String,
			ApplicationInfo_HOPolicyMailDate: 0001-01-01,
			ApplicationInfo_HoUnderwriterName: String,
			ApplicationInfo_PlacementEndDate: 0001-01-01,
			ApplicationInfo_NBContactName: String,
			ApplicationInfo_SignedDate: 0001-01-01,
			Client: String,
			AgentID: 0,
			AgentNM: String,
			Agent1Percent: String,
			AgentNM2: String,
			Agent2Percent: String,
			AgentNM3: String,
			Agent3Percent: String,
			AgentNM4: String,
			Agent4Percent: String,
			QualifyingLifePremium: 0,
			TotalQualifyingLifePremium: 0,
			AnnTransfer: 0,
			TotalAnnTransfer: 0,
			AnnFlow: 0,
			TotalAnnFlow: 0,
			Points: 0,
			Life_Expected: 0,
			TotalLife_Expected: 0,
			FullName: String,
			InterestPercent: 0,
			InterestPercentDecimal: 0,
			Apps: 0
		}
	]
}