Returns the list of Devices registerd for a Pass

Examples

curl -i https://api.passdock.com/api/v1/templates/106/passes/199/devices?api_token=75778a65dfdae310a107d2ef0bbd3780

Supported Formats

json

Success Response:

200 Good Request
              [
      {
        "identifier": "652299c0d9605ab99bcf3fa3ce52addf",
        "token": "f12afa22a31b8cd4f6c9f0f7d97ba00a7998df5bc51c17bff4092524e69c5f68",
        "created_at": "2012-11-08T08:22:31Z",
        "updated_at": "2012-11-08T08:22:31Z"
      },
      {
        "identifier": "e468ca56e3bf71622d318437718b75df",
        "token": "f42a3a68c31f40db7d8cdd29af9a0a134361766807e6582bac33eedb4e203610",
        "created_at": "2012-11-07T13:16:45Z",
        "updated_at": "2012-11-07T13:16:45Z"
      }
    ]
          

Errors

401 Unauthorized
404 Not Found

Params

Param name Description
template_id
required

Template ID


Value: Must be Fixnum
id
required

Pass ID


Value: Must be Fixnum
api_token
required

Your Passdock API key


Value: Must be String