| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/LSW_OLifE/AgentAggregate/{StartDate}/{EndDate}/{AgentID} | ||
|---|---|---|---|
| GET,OPTIONS | /v1/LSW_OLifE/AgentAggregate/{StartDate}/{EndDate} |
import Foundation
import ServiceStack
public class LSW_OLifE_AgentAggregateRequest : Codable
{
public var startDate:Date
public var endDate:Date
public var agentID:Int
required public init(){}
}
public class LSW_OLifEResponse : Codable
{
public var responseStatus:ResponseStatus
public var lsW_OLifE:[LSW_OLifE] = []
required public init(){}
}
public class LSW_OLifE : Codable
{
public var oLifeID:Int
public var sourceInfo:String
public var createDate:Date
public var transExeDate:Date
public var holdingID:String
public var holdingTypeCode:String
public var holdingStatus:String
public var asOfDate:Date
public var policy_PolNumber:String
public var policy_LineOfBusiness:String
public var policy_ProductType:String
public var policy_ProductCode:String
public var policy_CarrierCode:String
public var policy_PlanName:String
public var policy_PolicyStatus:String
public var policy_Jurisdiction:String
public var policy_StatusChangeDate:Date
public var policy_PaymentMode:String
public var policy_PaymentModeTC:String
public var policy_PaymentAmt:Double
public var totalPolicy_PaymentAmt:Double
public var policy_PaymentMethod:String
public var life_TargetPremAmt:Double
public var totalLife_TargetPremAmt:Double
public var life_FaceAmt:Double
public var totalLife_FaceAmt:Double
public var applicationInfo_TrackingID:String
public var applicationInfo_CWAAmt:String
public var totalApplicationInfo_CWAAmt:String
public var applicationInfo_SubmissionType:String
public var applicationInfo_HOPolicyMailDate:Date
public var applicationInfo_HoUnderwriterName:String
public var applicationInfo_PlacementEndDate:Date
public var applicationInfo_NBContactName:String
public var applicationInfo_SignedDate:Date
public var client:String
public var agentID:Int
public var agentNM:String
public var agent1Percent:String
public var agentNM2:String
public var agent2Percent:String
public var agentNM3:String
public var agent3Percent:String
public var agentNM4:String
public var agent4Percent:String
public var qualifyingLifePremium:Double
public var totalQualifyingLifePremium:Double
public var annTransfer:Double
public var totalAnnTransfer:Double
public var annFlow:Double
public var totalAnnFlow:Double
public var points:Double
public var life_Expected:Double
public var totalLife_Expected:Double
public var fullName:String
public var interestPercent:Int
public var interestPercentDecimal:Double
public var apps:Int
required public init(){}
}
Swift LSW_OLifE_AgentAggregateRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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-01T00:00:00.0000000","TransExeDate":"0001-01-01T00:00:00.0000000","HoldingID":"String","HoldingTypeCode":"String","HoldingStatus":"String","AsOfDate":"0001-01-01T00:00:00.0000000","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-01T00:00:00.0000000","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-01T00:00:00.0000000","ApplicationInfo_HoUnderwriterName":"String","ApplicationInfo_PlacementEndDate":"0001-01-01T00:00:00.0000000","ApplicationInfo_NBContactName":"String","ApplicationInfo_SignedDate":"0001-01-01T00:00:00.0000000","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}]}