Get Vehicle's Last Location by Vehicle ID
Get the latitude/longitude position of the latest vehicle location by vehicle ID.
📝 Important Notes
- Tracking data is only available if the vehicle was inspected and marked
PICKED_UPusing the Central Dispatch mobile application. - Location tracking must be enabled on the device used to perform the pick up inspection.
- This location may be slightly shifted to protect the privacy of the carrier.
Path Parameters
The ID of the vehicle.
Example:b331c130-e89b-12d3-a456-426614174000
Headers
The major version of the API to make a request against. This is a custom MIME type that contains vnd.coxauto.v[#]+. For example, to request a resource from version 1.x.x of an API, the Accept header should be set to application/vnd.coxauto.v1+json.
Example:application/vnd.coxauto.v1+json
Response
application/json
Response
OK. Successful request.
VehicleLocationResponse
Details of a vehicle’s location.
The fully qualified URL of the dispatch.
Example:https://fulfillment-api.centraldispatch.com/api/fulfillments/id/d159acc0-e89b-12d3-a456-426614174000
The ID of the vehicle.
Example:b331c130-e89b-12d3-a456-426614174000
The ID of the dispatch.
Example:d159acc0-e89b-12d3-a456-426614174000
The Central Dispatch user ID.
Example:d71b5750-e89b-12d3-a456-426614174000
The vehicle tracking device ID.
Example:2539f4b4-d3d6-45db-8df3-7ba768caba9b
The event type. This list is not exhaustive and additional values may be added at any time.
Allowed values:PICKED_UPIN_TRANSITDELIVERED
Example:IN_TRANSIT
The location ID of the vehicle’s last location.
Example:3fde6068-5fa2-4ae4-af16-06d65fc87dc9
The latitude of the location.
Example:33.81228788622535
The longitude of the location.
Example:-117.91836265987132
The date and time of the vehicle’s last location, in UTC/ISO 8601 format.
Example:2024-10-15T00:00:00Z
Authentication
Path Parameters
Headers
Get Vehicle's Last Location by Dispatch ID
Get the latitude/longitude position of the latest vehicle location by dispatch ID.
📝 Important Notes
- Tracking data is only available if the vehicle was inspected and marked
PICKED_UPusing the Central Dispatch mobile application. - Location tracking must be enabled on the device used to perform the pick up inspection.
- This location may be slightly shifted to protect the privacy of the carrier.
Path Parameters
The ID of the dispatch.
Example:d159acc0-e89b-12d3-a456-426614174000
Headers
The major version of the API to make a request against. This is a custom MIME type that contains vnd.coxauto.v[#]+. For example, to request a resource from version 1.x.x of an API, the Accept header should be set to application/vnd.coxauto.v1+json.
Example:application/vnd.coxauto.v1+json
Response
application/json
Response
OK. Successful request.
VehicleLocationResponse
Details of a vehicle’s location.
The fully qualified URL of the dispatch.
Example:https://fulfillment-api.centraldispatch.com/api/fulfillments/id/d159acc0-e89b-12d3-a456-426614174000
The ID of the vehicle.
Example:b331c130-e89b-12d3-a456-426614174000
The ID of the dispatch.
Example:d159acc0-e89b-12d3-a456-426614174000
The Central Dispatch user ID.
Example:d71b5750-e89b-12d3-a456-426614174000
The vehicle tracking device ID.
Example:2539f4b4-d3d6-45db-8df3-7ba768caba9b
The event type. This list is not exhaustive and additional values may be added at any time.
Allowed values:PICKED_UPIN_TRANSITDELIVERED
Example:IN_TRANSIT
The location ID of the vehicle’s last location.
Example:3fde6068-5fa2-4ae4-af16-06d65fc87dc9
The latitude of the location.
Example:33.81228788622535
The longitude of the location.
Example:-117.91836265987132
The date and time of the vehicle’s last location, in UTC/ISO 8601 format.
Example:2024-10-15T00:00:00Z
Authentication
Path Parameters
Headers
Update Dispatch Payment Status
Update the payment status of a dispatch.
📝 Important Notes
- The shipper and carrier each have their own separate payment status that is tracked independently.
- Payment status can only be updated for dispatches in
PENDING_DELIVERY,DELIVERED,CANCELED, orARCHIVEDstatus. - Requires
adminorownerrole permissions.
Path Parameters
The ID of the dispatch.
Example:d159acc0-e89b-12d3-a456-426614174000
Headers
The major version of the API to make a request against. This is a custom MIME type that contains vnd.coxauto.v[#]+. For example, to request a resource from version 1.x.x of an API, the Content-Type header should be set to application/vnd.coxauto.v1+json.
Example:application/vnd.coxauto.v1+json
Body
application/json
Body
UpdatePaymentStatusRequest
UpdatePaymentStatusRequest
Details of dispatch payment status.
The status of the payment of the dispatch. Values: UNPAID, INVOICED, PARTIALLY_PAID, FULLY_PAID. Set to null to remove status.
Example:PARTIALLY_PAID
Response
Response
No Content. Successful request.
Authentication
Path Parameters
Headers
Body
Get Date Change Reasons
Get a reference list of supported date change reasons.
Headers
The major version of the API to make a request against. This is a custom MIME type that contains vnd.coxauto.v[#]+. For example, to request a resource from version 1.x.x of an API, the Accept header should be set to application/vnd.coxauto.v1+json.
Example:application/vnd.coxauto.v1+json
Response
application/json
Response
OK. Successful request.
DateChangeReasonCollection
Details of a collection of items with ID and Name pairs.
Details of the date change reason.
Show Child Parameters
Authentication
Headers
Get Cancellation Reasons
Get a reference list of supported load cancellation reasons.
Query Parameters
The Central Dispatch marketplace ID.
Example:10000
Headers
The major version of the API to make a request against. This is a custom MIME type that contains vnd.coxauto.v[#]+. For example, to request a resource from version 1.x.x of an API, the Accept header should be set to application/vnd.coxauto.v1+json.
Example:application/vnd.coxauto.v1+json
Response
application/json
Response
OK. Successful request.
CancelReasonCollection
Details of dispatch cancel reasons.
Details of cancel reasons.