| Requires any of the roles: | Agent, Administrator |
| 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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<LSW_OLifEResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<LSW_OLifE>
<LSW_OLifE>
<Agent1Percent>String</Agent1Percent>
<Agent2Percent>String</Agent2Percent>
<Agent3Percent>String</Agent3Percent>
<Agent4Percent>String</Agent4Percent>
<AgentID>0</AgentID>
<AgentNM>String</AgentNM>
<AgentNM2>String</AgentNM2>
<AgentNM3>String</AgentNM3>
<AgentNM4>String</AgentNM4>
<AnnFlow>0</AnnFlow>
<AnnTransfer>0</AnnTransfer>
<ApplicationInfo_CWAAmt>String</ApplicationInfo_CWAAmt>
<ApplicationInfo_HOPolicyMailDate>0001-01-01T00:00:00</ApplicationInfo_HOPolicyMailDate>
<ApplicationInfo_HoUnderwriterName>String</ApplicationInfo_HoUnderwriterName>
<ApplicationInfo_NBContactName>String</ApplicationInfo_NBContactName>
<ApplicationInfo_PlacementEndDate>0001-01-01T00:00:00</ApplicationInfo_PlacementEndDate>
<ApplicationInfo_SignedDate>0001-01-01T00:00:00</ApplicationInfo_SignedDate>
<ApplicationInfo_SubmissionType>String</ApplicationInfo_SubmissionType>
<ApplicationInfo_TrackingID>String</ApplicationInfo_TrackingID>
<Apps>0</Apps>
<AsOfDate>0001-01-01T00:00:00</AsOfDate>
<Client>String</Client>
<CreateDate>0001-01-01T00:00:00</CreateDate>
<FullName>String</FullName>
<HoldingID>String</HoldingID>
<HoldingStatus>String</HoldingStatus>
<HoldingTypeCode>String</HoldingTypeCode>
<InterestPercent>0</InterestPercent>
<InterestPercentDecimal>0</InterestPercentDecimal>
<Life_Expected>0</Life_Expected>
<Life_FaceAmt>0</Life_FaceAmt>
<Life_TargetPremAmt>0</Life_TargetPremAmt>
<OLifeID>0</OLifeID>
<Points>0</Points>
<Policy_CarrierCode>String</Policy_CarrierCode>
<Policy_Jurisdiction>String</Policy_Jurisdiction>
<Policy_LineOfBusiness>String</Policy_LineOfBusiness>
<Policy_PaymentAmt>0</Policy_PaymentAmt>
<Policy_PaymentMethod>String</Policy_PaymentMethod>
<Policy_PaymentMode>String</Policy_PaymentMode>
<Policy_PaymentModeTC>String</Policy_PaymentModeTC>
<Policy_PlanName>String</Policy_PlanName>
<Policy_PolNumber>String</Policy_PolNumber>
<Policy_PolicyStatus>String</Policy_PolicyStatus>
<Policy_ProductCode>String</Policy_ProductCode>
<Policy_ProductType>String</Policy_ProductType>
<Policy_StatusChangeDate>0001-01-01T00:00:00</Policy_StatusChangeDate>
<QualifyingLifePremium>0</QualifyingLifePremium>
<SourceInfo>String</SourceInfo>
<TotalAnnFlow>0</TotalAnnFlow>
<TotalAnnTransfer>0</TotalAnnTransfer>
<TotalApplicationInfo_CWAAmt>String</TotalApplicationInfo_CWAAmt>
<TotalLife_Expected>0</TotalLife_Expected>
<TotalLife_FaceAmt>0</TotalLife_FaceAmt>
<TotalLife_TargetPremAmt>0</TotalLife_TargetPremAmt>
<TotalPolicy_PaymentAmt>0</TotalPolicy_PaymentAmt>
<TotalQualifyingLifePremium>0</TotalQualifyingLifePremium>
<TransExeDate>0001-01-01T00:00:00</TransExeDate>
</LSW_OLifE>
</LSW_OLifE>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
<d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Meta>
</d2p1:ResponseError>
</d2p1:Errors>
<d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Meta>
</ResponseStatus>
</LSW_OLifEResponse>