| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/CommissionReport/{StartDate}/{EndDate} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StartDate | path | DateTime | No | |
| EndDate | path | DateTime | No | |
| ShowProcessed | query | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| ReportData | form | List<CommissionRecord> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| DateCreated | form | DateTime | No | |
| AgentNumber | form | string | No | |
| AgentName | form | string | No | |
| PolicyNumber | form | string | No | |
| InsuredAnnuitant | form | string | No | |
| ProcessDate | form | DateTime | No | |
| Premium | form | decimal | No | |
| GrossCommission | form | decimal | No | |
| CommRate | form | double | No | |
| Part | form | double | No | |
| PaymentDate | form | DateTime | No | |
| PolicyType | form | string | No | |
| Company | form | string | No | |
| AgentId | form | int | No | |
| DateProcessed | form | DateTime | No | |
| CommissionBatchId | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/CommissionReport/{StartDate}/{EndDate} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ReportData":[{"Id":0,"DateCreated":"0001-01-01T00:00:00.0000000","AgentNumber":"String","AgentName":"String","PolicyNumber":"String","InsuredAnnuitant":"String","ProcessDate":"0001-01-01T00:00:00.0000000","Premium":0,"GrossCommission":0,"CommRate":0,"Part":0,"PaymentDate":"0001-01-01T00:00:00.0000000","PolicyType":"String","Company":"String","AgentId":0,"DateProcessed":"0001-01-01T00:00:00.0000000","CommissionBatchId":0}]}