| GET,OPTIONS | /v1/dispatch/track/{Token}/json |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Token | path | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Kind | form | string | No | |
| Code | form | string | No | |
| What | form | string | No | |
| FromLoc | form | string | No | |
| ToLoc | form | string | No | |
| Bags | form | int? | No | |
| Fare | form | decimal? | No | |
| PayMode | form | string | No | |
| CardLast4 | form | string | No | |
| Charged | form | bool | No | |
| Stage | form | string | No | |
| Headline | form | string | No | |
| Sub | form | string | No | |
| IsClosed | form | bool | No | |
| Eta | form | string | No | |
| DriverName | form | string | No | |
| CustomerName | form | string | No | |
| Steps | form | List<DispatchTrackStepView> | No | |
| Expired | form | bool | No | |
| Invalid | form | bool | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Name | form | string | No | |
| At | form | DateTime? | No | |
| Done | form | bool | No | |
| Current | form | bool | 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/dispatch/track/{Token}/json HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Kind":"String","Code":"String","What":"String","FromLoc":"String","ToLoc":"String","Bags":0,"Fare":0,"PayMode":"String","CardLast4":"String","Charged":false,"Stage":"String","Headline":"String","Sub":"String","IsClosed":false,"Eta":"String","DriverName":"String","CustomerName":"String","Steps":[{"Name":"String","At":"0001-01-01T00:00:00.0000000","Done":false,"Current":false}],"Expired":false,"Invalid":false,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}