Download Delivery POD Signature Image File

9. DOWNLOAD DELIVERY POD SIGNATURE IMAGE FILE

URL: https://app.detrack.com/api/v1/deliveries/signature.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 signature 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 signature image file for. Required field.
HTTP POST RESPONSE (FILE DOWNLOAD OR HTTP 404 ERROR)

If a POD signature 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"
}