Trendsic Platform Service

<back to all web services

CourierDriverVehicleRequest

Requires Authentication
The following routes are available for this service:
GET,PUT,OPTIONS/v1/worker/dispatch/od/vehicle
CourierDriverVehicleRequest Parameters:
NameParameterData TypeRequiredDescription
ClassCodebodystringNo
CourierDriverVehicleResponse Parameters:
NameParameterData TypeRequiredDescription
EquipmentIDformintNo
UnitNumberformstringNo
IsOwnformboolNo
SetByOfficeformboolNo
ClassCodeformstringNo
ClassNameformstringNo
ClassNameEsformstringNo
Capformdecimal?No
UnitOneformstringNo
UnitManyformstringNo
UnitOneEsformstringNo
UnitManyEsformstringNo
ClassesformList<CourierVehicleClassView>No
SavedformboolNo
SavedTextformstringNo
SavedTextEsformstringNo
MessageEsformstringNo
ResponseStatusformResponseStatusNo
CourierVehicleClassView Parameters:
NameParameterData TypeRequiredDescription
CodeformstringNo
NameformstringNo
NameEsformstringNo
HintformstringNo
HintEsformstringNo
CapformdecimalNo

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.

PUT /v1/worker/dispatch/od/vehicle HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"ClassCode":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"EquipmentID":0,"UnitNumber":"String","IsOwn":false,"SetByOffice":false,"ClassCode":"String","ClassName":"String","ClassNameEs":"String","Cap":0,"UnitOne":"String","UnitMany":"String","UnitOneEs":"String","UnitManyEs":"String","Classes":[{"Code":"String","Name":"String","NameEs":"String","Hint":"String","HintEs":"String","Cap":0}],"Saved":false,"SavedText":"String","SavedTextEs":"String","MessageEs":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}