Getting the Latest Version of a Pass
The Getting the Latest Version of a Pass API fetches the latest version of a pass.
URL
The HTTP URL for Getting the Latest Version of a Pass API is:
http://<<host>>:<<port>>/api/v1/passes/passTypeIdentifier/serialNumber
Method
GET
Output Parameters
The following fields are output parameters:
Output Parameter | Type | Description |
---|---|---|
passesUpdatedSince=timeStamp | string | time stamp since the pass is updated. |
Sample Response
.pkpass file stream
Response Status
Code | Description |
---|---|
Status 200 | .pkpass file stream |
Status 400 | Invalid requestPass is not found or pass is not delivered |
Status 401 | Invalid authentication token |
Status 304 | Pass is not modified |
Status 500 | Unable to get the pkPass file |