| GET,OPTIONS | /v1/worker/dispatch/od/pay |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Rows | form | List<CourierDriverPayRow> | No | |
| Total | form | decimal | No | |
| Available | form | bool | No | |
| ServerUtc | form | DateTime | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DispatchLoadID | form | int | No | |
| Code | form | string | No | |
| Kind | form | string | No | |
| OrderCode | form | string | No | |
| RunCode | form | string | No | |
| QtyText | form | string | No | |
| SourceLabel | form | string | No | |
| DestinationLabel | form | string | No | |
| Status | form | string | No | |
| Pay | form | decimal? | No | |
| OpenedUtc | form | DateTime? | No | |
| ClosedUtc | form | DateTime? | No | |
| Lines | form | List<CourierPayLineView> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| DispatchLoadID | form | int | No | |
| Kind | form | string | No | |
| Label | form | string | No | |
| Qty | form | decimal? | No | |
| Rate | form | decimal? | No | |
| Amount | form | decimal | 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/worker/dispatch/od/pay HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Rows":[{"DispatchLoadID":0,"Code":"String","Kind":"String","OrderCode":"String","RunCode":"String","QtyText":"String","SourceLabel":"String","DestinationLabel":"String","Status":"String","Pay":0,"OpenedUtc":"0001-01-01T00:00:00.0000000","ClosedUtc":"0001-01-01T00:00:00.0000000","Lines":[{"DispatchLoadID":0,"Kind":"String","Label":"String","Qty":0,"Rate":0,"Amount":0}]}],"Total":0,"Available":false,"ServerUtc":"0001-01-01T00:00:00.0000000","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}