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}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class LSW_OLifE_AgentAggregateRequest
    {
        public Date StartDate = null;
        public Date EndDate = null;
        public Integer AgentID = null;
        
        public Date getStartDate() { return StartDate; }
        public LSW_OLifE_AgentAggregateRequest setStartDate(Date value) { this.StartDate = value; return this; }
        public Date getEndDate() { return EndDate; }
        public LSW_OLifE_AgentAggregateRequest setEndDate(Date value) { this.EndDate = value; return this; }
        public Integer getAgentID() { return AgentID; }
        public LSW_OLifE_AgentAggregateRequest setAgentID(Integer value) { this.AgentID = value; return this; }
    }

    public static class LSW_OLifEResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<LSW_OLifE> LSW_OLifE = new ArrayList<LSW_OLifE>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public LSW_OLifEResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<LSW_OLifE> getLswOLifE() { return LSW_OLifE; }
        public LSW_OLifEResponse setLswOLifE(ArrayList<LSW_OLifE> value) { this.LSW_OLifE = value; return this; }
    }

    public static class LSW_OLifE
    {
        public Integer OLifeID = null;
        public String SourceInfo = null;
        public Date CreateDate = null;
        public Date TransExeDate = null;
        public String HoldingID = null;
        public String HoldingTypeCode = null;
        public String HoldingStatus = null;
        public Date AsOfDate = null;
        public String Policy_PolNumber = null;
        public String Policy_LineOfBusiness = null;
        public String Policy_ProductType = null;
        public String Policy_ProductCode = null;
        public String Policy_CarrierCode = null;
        public String Policy_PlanName = null;
        public String Policy_PolicyStatus = null;
        public String Policy_Jurisdiction = null;
        public Date Policy_StatusChangeDate = null;
        public String Policy_PaymentMode = null;
        public String Policy_PaymentModeTC = null;
        public BigDecimal Policy_PaymentAmt = null;
        public BigDecimal TotalPolicy_PaymentAmt = null;
        public String Policy_PaymentMethod = null;
        public BigDecimal Life_TargetPremAmt = null;
        public BigDecimal TotalLife_TargetPremAmt = null;
        public BigDecimal Life_FaceAmt = null;
        public BigDecimal TotalLife_FaceAmt = null;
        public String ApplicationInfo_TrackingID = null;
        public String ApplicationInfo_CWAAmt = null;
        public String TotalApplicationInfo_CWAAmt = null;
        public String ApplicationInfo_SubmissionType = null;
        public Date ApplicationInfo_HOPolicyMailDate = null;
        public String ApplicationInfo_HoUnderwriterName = null;
        public Date ApplicationInfo_PlacementEndDate = null;
        public String ApplicationInfo_NBContactName = null;
        public Date ApplicationInfo_SignedDate = null;
        public String Client = null;
        public Integer AgentID = null;
        public String AgentNM = null;
        public String Agent1Percent = null;
        public String AgentNM2 = null;
        public String Agent2Percent = null;
        public String AgentNM3 = null;
        public String Agent3Percent = null;
        public String AgentNM4 = null;
        public String Agent4Percent = null;
        public BigDecimal QualifyingLifePremium = null;
        public BigDecimal TotalQualifyingLifePremium = null;
        public BigDecimal AnnTransfer = null;
        public BigDecimal TotalAnnTransfer = null;
        public BigDecimal AnnFlow = null;
        public BigDecimal TotalAnnFlow = null;
        public BigDecimal Points = null;
        public BigDecimal Life_Expected = null;
        public BigDecimal TotalLife_Expected = null;
        public String FullName = null;
        public Integer InterestPercent = null;
        public BigDecimal InterestPercentDecimal = null;
        public Integer Apps = null;
        
        public Integer getOLifeID() { return OLifeID; }
        public LSW_OLifE setOLifeID(Integer value) { this.OLifeID = value; return this; }
        public String getSourceInfo() { return SourceInfo; }
        public LSW_OLifE setSourceInfo(String value) { this.SourceInfo = value; return this; }
        public Date getCreateDate() { return CreateDate; }
        public LSW_OLifE setCreateDate(Date value) { this.CreateDate = value; return this; }
        public Date getTransExeDate() { return TransExeDate; }
        public LSW_OLifE setTransExeDate(Date value) { this.TransExeDate = value; return this; }
        public String getHoldingID() { return HoldingID; }
        public LSW_OLifE setHoldingID(String value) { this.HoldingID = value; return this; }
        public String getHoldingTypeCode() { return HoldingTypeCode; }
        public LSW_OLifE setHoldingTypeCode(String value) { this.HoldingTypeCode = value; return this; }
        public String getHoldingStatus() { return HoldingStatus; }
        public LSW_OLifE setHoldingStatus(String value) { this.HoldingStatus = value; return this; }
        public Date getAsOfDate() { return AsOfDate; }
        public LSW_OLifE setAsOfDate(Date value) { this.AsOfDate = value; return this; }
        public String getPolicyPolNumber() { return Policy_PolNumber; }
        public LSW_OLifE setPolicyPolNumber(String value) { this.Policy_PolNumber = value; return this; }
        public String getPolicyLineOfBusiness() { return Policy_LineOfBusiness; }
        public LSW_OLifE setPolicyLineOfBusiness(String value) { this.Policy_LineOfBusiness = value; return this; }
        public String getPolicyProductType() { return Policy_ProductType; }
        public LSW_OLifE setPolicyProductType(String value) { this.Policy_ProductType = value; return this; }
        public String getPolicyProductCode() { return Policy_ProductCode; }
        public LSW_OLifE setPolicyProductCode(String value) { this.Policy_ProductCode = value; return this; }
        public String getPolicyCarrierCode() { return Policy_CarrierCode; }
        public LSW_OLifE setPolicyCarrierCode(String value) { this.Policy_CarrierCode = value; return this; }
        public String getPolicyPlanName() { return Policy_PlanName; }
        public LSW_OLifE setPolicyPlanName(String value) { this.Policy_PlanName = value; return this; }
        public String getPolicyPolicyStatus() { return Policy_PolicyStatus; }
        public LSW_OLifE setPolicyPolicyStatus(String value) { this.Policy_PolicyStatus = value; return this; }
        public String getPolicyJurisdiction() { return Policy_Jurisdiction; }
        public LSW_OLifE setPolicyJurisdiction(String value) { this.Policy_Jurisdiction = value; return this; }
        public Date getPolicyStatusChangeDate() { return Policy_StatusChangeDate; }
        public LSW_OLifE setPolicyStatusChangeDate(Date value) { this.Policy_StatusChangeDate = value; return this; }
        public String getPolicyPaymentMode() { return Policy_PaymentMode; }
        public LSW_OLifE setPolicyPaymentMode(String value) { this.Policy_PaymentMode = value; return this; }
        public String getPolicyPaymentModeTC() { return Policy_PaymentModeTC; }
        public LSW_OLifE setPolicyPaymentModeTC(String value) { this.Policy_PaymentModeTC = value; return this; }
        public BigDecimal getPolicyPaymentAmt() { return Policy_PaymentAmt; }
        public LSW_OLifE setPolicyPaymentAmt(BigDecimal value) { this.Policy_PaymentAmt = value; return this; }
        public BigDecimal getTotalPolicyPaymentAmt() { return TotalPolicy_PaymentAmt; }
        public LSW_OLifE setTotalPolicyPaymentAmt(BigDecimal value) { this.TotalPolicy_PaymentAmt = value; return this; }
        public String getPolicyPaymentMethod() { return Policy_PaymentMethod; }
        public LSW_OLifE setPolicyPaymentMethod(String value) { this.Policy_PaymentMethod = value; return this; }
        public BigDecimal getLifeTargetPremAmt() { return Life_TargetPremAmt; }
        public LSW_OLifE setLifeTargetPremAmt(BigDecimal value) { this.Life_TargetPremAmt = value; return this; }
        public BigDecimal getTotalLifeTargetPremAmt() { return TotalLife_TargetPremAmt; }
        public LSW_OLifE setTotalLifeTargetPremAmt(BigDecimal value) { this.TotalLife_TargetPremAmt = value; return this; }
        public BigDecimal getLifeFaceAmt() { return Life_FaceAmt; }
        public LSW_OLifE setLifeFaceAmt(BigDecimal value) { this.Life_FaceAmt = value; return this; }
        public BigDecimal getTotalLifeFaceAmt() { return TotalLife_FaceAmt; }
        public LSW_OLifE setTotalLifeFaceAmt(BigDecimal value) { this.TotalLife_FaceAmt = value; return this; }
        public String getApplicationInfoTrackingID() { return ApplicationInfo_TrackingID; }
        public LSW_OLifE setApplicationInfoTrackingID(String value) { this.ApplicationInfo_TrackingID = value; return this; }
        public String getApplicationInfoCwaAmt() { return ApplicationInfo_CWAAmt; }
        public LSW_OLifE setApplicationInfoCwaAmt(String value) { this.ApplicationInfo_CWAAmt = value; return this; }
        public String getTotalApplicationInfoCwaAmt() { return TotalApplicationInfo_CWAAmt; }
        public LSW_OLifE setTotalApplicationInfoCwaAmt(String value) { this.TotalApplicationInfo_CWAAmt = value; return this; }
        public String getApplicationInfoSubmissionType() { return ApplicationInfo_SubmissionType; }
        public LSW_OLifE setApplicationInfoSubmissionType(String value) { this.ApplicationInfo_SubmissionType = value; return this; }
        public Date getApplicationInfoHoPolicyMailDate() { return ApplicationInfo_HOPolicyMailDate; }
        public LSW_OLifE setApplicationInfoHoPolicyMailDate(Date value) { this.ApplicationInfo_HOPolicyMailDate = value; return this; }
        public String getApplicationInfoHoUnderwriterName() { return ApplicationInfo_HoUnderwriterName; }
        public LSW_OLifE setApplicationInfoHoUnderwriterName(String value) { this.ApplicationInfo_HoUnderwriterName = value; return this; }
        public Date getApplicationInfoPlacementEndDate() { return ApplicationInfo_PlacementEndDate; }
        public LSW_OLifE setApplicationInfoPlacementEndDate(Date value) { this.ApplicationInfo_PlacementEndDate = value; return this; }
        public String getApplicationInfoNbContactName() { return ApplicationInfo_NBContactName; }
        public LSW_OLifE setApplicationInfoNbContactName(String value) { this.ApplicationInfo_NBContactName = value; return this; }
        public Date getApplicationInfoSignedDate() { return ApplicationInfo_SignedDate; }
        public LSW_OLifE setApplicationInfoSignedDate(Date value) { this.ApplicationInfo_SignedDate = value; return this; }
        public String getClient() { return Client; }
        public LSW_OLifE setClient(String value) { this.Client = value; return this; }
        public Integer getAgentID() { return AgentID; }
        public LSW_OLifE setAgentID(Integer value) { this.AgentID = value; return this; }
        public String getAgentNM() { return AgentNM; }
        public LSW_OLifE setAgentNM(String value) { this.AgentNM = value; return this; }
        public String getAgent1Percent() { return Agent1Percent; }
        public LSW_OLifE setAgent1Percent(String value) { this.Agent1Percent = value; return this; }
        public String getAgentNM2() { return AgentNM2; }
        public LSW_OLifE setAgentNM2(String value) { this.AgentNM2 = value; return this; }
        public String getAgent2Percent() { return Agent2Percent; }
        public LSW_OLifE setAgent2Percent(String value) { this.Agent2Percent = value; return this; }
        public String getAgentNM3() { return AgentNM3; }
        public LSW_OLifE setAgentNM3(String value) { this.AgentNM3 = value; return this; }
        public String getAgent3Percent() { return Agent3Percent; }
        public LSW_OLifE setAgent3Percent(String value) { this.Agent3Percent = value; return this; }
        public String getAgentNM4() { return AgentNM4; }
        public LSW_OLifE setAgentNM4(String value) { this.AgentNM4 = value; return this; }
        public String getAgent4Percent() { return Agent4Percent; }
        public LSW_OLifE setAgent4Percent(String value) { this.Agent4Percent = value; return this; }
        public BigDecimal getQualifyingLifePremium() { return QualifyingLifePremium; }
        public LSW_OLifE setQualifyingLifePremium(BigDecimal value) { this.QualifyingLifePremium = value; return this; }
        public BigDecimal getTotalQualifyingLifePremium() { return TotalQualifyingLifePremium; }
        public LSW_OLifE setTotalQualifyingLifePremium(BigDecimal value) { this.TotalQualifyingLifePremium = value; return this; }
        public BigDecimal getAnnTransfer() { return AnnTransfer; }
        public LSW_OLifE setAnnTransfer(BigDecimal value) { this.AnnTransfer = value; return this; }
        public BigDecimal getTotalAnnTransfer() { return TotalAnnTransfer; }
        public LSW_OLifE setTotalAnnTransfer(BigDecimal value) { this.TotalAnnTransfer = value; return this; }
        public BigDecimal getAnnFlow() { return AnnFlow; }
        public LSW_OLifE setAnnFlow(BigDecimal value) { this.AnnFlow = value; return this; }
        public BigDecimal getTotalAnnFlow() { return TotalAnnFlow; }
        public LSW_OLifE setTotalAnnFlow(BigDecimal value) { this.TotalAnnFlow = value; return this; }
        public BigDecimal getPoints() { return Points; }
        public LSW_OLifE setPoints(BigDecimal value) { this.Points = value; return this; }
        public BigDecimal getLifeExpected() { return Life_Expected; }
        public LSW_OLifE setLifeExpected(BigDecimal value) { this.Life_Expected = value; return this; }
        public BigDecimal getTotalLifeExpected() { return TotalLife_Expected; }
        public LSW_OLifE setTotalLifeExpected(BigDecimal value) { this.TotalLife_Expected = value; return this; }
        public String getFullName() { return FullName; }
        public LSW_OLifE setFullName(String value) { this.FullName = value; return this; }
        public Integer getInterestPercent() { return InterestPercent; }
        public LSW_OLifE setInterestPercent(Integer value) { this.InterestPercent = value; return this; }
        public BigDecimal getInterestPercentDecimal() { return InterestPercentDecimal; }
        public LSW_OLifE setInterestPercentDecimal(BigDecimal value) { this.InterestPercentDecimal = value; return this; }
        public Integer getApps() { return Apps; }
        public LSW_OLifE setApps(Integer value) { this.Apps = value; return this; }
    }

}

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