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 .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/AgentAggregate/{StartDate}/{EndDate}/{AgentID} 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
		}
	]
}