DOWNLOAD DELIVERY / COLLECTION POD PHOTO IMAGE FILE

DELIVERY

URL:

https://app.detrack.com/api/v1/deliveries/photo_1.json

URL:

https://app.detrack.com/api/v1/deliveries/photo_2.json

URL:

https://app.detrack.com/api/v1/deliveries/photo_3.json

URL:

https://app.detrack.com/api/v1/deliveries/photo_4.json

URL:

https://app.detrack.com/api/v1/deliveries/photo_5.json

COLLECTION

URL:

https://app.detrack.com/api/v1/collections/photo_1.json

URL:

https://app.detrack.com/api/v1/collections/photo_2.json

URL:

https://app.detrack.com/api/v1/collections/photo_3.json

URL:

https://app.detrack.com/api/v1/collections/photo_4.json

URL:

https://app.detrack.com/api/v1/collections/photo_5.json

Field

Description

date

The delivery date. Format: YYYY-MM-DD e.g. 2014-02-28. Required field.

do

The D.O. #. The D.O. # of the delivery to download POD photo 1 image file for. Required field.

HTTP POST RESPONSE (FILE DOWNLOAD OR HTTP 404 ERROR)

If a POD photo image file is available for the delivery / collection, the file will be returned for binary transfer. If no POD image file is available, then a HTTP 404 error will be returned.

SAMPLE REQUEST JSON

{
   "date":"2014-02-13",
   "do":"DO140213001"
}
Did this answer your question?