Trendsic Platform Service

<back to all web services

DispatchTrackRequest

The following routes are available for this service:
GET,OPTIONS/v1/dispatch/track/{Token}/json
DispatchTrackRequest Parameters:
NameParameterData TypeRequiredDescription
TokenpathstringNo
DispatchTrackResponse Parameters:
NameParameterData TypeRequiredDescription
KindformstringNo
CodeformstringNo
WhatformstringNo
FromLocformstringNo
ToLocformstringNo
Bagsformint?No
Fareformdecimal?No
PayModeformstringNo
CardLast4formstringNo
ChargedformboolNo
StageformstringNo
HeadlineformstringNo
SubformstringNo
IsClosedformboolNo
EtaformstringNo
DriverNameformstringNo
CustomerNameformstringNo
StepsformList<DispatchTrackStepView>No
ExpiredformboolNo
InvalidformboolNo
ResponseStatusformResponseStatusNo
DispatchTrackStepView Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
AtformDateTime?No
DoneformboolNo
CurrentformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + 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"}}}