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}
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal

Namespace Global

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class LSW_OLifE
            Public Overridable Property OLifeID As Integer
            Public Overridable Property SourceInfo As String
            Public Overridable Property CreateDate As Date
            Public Overridable Property TransExeDate As Date
            Public Overridable Property HoldingID As String
            Public Overridable Property HoldingTypeCode As String
            Public Overridable Property HoldingStatus As String
            Public Overridable Property AsOfDate As Date
            Public Overridable Property Policy_PolNumber As String
            Public Overridable Property Policy_LineOfBusiness As String
            Public Overridable Property Policy_ProductType As String
            Public Overridable Property Policy_ProductCode As String
            Public Overridable Property Policy_CarrierCode As String
            Public Overridable Property Policy_PlanName As String
            Public Overridable Property Policy_PolicyStatus As String
            Public Overridable Property Policy_Jurisdiction As String
            Public Overridable Property Policy_StatusChangeDate As Date
            Public Overridable Property Policy_PaymentMode As String
            Public Overridable Property Policy_PaymentModeTC As String
            Public Overridable Property Policy_PaymentAmt As Decimal
            Public Overridable Property TotalPolicy_PaymentAmt As Decimal
            Public Overridable Property Policy_PaymentMethod As String
            Public Overridable Property Life_TargetPremAmt As Decimal
            Public Overridable Property TotalLife_TargetPremAmt As Decimal
            Public Overridable Property Life_FaceAmt As Decimal
            Public Overridable Property TotalLife_FaceAmt As Decimal
            Public Overridable Property ApplicationInfo_TrackingID As String
            Public Overridable Property ApplicationInfo_CWAAmt As String
            Public Overridable Property TotalApplicationInfo_CWAAmt As String
            Public Overridable Property ApplicationInfo_SubmissionType As String
            Public Overridable Property ApplicationInfo_HOPolicyMailDate As Date
            Public Overridable Property ApplicationInfo_HoUnderwriterName As String
            Public Overridable Property ApplicationInfo_PlacementEndDate As Date
            Public Overridable Property ApplicationInfo_NBContactName As String
            Public Overridable Property ApplicationInfo_SignedDate As Date
            Public Overridable Property Client As String
            Public Overridable Property AgentID As Integer
            Public Overridable Property AgentNM As String
            Public Overridable Property Agent1Percent As String
            Public Overridable Property AgentNM2 As String
            Public Overridable Property Agent2Percent As String
            Public Overridable Property AgentNM3 As String
            Public Overridable Property Agent3Percent As String
            Public Overridable Property AgentNM4 As String
            Public Overridable Property Agent4Percent As String
            Public Overridable Property QualifyingLifePremium As Decimal
            Public Overridable Property TotalQualifyingLifePremium As Decimal
            Public Overridable Property AnnTransfer As Decimal
            Public Overridable Property TotalAnnTransfer As Decimal
            Public Overridable Property AnnFlow As Decimal
            Public Overridable Property TotalAnnFlow As Decimal
            Public Overridable Property Points As Decimal
            Public Overridable Property Life_Expected As Decimal
            Public Overridable Property TotalLife_Expected As Decimal
            Public Overridable Property FullName As String
            Public Overridable Property InterestPercent As Integer
            Public Overridable Property InterestPercentDecimal As Decimal
            Public Overridable Property Apps As Integer
        End Class

        Public Partial Class LSW_OLifE_AgentAggregateRequest
            Public Overridable Property StartDate As Date
            Public Overridable Property EndDate As Date
            Public Overridable Property AgentID As Integer
        End Class

        Public Partial Class LSW_OLifEResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property LSW_OLifE As List(Of LSW_OLifE) = New List(Of LSW_OLifE)
        End Class
    End Namespace
End Namespace

VB.NET LSW_OLifE_AgentAggregateRequest DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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/json
HTTP/1.1 200 OK
Content-Type: application/json
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}]}