| Requires any of the roles: | Agent, Administrator |
| POST,OPTIONS | /v1/AddCommissionAdjustment |
|---|
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 AddCommissionAdjustmentRequest
Public Overridable Property CommAdjustment As CommAdjustment
End Class
Public Partial Class AddCommissionAdjustmentResponse
Public Overridable Property ResponseStatus As ResponseStatus
End Class
Public Partial Class CommAdjustment
Public Overridable Property AgentId As Integer
Public Overridable Property AgentName As String
Public Overridable Property PolicyNumber As String
Public Overridable Property InsuredAnnuitant As String
Public Overridable Property ProcessDate As Date
Public Overridable Property Premium As String
Public Overridable Property GrossCommission As Decimal
Public Overridable Property CommRate As String
Public Overridable Property part As String
Public Overridable Property Amount As Decimal
Public Overridable Property PaymentDate As Date
Public Overridable Property PolicyType As String
Public Overridable Property Company As String
End Class
End Namespace
End Namespace
VB.NET AddCommissionAdjustmentRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/AddCommissionAdjustment HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"CommAdjustment":{"AgentId":0,"AgentName":"String","PolicyNumber":"String","InsuredAnnuitant":"String","ProcessDate":"0001-01-01T00:00:00.0000000","Premium":"String","GrossCommission":0,"CommRate":"String","part":"String","Amount":0,"PaymentDate":"0001-01-01T00:00:00.0000000","PolicyType":"String","Company":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}