GET | /api/vind2/openapi/jobs/{LoadId}/jobstatushistory | Gets the status history for the job of the specified LoadId |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
LoadId | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Changed | form | DateTime | No | |
Status | form | JobStatus | No | |
StatusFriendly | form | string | No | |
Notes | form | string | No | |
PositionAtStatus | form | Position | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Time | form | DateTime | No | |
Latitude | form | double | No | |
Longitude | form | double | No | |
Altitude | form | float | No | |
Heading | form | float | No | |
Speed | form | float | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/ProxyJobStatusHistoryItem HTTP/1.1
Host: vincarrier.cardeliverynetwork.com
Content-Type: text/csv
Content-Length: length
{"loadId":"String","changed":"\/Date(-62135596800000-0000)\/","status":"Quote","statusFriendly":"String","notes":"String","positionAtStatus":{"time":"\/Date(-62135596800000-0000)\/","latitude":0,"longitude":0,"altitude":0,"heading":0,"speed":0}}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {Unable to show example output for type 'IEnumerable`1' using the custom 'csv' filter}Cannot create an instance of an interface.