Returns all analytics for a Template

Examples

curl -i https://api.passdock.com/api/v1/analytics/templates/1?api_token=75778a65dfdae310a107d2ef0bbd3780&from_date=1343071938&to_date=1395218632

Supported Formats

json

Success Response:

200 Good Request
              
    {
      "from_date":"2012-07-23T19:32:18Z",
      "to_date":"2014-03-19T08:43:52Z",
      "passes_count":2382,
      "redeemed_count":2000,
      "installed_count":2000
    }
          

Errors

401 Unauthorized

Params

Param name Description
id
required

Templates ID


Value: Must be String
api_token
required

Your Passdock API key


Value: Must be String
from_date
optional

Starting date/time (expressed as EPOCH time in UTC)


Value: Must be Integer
to_date
optional

Ending date/time (expressed as EPOCH time in UTC)


Value: Must be Integer