| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/AgentPromotion/{StartDate} | ||
|---|---|---|---|
| GET,OPTIONS | /v1/AgentPromotion/{StartDate}/{EndDate} |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StartDate | path | DateTime | No | |
| EndDate | path | DateTime | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| AgentPromotion | form | List<AgentPromotion> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AgentPromotionId | form | int | No | |
| AgentId | form | int | No | |
| FirstName | form | string | No | |
| LastName | form | string | No | |
| FullName | form | string | No | |
| PreviousLevel | form | decimal | No | |
| PreviousRank | form | string | No | |
| NewLevel | form | decimal | No | |
| NewRank | form | string | No | |
| CashFlow | form | decimal | No | |
| AppCount | form | int | No | |
| DateCreated | form | DateTime | No |
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/AgentPromotion/{StartDate} 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"}},"AgentPromotion":[{"AgentPromotionId":0,"AgentId":0,"FirstName":"String","LastName":"String","FullName":"String String","PreviousLevel":0,"PreviousRank":"String","NewLevel":0,"NewRank":"String","CashFlow":0,"AppCount":0,"DateCreated":"0001-01-01T00:00:00.0000000"}]}