Returns a JSON of the Template
curl -i https://api.passdock.com/api/v1/templates/106?api_token=75778a65dfdae310a107d2ef0bbd3780
{ "auxiliary": [ { "changeMessage": "Departure time changed to %@", "dateStyle": "PKDateStyleMedium", "key": "departure", "label": "DEPARTURE", "timeStyle": "PKDateStyleMedium", "value": "" } ], "back": [ { "changeMessage": "", "key": "passport", "label": "PASSPORT", "value": "" } ], "bar": { "altText": "", "format": "PKBarcodeFormatQR", "message": "", "messageEncoding": "iso-8859-1" }, "created_at": "2012-10-18T09:03:46Z", "custom": [ { "transitType": "PKTransitTypeAir" } ], "header": [ { "changeMessage": "Gate changed to %@", "key": "gate", "label": "GATE", "value": "" } ], "id": 106, "primary": [ { "changeMessage": "Departure changed in %@", "key": "from", "label": "FROM", "value": "" }, { "changeMessage": "Destination changed to %@", "key": "to", "label": "TO", "value": "" } ], "relevance": { "relevantDate": "" }, "secondary": [ { "changeMessage": "Passenger name changed to %@", "key": "name", "label": "NAME", "value": "" } ], "title": "Passdock Airways", "updated_at": "2012-10-18T09:13:47Z", "visual": { "backgroundColor": "rgb(237,184,61)", "foregroundColor": "rgb(255,255,255)", "labelColor": "", "logoText": "Passdock Airways" } }
Param name | Description |
---|---|
id required |
Template ID Value: Must be Fixnum |
api_token required |
Your Passdock API key Value: Must be String |