| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/SecuritiesSummary/DateRange/{ParamStartDate}/{ParamEndDate}/{AgentID} | ||
|---|---|---|---|
| GET,OPTIONS | /v1/SecuritiesSummary/DateRange/{ParamStartDate}/{ParamEndDate} |
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 ListingSummary
Public Overridable Property AgentLevel As Decimal
Public Overridable Property AgentPoints As String
Public Overridable Property AgentPolicyNumbers As String
Public Overridable Property AgentYTDTotal As Decimal
Public Overridable Property AgentRTotal As Decimal
Public Overridable Property AgentOverallTotal As Decimal
Public Overridable Property AgentNextLevelPrerequired As Decimal
Public Overridable Property AgentCurrentYTDTotal As Decimal
Public Overridable Property AgentCurrentRunningTotal As Decimal
Public Overridable Property AgentLevelCalculatedFromListingPart As Decimal
Public Overridable Property AgentRequiredBeforeNextLevel As Decimal
Public Overridable Property AgentAdjustmentTotal As Decimal
Public Overridable Property AgentCommissionSubtotal As Decimal
Public Overridable Property AgentBalanceForward As Decimal
End Class
Public Partial Class ListingSummaryResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property ListingSummary As List(Of ListingSummary) = New List(Of ListingSummary)
End Class
Public Partial Class SecuritiesListingSummaryRequest
Public Overridable Property ListingSummary As List(Of ListingSummary) = New List(Of ListingSummary)
Public Overridable Property AgentID As Integer
Public Overridable Property ParamStartDate As Date
Public Overridable Property ParamEndDate As Date
End Class
End Namespace
End Namespace
VB.NET SecuritiesListingSummaryRequest 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/SecuritiesSummary/DateRange/{ParamStartDate}/{ParamEndDate}/{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"}},"ListingSummary":[{"AgentLevel":0,"AgentPoints":"String","AgentPolicyNumbers":"String","AgentYTDTotal":0,"AgentRTotal":0,"AgentOverallTotal":0,"AgentNextLevelPrerequired":0,"AgentCurrentYTDTotal":0,"AgentCurrentRunningTotal":0,"AgentLevelCalculatedFromListingPart":0,"AgentRequiredBeforeNextLevel":0,"AgentAdjustmentTotal":0,"AgentCommissionSubtotal":0,"AgentBalanceForward":0}]}