Dispatch Document API

Get Documents by Listing ID

Get all of the available documents for the provided listing ID.

get
https://document-api.centraldispatch.com/dispatch-documents/id/listing/{listingId}

Path Parameters

listingIdstringrequired

The ID of the listing.

Example:42220470

Headers

Acceptstringrequired

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

OK. Successful request.

DocumentData

Details of a document.

dataobject

Details of the dispatch documents.

Show Child Parameters
get/dispatch-documents/id/listing/{listingId}
 
application/json

Get Dispatch Sheet PDF

Get the dispatch sheet PDF file for the provided dispatch ID.

get
https://document-api.centraldispatch.com/dispatch-documents/id/dispatch/{dispatchId}/dispatch-sheet

Path Parameters

dispatchIdstring(uuid)required

The ID of the dispatch.

Example:d159acc0-e89b-12d3-a456-426614174000

Headers

Acceptstringrequired

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+pdf.

Example:application/vnd.coxauto.v1+pdf

Response

application/pdf

OK. Successful request.

PdfFile

PdfFileobject

PDF File.

get/dispatch-documents/id/dispatch/{dispatchId}/dispatch-sheet
 
application/pdf

Get eBOL PDF

Get the Electronic Bill of Lading (eBOL) PDF file for the provided dispatch ID.

get
https://document-api.centraldispatch.com/dispatch-documents/id/dispatch/{dispatchId}/bill-of-lading

Path Parameters

dispatchIdstring(uuid)required

The ID of the dispatch.

Example:d159acc0-e89b-12d3-a456-426614174000

Headers

Acceptstringrequired

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+pdf.

Example:application/vnd.coxauto.v1+pdf

Response

application/pdf

OK. Successful request.

PdfFile

PdfFileobject

PDF File.

get/dispatch-documents/id/dispatch/{dispatchId}/bill-of-lading
 
application/pdf

Get Invoice PDF

Get the Invoice PDF file for the provided dispatch ID.

get
https://document-api.centraldispatch.com/dispatch-documents/id/dispatch/{dispatchId}/invoice

Path Parameters

dispatchIdstring(uuid)required

The ID of the dispatch.

Example:d159acc0-e89b-12d3-a456-426614174000

Headers

Acceptstringrequired

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+pdf.

Example:application/vnd.coxauto.v1+pdf

Response

application/pdf

OK. Successful request.

PdfFile

PdfFileobject

PDF File.

get/dispatch-documents/id/dispatch/{dispatchId}/invoice
 
application/pdf

Get eBOL URLs

Get URLs for the provided dispatches to access each Electronic Bill of Lading (eBOL) PDF file.

post
https://document-api.centraldispatch.com/dispatch-documents/ebol/batch

Headers

Content-Typestringrequired

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

An array of dispatch IDs or fully qualified dispatch URLs.

array[string]

Response

application/json

OK. Successful request.

ebolUrlResponseCollection

Details of the Electronic Bill of Lading (eBOL) URL response.

itemsarray[object]

Details of the Electronic Bill of Lading (eBOL).

Show Child Parameters
countinteger(int32)

The total count of resources in the collection.

>= 1

Example:1

post/dispatch-documents/ebol/batch

Body

[ "d159acc0-e89b-12d3-a456-426614174000", "157a16f0-503d-4256-ba60-a4876e8eb9bb" ]
 
application/json