Trendsic Platform Service

<back to all web services

LSW_OLifE_AgentAggregateRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/LSW_OLifE/AgentAggregate/{StartDate}/{EndDate}/{AgentID}
GET,OPTIONS/v1/LSW_OLifE/AgentAggregate/{StartDate}/{EndDate}
"use strict";
export class LSW_OLifE {
    /** @param {{OLifeID?:number,SourceInfo?:string,CreateDate?:string,TransExeDate?:string,HoldingID?:string,HoldingTypeCode?:string,HoldingStatus?:string,AsOfDate?:string,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?:string,Policy_PaymentMode?:string,Policy_PaymentModeTC?:string,Policy_PaymentAmt?:number,TotalPolicy_PaymentAmt?:number,Policy_PaymentMethod?:string,Life_TargetPremAmt?:number,TotalLife_TargetPremAmt?:number,Life_FaceAmt?:number,TotalLife_FaceAmt?:number,ApplicationInfo_TrackingID?:string,ApplicationInfo_CWAAmt?:string,TotalApplicationInfo_CWAAmt?:string,ApplicationInfo_SubmissionType?:string,ApplicationInfo_HOPolicyMailDate?:string,ApplicationInfo_HoUnderwriterName?:string,ApplicationInfo_PlacementEndDate?:string,ApplicationInfo_NBContactName?:string,ApplicationInfo_SignedDate?:string,Client?:string,AgentID?:number,AgentNM?:string,Agent1Percent?:string,AgentNM2?:string,Agent2Percent?:string,AgentNM3?:string,Agent3Percent?:string,AgentNM4?:string,Agent4Percent?:string,QualifyingLifePremium?:number,TotalQualifyingLifePremium?:number,AnnTransfer?:number,TotalAnnTransfer?:number,AnnFlow?:number,TotalAnnFlow?:number,Points?:number,Life_Expected?:number,TotalLife_Expected?:number,FullName?:string,InterestPercent?:number,InterestPercentDecimal?:number,Apps?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    OLifeID;
    /** @type {string} */
    SourceInfo;
    /** @type {string} */
    CreateDate;
    /** @type {string} */
    TransExeDate;
    /** @type {string} */
    HoldingID;
    /** @type {string} */
    HoldingTypeCode;
    /** @type {string} */
    HoldingStatus;
    /** @type {string} */
    AsOfDate;
    /** @type {string} */
    Policy_PolNumber;
    /** @type {string} */
    Policy_LineOfBusiness;
    /** @type {string} */
    Policy_ProductType;
    /** @type {string} */
    Policy_ProductCode;
    /** @type {string} */
    Policy_CarrierCode;
    /** @type {string} */
    Policy_PlanName;
    /** @type {string} */
    Policy_PolicyStatus;
    /** @type {string} */
    Policy_Jurisdiction;
    /** @type {string} */
    Policy_StatusChangeDate;
    /** @type {string} */
    Policy_PaymentMode;
    /** @type {string} */
    Policy_PaymentModeTC;
    /** @type {number} */
    Policy_PaymentAmt;
    /** @type {number} */
    TotalPolicy_PaymentAmt;
    /** @type {string} */
    Policy_PaymentMethod;
    /** @type {number} */
    Life_TargetPremAmt;
    /** @type {number} */
    TotalLife_TargetPremAmt;
    /** @type {number} */
    Life_FaceAmt;
    /** @type {number} */
    TotalLife_FaceAmt;
    /** @type {string} */
    ApplicationInfo_TrackingID;
    /** @type {string} */
    ApplicationInfo_CWAAmt;
    /** @type {string} */
    TotalApplicationInfo_CWAAmt;
    /** @type {string} */
    ApplicationInfo_SubmissionType;
    /** @type {string} */
    ApplicationInfo_HOPolicyMailDate;
    /** @type {string} */
    ApplicationInfo_HoUnderwriterName;
    /** @type {string} */
    ApplicationInfo_PlacementEndDate;
    /** @type {string} */
    ApplicationInfo_NBContactName;
    /** @type {string} */
    ApplicationInfo_SignedDate;
    /** @type {string} */
    Client;
    /** @type {number} */
    AgentID;
    /** @type {string} */
    AgentNM;
    /** @type {string} */
    Agent1Percent;
    /** @type {string} */
    AgentNM2;
    /** @type {string} */
    Agent2Percent;
    /** @type {string} */
    AgentNM3;
    /** @type {string} */
    Agent3Percent;
    /** @type {string} */
    AgentNM4;
    /** @type {string} */
    Agent4Percent;
    /** @type {number} */
    QualifyingLifePremium;
    /** @type {number} */
    TotalQualifyingLifePremium;
    /** @type {number} */
    AnnTransfer;
    /** @type {number} */
    TotalAnnTransfer;
    /** @type {number} */
    AnnFlow;
    /** @type {number} */
    TotalAnnFlow;
    /** @type {number} */
    Points;
    /** @type {number} */
    Life_Expected;
    /** @type {number} */
    TotalLife_Expected;
    /** @type {string} */
    FullName;
    /** @type {number} */
    InterestPercent;
    /** @type {number} */
    InterestPercentDecimal;
    /** @type {number} */
    Apps;
}
export class LSW_OLifEResponse {
    /** @param {{ResponseStatus?:ResponseStatus,LSW_OLifE?:LSW_OLifE[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    ResponseStatus;
    /** @type {LSW_OLifE[]} */
    LSW_OLifE = [];
}
export class LSW_OLifE_AgentAggregateRequest {
    /** @param {{StartDate?:string,EndDate?:string,AgentID?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    StartDate;
    /** @type {string} */
    EndDate;
    /** @type {number} */
    AgentID;
}

JavaScript LSW_OLifE_AgentAggregateRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

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: 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>