Trendsic Platform Service

<back to all web services

LSW_OLifERequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/LSW_OLifE/{StartDate}/{EndDate}
GET,OPTIONS/v1/LSW_OLifE/{StartDate}/{EndDate}/{AgentID}
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class LSW_OLifERequest
{
    open var StartDate:Date? = null
    open var EndDate:Date? = null
    open var AgentID:Int? = null
}

open class LSW_OLifEResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var LSW_OLifE:ArrayList<LSW_OLifE> = ArrayList<LSW_OLifE>()
}

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

Kotlin LSW_OLifERequest 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/{StartDate}/{EndDate} 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
		}
	]
}