Download Delivery POD Photo 3 Image File

12. DOWNLOAD DELIVERY POD PHOTO 3 IMAGE FILE

URL: https://app.detrack.com/api/v1/deliveries/photo_3.json
HTTP POST REQUEST

Note: the request structure below is for Method #1: Name/Value Pair (NVP) + JSON String. For Method #2: Custom Header + JSON Body, please refer to the json parameter only.

Parameter Description
key Your API key. You can obtain this from your dashboard.
json The JSON string containing the date and D.O. # for which you wish to download POD photo 3 image file. It should contain the following:

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 3 image file for. Required field.
HTTP POST RESPONSE (FILE DOWNLOAD OR HTTP 404 ERROR)

If a POD photo 3 image file is available for the delivery, 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"
}