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}
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using CRM.AgencyPlatform.API.Internal;

namespace CRM.AgencyPlatform.API.Internal
{
    public partial class LSW_OLifE
    {
        public virtual int OLifeID { get; set; }
        public virtual string SourceInfo { get; set; }
        public virtual DateTime CreateDate { get; set; }
        public virtual DateTime TransExeDate { get; set; }
        public virtual string HoldingID { get; set; }
        public virtual string HoldingTypeCode { get; set; }
        public virtual string HoldingStatus { get; set; }
        public virtual DateTime AsOfDate { get; set; }
        public virtual string Policy_PolNumber { get; set; }
        public virtual string Policy_LineOfBusiness { get; set; }
        public virtual string Policy_ProductType { get; set; }
        public virtual string Policy_ProductCode { get; set; }
        public virtual string Policy_CarrierCode { get; set; }
        public virtual string Policy_PlanName { get; set; }
        public virtual string Policy_PolicyStatus { get; set; }
        public virtual string Policy_Jurisdiction { get; set; }
        public virtual DateTime Policy_StatusChangeDate { get; set; }
        public virtual string Policy_PaymentMode { get; set; }
        public virtual string Policy_PaymentModeTC { get; set; }
        public virtual decimal Policy_PaymentAmt { get; set; }
        public virtual decimal TotalPolicy_PaymentAmt { get; set; }
        public virtual string Policy_PaymentMethod { get; set; }
        public virtual decimal Life_TargetPremAmt { get; set; }
        public virtual decimal TotalLife_TargetPremAmt { get; set; }
        public virtual decimal Life_FaceAmt { get; set; }
        public virtual decimal TotalLife_FaceAmt { get; set; }
        public virtual string ApplicationInfo_TrackingID { get; set; }
        public virtual string ApplicationInfo_CWAAmt { get; set; }
        public virtual string TotalApplicationInfo_CWAAmt { get; set; }
        public virtual string ApplicationInfo_SubmissionType { get; set; }
        public virtual DateTime ApplicationInfo_HOPolicyMailDate { get; set; }
        public virtual string ApplicationInfo_HoUnderwriterName { get; set; }
        public virtual DateTime ApplicationInfo_PlacementEndDate { get; set; }
        public virtual string ApplicationInfo_NBContactName { get; set; }
        public virtual DateTime ApplicationInfo_SignedDate { get; set; }
        public virtual string Client { get; set; }
        public virtual int AgentID { get; set; }
        public virtual string AgentNM { get; set; }
        public virtual string Agent1Percent { get; set; }
        public virtual string AgentNM2 { get; set; }
        public virtual string Agent2Percent { get; set; }
        public virtual string AgentNM3 { get; set; }
        public virtual string Agent3Percent { get; set; }
        public virtual string AgentNM4 { get; set; }
        public virtual string Agent4Percent { get; set; }
        public virtual decimal QualifyingLifePremium { get; set; }
        public virtual decimal TotalQualifyingLifePremium { get; set; }
        public virtual decimal AnnTransfer { get; set; }
        public virtual decimal TotalAnnTransfer { get; set; }
        public virtual decimal AnnFlow { get; set; }
        public virtual decimal TotalAnnFlow { get; set; }
        public virtual decimal Points { get; set; }
        public virtual decimal Life_Expected { get; set; }
        public virtual decimal TotalLife_Expected { get; set; }
        public virtual string FullName { get; set; }
        public virtual int InterestPercent { get; set; }
        public virtual decimal InterestPercentDecimal { get; set; }
        public virtual int Apps { get; set; }
    }

    public partial class LSW_OLifERequestName
    {
        public virtual DateTime StartDate { get; set; }
        public virtual DateTime EndDate { get; set; }
        public virtual string AgentName { get; set; }
    }

    public partial class LSW_OLifEResponse
    {
        public virtual ResponseStatus ResponseStatus { get; set; }
        public virtual List<LSW_OLifE> LSW_OLifE { get; set; } = [];
    }

}

C# 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
		}
	]
}