Returns all analytics for a user

Examples

curl -i https://api.passdock.com/api/v1/analytics?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
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