Developer Documentation (API)
- Authentication
- PHP Package
- V2 Endpoints
- Pass Templates
- Get a list of templates
- Describe the structure of a pass template
- Create a new template
- Update a template
- Patch a template
- Publish changes of a template
- Get information about fields of a pass-template only
- Schedule a Push Notification
- List scheduled notifications of a template
- Delete a scheduled Push Notification
- Copy a Pass Template
- Delete a Pass Template
- Create an iFrame Integration for a Template
- Create an URL Integration for a Template
- Passes
- REST Hooks
- Validating passes
- Deprecated endpoints
Get information about a specific pass
GET Request
Endpoint URL https://veski.leikbreytir.is/api/pass/{pass-uid}
Purpose
If the given pass UID is known information about the pass is returned.
Required input parameters
- HTTP Authorization Header that contains your API key
- UID or userProvidedId of the pass you want information about – if your barcode value is different for each pass, you can also us that value
- (optional) includeFieldMapping: set this GET parameter to true if you want to get an array called fieldMapping that contains the name of the additional property as key and the ID as value.
- (optional) appConfigurationId – if you specify the ID of an app configuration, the system will check if the pass is eligible at the location that is defined for the app configuration. If the pass is not eligible or was used there already, the voided and redeemed fields will be displayed as true, indicating that the pass should not be accepted.
Returned values
JSON-Array containing an array for the pass that has been found.
Look at the common data format to find details about the fields returned.
Example output: