Trendsic Platform Service

<back to all web services

LSW_OLifERequestName

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/LSW_OLifE_Get/{StartDate}/{EndDate}/{AgentName}

export class LSW_OLifE
{
    public OLifeID: number;
    public SourceInfo: string;
    public CreateDate: string;
    public TransExeDate: string;
    public HoldingID: string;
    public HoldingTypeCode: string;
    public HoldingStatus: string;
    public AsOfDate: string;
    public Policy_PolNumber: string;
    public Policy_LineOfBusiness: string;
    public Policy_ProductType: string;
    public Policy_ProductCode: string;
    public Policy_CarrierCode: string;
    public Policy_PlanName: string;
    public Policy_PolicyStatus: string;
    public Policy_Jurisdiction: string;
    public Policy_StatusChangeDate: string;
    public Policy_PaymentMode: string;
    public Policy_PaymentModeTC: string;
    public Policy_PaymentAmt: number;
    public TotalPolicy_PaymentAmt: number;
    public Policy_PaymentMethod: string;
    public Life_TargetPremAmt: number;
    public TotalLife_TargetPremAmt: number;
    public Life_FaceAmt: number;
    public TotalLife_FaceAmt: number;
    public ApplicationInfo_TrackingID: string;
    public ApplicationInfo_CWAAmt: string;
    public TotalApplicationInfo_CWAAmt: string;
    public ApplicationInfo_SubmissionType: string;
    public ApplicationInfo_HOPolicyMailDate: string;
    public ApplicationInfo_HoUnderwriterName: string;
    public ApplicationInfo_PlacementEndDate: string;
    public ApplicationInfo_NBContactName: string;
    public ApplicationInfo_SignedDate: string;
    public Client: string;
    public AgentID: number;
    public AgentNM: string;
    public Agent1Percent: string;
    public AgentNM2: string;
    public Agent2Percent: string;
    public AgentNM3: string;
    public Agent3Percent: string;
    public AgentNM4: string;
    public Agent4Percent: string;
    public QualifyingLifePremium: number;
    public TotalQualifyingLifePremium: number;
    public AnnTransfer: number;
    public TotalAnnTransfer: number;
    public AnnFlow: number;
    public TotalAnnFlow: number;
    public Points: number;
    public Life_Expected: number;
    public TotalLife_Expected: number;
    public FullName: string;
    public InterestPercent: number;
    public InterestPercentDecimal: number;
    public Apps: number;

    public constructor(init?: Partial<LSW_OLifE>) { (Object as any).assign(this, init); }
}

export class LSW_OLifEResponse
{
    public ResponseStatus: ResponseStatus;
    public LSW_OLifE: LSW_OLifE[] = [];

    public constructor(init?: Partial<LSW_OLifEResponse>) { (Object as any).assign(this, init); }
}

export class LSW_OLifERequestName
{
    public StartDate: string;
    public EndDate: string;
    public AgentName: string;

    public constructor(init?: Partial<LSW_OLifERequestName>) { (Object as any).assign(this, init); }
}

TypeScript LSW_OLifERequestName 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_Get/{StartDate}/{EndDate}/{AgentName} 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
		}
	]
}