Creating App Scans

Submit an App Scan Event to Passcreator

Create an App Scan

To submit an App Scan to the Passcreator service, use this API endpoint. Please note that this just tracks an App Scan. You need to use the API endpoints to look for passes by their ID/Barcode value before to determine the status of the App Scan (e.g. pass is known, pass is valid etc.). The App Scan just tracks this information but doesn't validate passes for example.

URL

https://app.passcreator.com/api/appscan

HTTP-Method

POST

Purpose

Creates a new App Scan using the values submitted as JSON payload

Required input parameters

• HTTP Authorization Header that contains your API key

• appConfigurationId - the unique ID of the App Configuration that is tied to this App Scan

• scanStatus - 0 means the pass was known and has been voided after it has been scanned. 1 means the pass was know but it has already been voided and is therefore not valid. 2 means the pass was known and the attendance of a user has been saved. 3 means the pass hasn't been found which happens if an invalid Barcode is scanned. This can happen e.g. if you've deleted passes or a Barcode value that is invalid in general has been scanned.

• scannedBarcodeValue - the value of the Barcode that has been scanned

• deviceName - the name of the device that has been used to scan the Wallet pass

• createdOn - the date and time when the App Scan has happend (format: 2017-05-01 20:10:04)

• setVoided - indicates if the pass should be voided (marked invalid) afterwards. This triggers a Push Update on the user's Smartphone and greys out the Barcode of the pass • additionalProperties - an array consisting of the IDs of the additional property as key and it's value as value of the array