Download Collection POD Photo 3 Image File

12. DOWNLOAD COLLECTION POD PHOTO 3 IMAGE FILE

URL: https://app.detrack.com/api/v1/collections/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 collection date. Format: YYYY-MM-DD e.g. 2014-02-28. Required field.
do The D.O. #. The D.O. # of the collection 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 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"
}