Download OpenAPI specification:
Welcome to the Breezin Pass Management REST API documentation. Here you will find the available endpoint definitions for interacting with our system.
Bearer token used to authenticate API REST endpoints. Please provide this token in the HTTP Headers as a Bearer token with any request sent to Breezin Pass Management.
Example: Authorization: Bearer <YOUR_TOKEN_HERE>
This API endpoint can be used to update an Organisation's Beacon to mark it as Active in the Cloud DB.
model.ActivateBeaconRequest
| title required | string Title of the Beacon to mark as Active. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to update an Organisation's Beacon to mark it as Archived in the Cloud DB.
model.ArchiveBeaconRequest
| title required | string Title of the Beacon to mark as Archived. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to register a new Beacon for an Organisation in the Cloud DB.
model.BeaconRequest
| major | integer Optional major identifier of a BLE beacon. Please note value must be within the range 0 to 65535. |
| messageText required | string MessageText is used to define the contents of the Apple Push Notification when a pass is in range of the BLE Beacon. |
| minor | integer Optional minor identifier of a BLE beacon. Please note value must be within the range 0 to 65535. |
| proximityUUID required | string The unique identifier of a BLE beacon. |
| status required | string Status of the Beacon to save to the Cloud DB. Available options are: 'Draft', 'Active' or 'Archived'. |
| title required | string Name assigned to the BLE Beacon. |
{- "major": 10,
- "messageText": "Some iBeacon messaging for pass notification",
- "minor": 10,
- "proximityUUID": "12341234-1234-1234-1234-123412341234",
- "status": "Active",
- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to fetch a list of active Beacon titles from the Cloud DB for an Organisation.
model.FetchActiveBeaconListRequest
{ }{- "beaconList": [
- "some-beacon-title",
- "another-beacon-title"
]
}This API endpoint can be used to retrieve an Organisation's Beacon from the Cloud DB which matches on a provided Beacon title.
model.FetchBeaconByTitleRequest
| title required | string Title of an Organisation's beacon record to search for within the Cloud DB. |
{- "title": "some-title"
}{- "created": "2024-03-13T07:42:42.472468Z",
- "creator": "john.smith@breezin.io",
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "major": 10,
- "messageText": "Some iBeacon messaging for pass notification",
- "minor": 10,
- "modifier": "john.smith@breezin.io",
- "proximityUUID": "12341234-1234-1234-1234-123412341234",
- "status": "Active",
- "title": "some-title"
}This API endpoint can be used to fetch a paginated list of Beacon records from the Cloud DB for an Organisation.
model.GetPaginatedBeaconRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastModifiedDate | string lastModifiedDate is the timestamp related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastTitle | string lastTitle is the unique Title related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first', 'oldest-first', 'name-ascending', or 'name-descending'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
| statusFilter | string Optional filter option to limit the pagination results to return Beacons with a specified status value. Available status filter options: 'Draft', 'Active' or 'Archived'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
{- "batchSize": 10,
- "lastDocID": "some-title",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "sortFilter": "newest-first",
- "statusFilter": "Active"
}{- "beacons": [
- {
- "created": "2024-03-13T07:42:42.472468Z",
- "creator": "john.smith@breezin.io",
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "major": 10,
- "messageText": "Some iBeacon messaging for pass notification",
- "minor": 10,
- "modifier": "john.smith@breezin.io",
- "proximityUUID": "12341234-1234-1234-1234-123412341234",
- "status": "Active",
- "title": "some-title"
}
], - "lastDocID": "some-title",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "totalNumberOfRecords": 120
}This API endpoint can be used to update an existing Beacon record in the Cloud DB for an Organisation.
model.BeaconRequest
| major | integer Optional major identifier of a BLE beacon. Please note value must be within the range 0 to 65535. |
| messageText required | string MessageText is used to define the contents of the Apple Push Notification when a pass is in range of the BLE Beacon. |
| minor | integer Optional minor identifier of a BLE beacon. Please note value must be within the range 0 to 65535. |
| proximityUUID required | string The unique identifier of a BLE beacon. |
| status required | string Status of the Beacon to save to the Cloud DB. Available options are: 'Draft', 'Active' or 'Archived'. |
| title required | string Name assigned to the BLE Beacon. |
{- "major": 10,
- "messageText": "Some iBeacon messaging for pass notification",
- "minor": 10,
- "proximityUUID": "12341234-1234-1234-1234-123412341234",
- "status": "Active",
- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to verify if a Beacon title is available for creating a new Beacon within the Cloud DB. Endpoint returns HTTP Status Code 200 (OK) when title is available for use.
model.VerifyBeaconExistsRequest
| title required | string The requested title for a new beacon record |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to upload a Purchase Order Number for including within an Organisation's Invoices.
model.UploadOrgPurchaseOrderNumberRequest
| purchaseOrderNumber required | string The PO Number to be applied to an Organisation's account. Please note that this Purchase Order Number will appear within subsequent Invoices generated within the system. |
{- "purchaseOrderNumber": "PO1234567890"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to create a new Branding Color for an Organisation in the Cloud DB.
model.CreateBrandingColorRequest
| colorHexCode required | string The Hex value of the Branding Color. |
| title required | string The title of the Branding Color to create in the Cloud DB for an organisation. |
{- "colorHexCode": "#000000",
- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to delete an existing Branding Color for an Organisation from the Cloud DB.
model.DeleteBrandingColorRequest
| title required | string The title of the Branding Color record to be removed from the Cloud DB. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to fetch an Organisation's Branding Color from the Cloud DB by Branding Color Title.
model.FetchBrandingColorByTitleRequest
| title required | string Title of the Branding Color record to fetch from the Cloud DB. |
{- "title": "some-title"
}{- "colorHexCode": "#000000",
- "created": "2024-03-13T07:42:42.472468Z",
- "creator": "john.smith@breezin.io",
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "modifier": "john.smith@breezin.io",
- "title": "some-title",
- "titleLowercase": "some-title"
}This API endpoint can be used to fetch a paginated list of Branding Colors for an Organisation from the Cloud DB.
model.FetchPaginatedBrandingColorsRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastModifiedDate | string lastModifiedDate is the timestamp related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastTitle | string lastTitle is the unique Title related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first', 'oldest-first', 'name-ascending', or 'name-descending'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
{- "batchSize": 10,
- "lastDocID": "some-doc-id",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "sortFilter": "newest-first"
}{- "brandingColors": [
- {
- "colorHexCode": "#000000",
- "created": "2024-03-13T07:42:42.472468Z",
- "creator": "john.smith@breezin.io",
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "modifier": "john.smith@breezin.io",
- "title": "some-title",
- "titleLowercase": "some-title"
}
], - "lastDocID": "some-doc-id",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "totalNumberOfRecords": 120
}This API endpoint can be used to update an existing Branding Color for an Organisation in the Cloud DB.
model.UpdateBrandingColorRequest
| newColorHexCode | string Optional field to update the Hex Code of an Organisation's branding color. |
| newTitle | string Optional field to update the title of an existing branding color. |
| title required | string The existing title of the Branding Color record to be updated. |
{- "newColorHexCode": "#000000",
- "newTitle": "some-new-title",
- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to activate an Organisation's Customer Support Detail in the Cloud DB.
model.ActivateCustomerSupportDetailRequest
| title required | string The title of the Customer Support Detail to be activated in the Cloud DB. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to archive an Organisation's Customer Support Detail in the Cloud DB.
model.ArchiveCustomerSupportDetailRequest
| title required | string The title of the Customer Support Detail to be archived in the Cloud DB. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to create a new Customer Support Detail for an Organisation in the Cloud DB.
model.CreateCustomerSupportDetail
| title required | string The title of the Customer Support Detail to create in the Cloud DB for an organisation. |
| type required | string The type of Customer Support Detail to create: Can be |
| value required | string The value of the Customer Support Detail to be created. |
{- "title": "some-title",
- "type": "Email Address",
- "value": "some-value"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to fetch a paginated list of an Organisation's Customer Support Details from the Cloud DB.
model.FetchPaginatedCustomerSupportDetailsRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastModifiedDate | string lastModifiedDate is the timestamp related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastTitle | string lastTitle is the unique Title related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first', 'oldest-first', 'name-ascending', or 'name-descending'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
| statusFilter | string Optional filter option to limit the pagination results to return Customer Support Details with a specified status value. Available status filter options: 'Active' or 'Archived'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
| typeFilter | string Optional filter option to limit the pagination results to return a specified type of Customer Support Detail. Available type filter options: 'Email Address', 'Phone Number', 'Whatsapp' or 'Web Link'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
{- "batchSize": 10,
- "lastDocID": "some-doc-id",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "sortFilter": "newest-first",
- "statusFilter": "Active",
- "typeFilter": "Email Address"
}{- "customerSupportDetailList": [
- {
- "created": "2024-03-13T07:42:42.472468Z",
- "creator": "john.smith@breezin.io",
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "modifier": "john.smith@breezin.io",
- "status": "Active",
- "title": "some-title",
- "titleLowercase": "some-title",
- "type": "Email Address",
- "value": "some-value"
}
], - "lastDocID": "some-doc-id",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "totalNumberOfRecords": 120
}This API endpoint can be used to fetch an Organisation's Customer Support Detail from the Cloud DB by Customer Support Detail Title.
model.GetCustomerSupportDetailByTitleRequest
| title required | string The title of the Customer Support Detail to fetch from the Cloud DB. |
{- "title": "some-title"
}{- "created": "2024-03-13T07:42:42.472468Z",
- "creator": "john.smith@breezin.io",
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "modifier": "john.smith@breezin.io",
- "status": "Active",
- "title": "some-title",
- "titleLowercase": "some-title",
- "type": "Email Address",
- "value": "some-value"
}This API endpoint can be used to update an existing Customer Support Detail in the Cloud DB for an Organisation.
model.UpdateCustomerSupportDetail
| title required | string The title of the Customer Support Detail to update in the Cloud DB for an organisation. |
| type | string Optional type of Customer Support Detail to update: Can be |
| value | string Optional value of the Customer Support Detail to be updated. |
{- "title": "some-title",
- "type": "Email Address",
- "value": "some-value"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to create the pass download links for an individual distribution request. Pass Distribution results will be returned in the response body from this endpoint. Please note that Individual Distribution is limited to 25 passes per request. If you wish to create more within a single request, please look at our 'Batch Distribution' or 'Distribution via CSV Upload' endpoints.
model.DistributionRequest
| endTime | string Optional expiry time of pass download link. Omit this value from request / set to null if pass download link should be available until pass has been installed to a device. |
required | Array of objects (model.DistributionPassDetailsInput) Array of distribution details for all passes to be distributed within the request. |
| startTime | string Optional timestamp of when pass download link becomes valid. Omit this value from request / set to null if pass download link should be valid immediately. |
| title required | string Title of pass design. |
{- "endTime": "2024-05-13T07:42:42.472468Z",
- "passDetails": [
- {
- "beacons": [
- "Beacon1",
- "Beacon2"
], - "deliveryAddress": "john.smith@breezin.io",
- "deliveryMethod": "Email",
- "deliveryName": "John",
- "deliverySalutation": "Hi",
- "deliveryTemplate": "some-pass-delivery-template-title",
- "dynamicFields": {
- "key": "value",
- "key2": "value2"
}, - "expiredTimestamp": "2024-03-13T07:42:42.472468Z",
- "externalReferenceID": "some-customer-id",
- "locations": [
- "Geolocation1",
- "Geolocation2"
], - "payload": "Some Nfc/Barcode Payload",
- "serialNumber": "00010000001"
}
], - "startTime": "2024-03-13T07:42:42.472468Z",
- "title": "some-pass-design-name"
}{- "failureList": [
- {
- "beacons": [
- "Beacon1",
- "Beacon2"
], - "deliveryAddress": "john.smith@breezin.io",
- "deliveryMethod": "Email",
- "deliveryName": "John",
- "deliverySalutation": "Hi",
- "deliveryTemplate": "some-pass-delivery-template-title",
- "dynamicFieldData": {
- "key": "value",
- "key2": "value2"
}, - "error": "Some Error message",
- "expiredTimestamp": "2024-03-13T07:42:42.472468Z",
- "externalReferenceID": "some-customer-id",
- "locations": [
- "Geolocation1",
- "Geolocation2"
], - "payload": "Some Nfc/Barcode Payload"
}
], - "successList": [
- {
- "beacons": [
- "Beacon1",
- "Beacon2"
], - "customFieldData": {
- "key": "value",
- "key2": "value2"
}, - "deliveryAddress": "john.smith@breezin.io",
- "deliveryMethod": "Email",
- "deliveryName": "John",
- "deliverySalutation": "Hi",
- "deliveryTemplate": "some-pass-delivery-template-title",
- "expiredTimestamp": "2024-03-13T07:42:42.472468Z",
- "externalReferenceID": "some-customer-id",
- "locations": [
- "Geolocation1",
- "Geolocation2"
], - "notes": "Dynamic fields which have been truncated due to maximum character limits for front-of-pass fields: some-field-1, some-field-2",
- "passApiKey": "SomePassApiKey",
- "payload": "Some Nfc/Barcode Payload",
- "serialNumber": "000100000001"
}
]
}This API endpoint can be used to create a list of pass download links based on the users request. Please note that Batch Distribution will process the passes through the Breezin Platform and the requester will be notified over email when the batch is complete. API Integration will email the final results to any users with Owner, Admin, Pass-Issuer and Api-Dev permissions.
model.DistributionRequest
| endTime | string Optional expiry time of pass download link. Omit this value from request / set to null if pass download link should be available until pass has been installed to a device. |
required | Array of objects (model.DistributionPassDetailsInput) Array of distribution details for all passes to be distributed within the request. |
| startTime | string Optional timestamp of when pass download link becomes valid. Omit this value from request / set to null if pass download link should be valid immediately. |
| title required | string Title of pass design. |
{- "endTime": "2024-05-13T07:42:42.472468Z",
- "passDetails": [
- {
- "beacons": [
- "Beacon1",
- "Beacon2"
], - "deliveryAddress": "john.smith@breezin.io",
- "deliveryMethod": "Email",
- "deliveryName": "John",
- "deliverySalutation": "Hi",
- "deliveryTemplate": "some-pass-delivery-template-title",
- "dynamicFields": {
- "key": "value",
- "key2": "value2"
}, - "expiredTimestamp": "2024-03-13T07:42:42.472468Z",
- "externalReferenceID": "some-customer-id",
- "locations": [
- "Geolocation1",
- "Geolocation2"
], - "payload": "Some Nfc/Barcode Payload",
- "serialNumber": "00010000001"
}
], - "startTime": "2024-03-13T07:42:42.472468Z",
- "title": "some-pass-design-name"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to process a CSV file of passes for Distribution. Please note that there is a 32mb limit on file uploads. Distribution via CSV upload will be processed through the Breezin Platform and the requester will be notified over email when the batch is complete. API Integration will email the final results to any users with Owner, Admin, Pass-Issuer and Api-Dev permissions.
| file required | string <binary> CSV file of Distribution details for upload. Please see Postman examples for how to set up this file upload. |
| endTime | string Optional expiry time of pass download link. Omit this value from request / set to null if pass download link should be available until pass has been installed to a device. |
| startTime | string Optional timestamp of when pass download link becomes valid. Omit this value from request / set to null if pass download link should be valid immediately. |
| title required | string Title of pass design to be used for pass distribution request. |
{- "message": "Response message containing results of API request"
}This API endpoint can be used to fetch an Organisation's Distribution record from the Cloud DB by Distribution ID.
model.FetchDistributionDocByIdRequest
| distributionID required | string The Unique ID of the Distribution record to retrieve from the Cloud DB. |
{- "distributionID": "some-unique-id"
}{- "appleRedemptions": 0,
- "batchCount": 1,
- "created": "2024-06-24T15:39:20.581734Z",
- "docID": "some-unique-ID",
- "failureCount": 0,
- "googleRedemptions": 0,
- "isBatchRequest": false,
- "jobIssuer": "john.smith@breezin.io",
- "passDesignTitle": "some-pass-design-title",
- "passType": "LongTerm",
- "pricePerPass": 50,
- "projectedCost": 50,
- "status": "Complete",
- "successCount": 1,
}This API endpoint can be used to fetch a paginated list of Distribution requests for an Organisation from the Cloud DB.
model.GetPaginatedDistributionRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastCreated | string lastCreated is the timestamp related to the final item of the previous pagination batch. Please provide this value as an empty timestamp for the first iteration. For following requests, use the value returned from the previous pagination request. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. Please provide this value as an empty string for the first iteration. For following requests, use the value returned from the previous pagination request. |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first' or 'oldest-first'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
| statusFilter | string Optional filter option to limit the pagination results to return Distribution requests with a specified status value. Available status filter options: 'In Progress' or 'Complete'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
| typeFilter | string Optional filter option to limit the pagination results to return Distribution requests with a specified type value. Available status filter options: 'Manual' or 'Batch'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
{- "batchSize": 10,
- "lastCreated": "2024-03-13T07:42:42.472468Z",
- "lastDocID": "some-unique-id",
- "sortFilter": "newest-first",
- "statusFilter": "all",
- "typeFilter": "all"
}{- "distributionDocs": [
- {
- "appleRedemptions": 0,
- "batchCount": 1,
- "created": "2024-06-24T15:39:20.581734Z",
- "docID": "some-unique-ID",
- "failureCount": 0,
- "googleRedemptions": 0,
- "isBatchRequest": false,
- "jobIssuer": "john.smith@breezin.io",
- "passDesignTitle": "some-pass-design-title",
- "passType": "LongTerm",
- "pricePerPass": 50,
- "projectedCost": 50,
- "status": "Complete",
- "successCount": 1,
}
], - "lastCreated": "2024-06-24T15:39:20.581734Z",
- "lastDocID": "some-unique-id",
- "totalNumberOfRecords": 120
}This API endpoint can be used to mark a Dynamic Key record as Archived within the Cloud DB for an Organisation.
model.ArchiveDynamicKeyRequest
| title required | string The title of the Dynamic Key to mark as archived in the Cloud DB. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to create a new Dynamic Key record within the Cloud DB for an Organisation.
model.CreateDynamicKeyRequest
| description required | string A human-readable description for the Dynamic Key value to record the intended usage of the Dynamic Key record. |
| title required | string The title of the Dynamic Key to create in the Cloud DB for an organisation. |
{- "description": "Some description of the usage for the Dynamic Key value.",
- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to fetch a list of Active Dynamic Keys for an Organisation from the Cloud DB.
model.FetchActiveDynamicKeyListRequest
{ }{- "dynamicKeyList": [
- "some-key",
- "another-key"
]
}This API endpoint can be used to retrieve an Organisation's Dynamic Key record from the Cloud DB by Dynamic Key Title.
model.FetchDynamicKeyByTitleRequest
| title required | string The title of the Dynamic Key to search for in the Cloud DB. |
{- "title": "some-title"
}{- "created": "2024-10-13T00:00:00.000000Z",
- "creator": "john.smith@breezin.io",
- "description": "Some description of the usage for the Dynamic Key value.",
- "lastModified": "2024-10-13T00:00:00.000000Z",
- "modifier": "john.smith@breezin.io",
- "status": "active",
- "title": "some-title"
}This API endpoint can be used to fetch a paginated list of Dynamic Keys for an Organisation from the Cloud DB.
model.FetchPaginatedDynamicKeysRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastModifiedTimestamp | string lastModifiedDate is the timestamp related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastTitle | string lastTitle is the unique Title related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first', 'oldest-first', 'name-ascending', or 'name-descending'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
| statusFilter | string Optional filter option to limit the pagination results to return Dynamic Keys with a specified status value. Available status filter options: 'active' or 'archived'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
{- "batchSize": 10,
- "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "sortFilter": "name-ascending",
- "statusFilter": "active"
}{- "dynamicKeys": [
- {
- "created": "2024-10-13T00:00:00.000000Z",
- "creator": "john.smith@breezin.io",
- "description": "Some description of the usage for the Dynamic Key value.",
- "lastModified": "2024-10-13T00:00:00.000000Z",
- "modifier": "john.smith@breezin.io",
- "status": "active",
- "title": "some-title"
}
], - "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "totalNumberOfRecords": 99
}This API endpoint can be used to re-active an archived Dynamic Key in the Cloud DB for an Organisation.
model.ReactivateDynamicKeyRequest
| title required | string The title of the Dynamic Key to mark as active in the Cloud DB. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API can be used to create a new Dynamic Key record within the Cloud DB for an Organisation.
model.UpdateDynamicKeyRequest
| description required | string An updated human-readable description for the Dynamic Key value to record the intended usage of the Dynamic Key record. |
| title required | string The title of the Dynamic Key to update in the Cloud DB for an organisation. |
{- "description": "Some description of the usage for the Dynamic Key value.",
- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to verify if a Dynamic Key title is available to create a new Dynamic Key within the Cloud DB for an Organisation.
model.VerifyDynamicKeyTitleAvailableRequest
| title required | string The title of a new Dynamic Key to verify if the title already exists or not. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to fetch a specific Invalidation Request for an Organisation from the Cloud DB by Invalidation ID.
model.FetchInvalidationDocByIdRequest
| invalidationID required | string Unique ID of the Invalidation record to return from the Cloud DB. |
{- "invalidationID": "some-unique-id"
}{- "batchCount": 10,
- "created": "2023-10-25T22:47:58.686813Z",
- "expiryTimestamp": "2023-10-25T22:47:58.686813Z",
- "failureCount": 0,
- "isBatchRequest": false,
- "jobIssuer": "john.smith@breezin.io",
- "status": "Complete",
- "successCount": 1,
}This API endpoint can be used to fetch a paginated list of Invalidation request records for an Organisation from the Cloud DB.
model.GetPaginatedInvalidationRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastCreated | string lastCreated is the timestamp related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first' or 'oldest-first'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
| statusFilter | string Optional filter option to limit the pagination results to return Invalidation requests with a specified status value. Available status filter options: 'In Progress' or 'Complete'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
| typeFilter | string Optional filter option to limit the pagination results to return Invalidation requests with a specified type value. Available status filter options: 'Manual' or 'Batch'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
{- "batchSize": 10,
- "lastCreated": "2024-03-13T07:42:42.472468Z",
- "lastDocID": "some-doc-id",
- "sortFilter": "newest-first",
- "statusFilter": "all",
- "typeFilter": "all"
}{- "invalidationDocs": [
- {
- "batchCount": 10,
- "created": "2023-10-25T22:47:58.686813Z",
- "docID": "some-doc-id",
- "expiryTimestamp": "2023-10-25T22:47:58.686813Z",
- "failureCount": 0,
- "isBatchRequest": false,
- "jobIssuer": "john.smith@breezin.io",
- "status": "Complete",
- "successCount": 1,
}
], - "lastCreated": "2023-09-08T10:53:27.204Z",
- "lastDocID": "some-doc-id",
- "totalNumberOfRecords": 120
}This API endpoint can be used to process Pass Invalidation (expiry) based on the provided list of passes. Please note that Batch Invalidation will be processed through the Breezin Platform and the requester will be notified over email when the batch is complete. API Integration will email the final results to any users with Owner, Admin, Pass-Issuer and Api-Dev permissions.
model.InvalidationRequest
| expiryTime | string Optional timestamp to set the ExpiryTime of when the user's pass should be invalidated. If this value is omitted from the request, then ExpiryTime will be set to current time. Please note that passes may take up to 24 hours to expire on the end-user's device. There is also a limit on how far in advance that an expiry date can be assigned to a pass, this will be limited to the next anniversary date of the pass (since creation) + 1 year. |
| serialNumbers required | Array of strings List of serial numbers for passes to be invalidated. |
{- "expiryTime": "2024-03-13T07:42:42.472468Z",
- "serialNumbers": [
- "123400000001",
- "123400000002"
]
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to process Pass Invalidation (expiry) based on the provided list of passes. Pass Invalidation results will be returned in the response body from this endpoint. Please note that Individual Invalidation is limited to 25 passes per request. If you wish to expire more passes within a single request, please look at 'Batch Invalidation' or 'Invalidation via CSV Upload' endpoint.
model.InvalidationRequest
| expiryTime | string Optional timestamp to set the ExpiryTime of when the user's pass should be invalidated. If this value is omitted from the request, then ExpiryTime will be set to current time. Please note that passes may take up to 24 hours to expire on the end-user's device. There is also a limit on how far in advance that an expiry date can be assigned to a pass, this will be limited to the next anniversary date of the pass (since creation) + 1 year. |
| serialNumbers required | Array of strings List of serial numbers for passes to be invalidated. |
{- "expiryTime": "2024-03-13T07:42:42.472468Z",
- "serialNumbers": [
- "123400000001",
- "123400000002"
]
}{- "failureList": [
- {
- "error": "message",
- "serialNumber": "123400000001"
}
], - "successList": [
- "123400000001",
- "123400000002",
- "123400000003"
]
}This API endpoint can be used to process a CSV file of passes for Invalidation (expiry). Please note that there is a 32mb limit on file uploads. Invalidation via CSV Upload will be processed through the Breezin Platform and the requester will be notified over email when the batch is complete. API Integration will email the final results to any users with Owner, Admin, Pass-Issuer and Api-Dev permissions.
| file required | string <binary> CSV file of Invalidation details for upload. Please see Postman examples for how to set up this file upload. |
| expiryTime | string Optional timestamp to set the ExpiryTime of when the user's pass should be invalidated. If this value is omitted from the request, then ExpiryTime will be set to current time. Please note that passes may take up to 24 hours to expire on the end-user's device. There is also a limit on how far in advance that an expiry date can be assigned to a pass, this will be limited to the next anniversary date of the pass (since creation) + 1 year. |
{- "message": "Response message containing results of API request"
}This API endpoint can be used to update an Organisation's Geolocation to mark it as Active in the Cloud DB.
model.ActivateLocationRequest
| title required | string Title of the Location to mark as Active. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to update an Organisation's Geolocation to mark it as Archived in the Cloud DB.
model.ArchiveLocationRequest
| title required | string Title of the Location to mark as Archived. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to register a new Geolocation for an Organisation in the Cloud DB.
model.CreateUpdateLocationRequest
| altitude | number Optional Altitude value to allow multi-story facilities to define the height of the specific location offering (EG shopping mall). |
| latitude required | number The latitude co-ordinate of the Geolocation. Value should be specified in the range -90.0 through +90.0, both inclusive. |
| longitude required | number The longitude co-ordinate of the Geolocation. Value should be specified in the range -180.0 through +180.0, both inclusive. |
| messageText required | string MessageText for the Apple push notification a end-user receives when they enter the Geolocation. |
| status required | string Status of the Location to save to the Cloud DB. Available options are: 'Draft', 'Active' or 'Archived'. |
| title required | string Title defines the name of a location. |
{- "altitude": 10,
- "latitude": 10,
- "longitude": 10,
- "messageText": "welcome",
- "status": "Active",
- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to fetch the active Locations lists for an Organisation from the Cloud DB.
model.FetchActiveLocationListRequest
{ }{- "locationList": [
- "geolocation-1",
- "geolocation-2",
- "geolocation-3"
]
}This API endpoint can be used to fetch an Organisation's Geolocation from the Cloud DB by Geolocation title.
model.FetchLocationByTitleRequest
| title required | string Title of an Organisation's geo-location record to search for within the Cloud DB. |
{- "title": "some-title"
}{- "altitude": 10,
- "created": "2024-03-13T07:42:42.472468Z",
- "creator": "john.smith@breezin.io",
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "latitude": 10,
- "longitude": 10,
- "messageText": "Welcome",
- "modifier": "john.smith@breezin.io",
- "status": "Active",
- "title": "some-title"
}This API endpoint can be used to fetch a paginated list of Geolocations for an Organisation from the Cloud DB.
model.GetPaginatedLocationRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastModifiedDate | string lastModifiedDate is the timestamp related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastTitle | string lastTitle is the unique Title related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first', 'oldest-first', 'name-ascending', or 'name-descending'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
| statusFilter | string Optional filter option to limit the pagination results to return Locations with a specified status value. Available status filter options: 'Draft', 'Active' or 'Archived'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
{- "batchSize": 10,
- "lastDocID": "some-doc-id",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "sortFilter": "newest-first",
- "statusFilter": "all"
}{- "lastDocID": "some-doc-id",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "locations": [
- {
- "altitude": 10,
- "created": "2024-03-13T07:42:42.472468Z",
- "creator": "john.smith@breezin.io",
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "latitude": 10,
- "longitude": 10,
- "messageText": "Welcome",
- "modifier": "john.smith@breezin.io",
- "status": "Active",
- "title": "some-title"
}
], - "totalNumberOfRecords": 120
}This API endpoint can be used to update an existing Geolocation for an Organisation in the Cloud DB.
model.CreateUpdateLocationRequest
| altitude | number Optional Altitude value to allow multi-story facilities to define the height of the specific location offering (EG shopping mall). |
| latitude required | number The latitude co-ordinate of the Geolocation. Value should be specified in the range -90.0 through +90.0, both inclusive. |
| longitude required | number The longitude co-ordinate of the Geolocation. Value should be specified in the range -180.0 through +180.0, both inclusive. |
| messageText required | string MessageText for the Apple push notification a end-user receives when they enter the Geolocation. |
| status required | string Status of the Location to save to the Cloud DB. Available options are: 'Draft', 'Active' or 'Archived'. |
| title required | string Title defines the name of a location. |
{- "altitude": 10,
- "latitude": 10,
- "longitude": 10,
- "messageText": "welcome",
- "status": "Active",
- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to verify if a provided Title is available for creating a new Geolocation for an Organisation within the Cloud DB.
model.VerifyLocationExistsRequest
| title required | string The requested title for a new Location record. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to update an Organisation's Pass Delivery Template to mark it as Active in the Cloud DB.
model.ActivatePassDeliveryTemplateRequest
| title required | string Title of the Pass Delivery Template to mark as Active. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to update an Organisation's Pass Delivery Template to mark it as Archived in the Cloud DB.
model.ArchivePassDeliveryTemplateRequest
| title required | string Title of the Pass Delivery Template to mark as Archived. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to create a new Pass Delivery Template in the Cloud DB for an Organisation.
model.PassDeliveryTemplateRequest
| body required | string Body value for populating in Pass Delivery message at distribution time. Please note that this string can be separated into numerous lines using the HTML line break characters, EG |
| footer required | string Footer value for populating in Pass Delivery message at distribution time. Please note that this string can be separated into numerous lines using the HTML line break characters, EG |
| imageURL required | string Public URL pointing to image to be used when sending Pass Delivery message at distribution time. |
| preheader | string Preheader value for populating in Pass Delivery message at distribution time. |
| status required | string Status of the Pass Delivery Template to save to the Cloud DB. Available options are: 'Draft', 'Active' or 'Archived'. |
| subject required | string Subject value for populating in Pass Delivery message at distribution time. |
| title required | string Title for the Pass Delivery Template. |
| type required | string Delivery Type of the Pass Delivery Template. EG |
{- "body": "Your new digital pass is available for download. To download the pass to your smartphone digital wallet, please use the pass download link provided below from your intended Smartphone device:",
- "footer": "The download link will only be valid for one installation. Best regards",
- "preheader": "Some Header Text",
- "status": "Active",
- "subject": "Some Subject",
- "title": "Test-Email",
- "type": "Email"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to fetch a list of active Pass Delivery Templates for an Organisation from the Cloud DB.
model.FetchActivePassDeliveryListRequest
{ }{- "emailList": [
- "EmailTemplate1",
- "EmailTemplate2"
], - "smsList": [
- "SmsTemplate1",
- "SmsTemplate2"
]
}This API endpoint can be used to fetch a paginated list Pass Delivery Templates for an Organisation from the Cloud DB.
model.GetPaginatedPassDeliveryTemplateRequest
| batchSize required | integer The number of templates we wish to return in our request, EG: 10. Please note there is a maximum limit of 25 for batch size. |
| lastDocID | string The DocID of the last document in previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastModifiedTimestamp | string The Modified timestamp of the last document in previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastTitle | string lastTitle is the unique Title related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| passTemplateType required | string The type of delivery template we wish to fetch. Options: "All", "SMS" or "Email" |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first', 'oldest-first', 'name-ascending', or 'name-descending'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
| statusFilter | string Optional filter option to limit the pagination results to return Pass Delivery Templates with a specified status value. Available status filter options: 'Draft', 'Active' or 'Archived'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
{- "batchSize": 10,
- "lastDocID": "email-template",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "passTemplateType": "Email",
- "sortFilter": "all",
- "statusFilter": "all"
}{- "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "passDeliveryTemplates": [
- {
- "body": "Some Body Text",
- "created": "2024-03-13T07:42:42.472468Z",
- "creator": "john.smith@breezin.io",
- "footer": "Some Footer Text",
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "modifier": "john.smith@breezin.io",
- "preheader": "Some Preheader text",
- "status": "Active",
- "subject": "Some Subject Text",
- "title": "Some Title",
- "type": "Email"
}
], - "totalNumberOfRecords": 120
}This API endpoint can be used to update an Organisation's Pass Delivery Template in the Cloud DB.
model.PassDeliveryTemplateRequest
| body required | string Body value for populating in Pass Delivery message at distribution time. Please note that this string can be separated into numerous lines using the HTML line break characters, EG |
| footer required | string Footer value for populating in Pass Delivery message at distribution time. Please note that this string can be separated into numerous lines using the HTML line break characters, EG |
| imageURL required | string Public URL pointing to image to be used when sending Pass Delivery message at distribution time. |
| preheader | string Preheader value for populating in Pass Delivery message at distribution time. |
| status required | string Status of the Pass Delivery Template to save to the Cloud DB. Available options are: 'Draft', 'Active' or 'Archived'. |
| subject required | string Subject value for populating in Pass Delivery message at distribution time. |
| title required | string Title for the Pass Delivery Template. |
| type required | string Delivery Type of the Pass Delivery Template. EG |
{- "body": "Your new digital pass is available for download. To download the pass to your smartphone digital wallet, please use the pass download link provided below from your intended Smartphone device:",
- "footer": "The download link will only be valid for one installation. Best regards",
- "preheader": "Some Header Text",
- "status": "Active",
- "subject": "Some Subject",
- "title": "Test-Email",
- "type": "Email"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to verify if a provided Title is available for creating a new Pass Delivery Template for an Organisation within the Cloud DB.
model.VerifyTemplateTitleRequest
| deliveryTitle required | string Requested title for a new Pass Delivery Template. |
{- "deliveryTitle": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to update an Organisation's Pass Design record to mark it as Active in the Cloud DB.
model.ActivatePassDesignRequest
| title required | string The title of the Pass Design record to be Activated. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to update an Organisation's Pass Design record to mark it as Archived in the Cloud DB.
model.ArchivePassDesignRequest
| title required | string The title of the Pass Design record to be archived. |
{- "title": "some-title"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to fetch a paginated list of an Organisation's Pass Design records from the Cloud DB, where the Pass Design contains a specific Dynamic Key value.
model.FetchPaginatedPassDesignsForDynamicKeyRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastModifiedTimestamp | string lastModifiedDate is the timestamp related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| title required | string Title of the Dynamic Key to query Cloud DB for retrieving matching Pass Design Summary records. |
{- "batchSize": 10,
- "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "title": "some-dynamic-key-title"
}{- "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "passDesignSummaryList": [
- {
- "status": "active",
- "title": "some-title",
- "type": "Generic"
}
], - "totalNumberOfRecords": 48
}This API endpoint can be used to fetch an Organisation's Pass Design By Title from the Cloud DB.
model.GetPassDesignByTitleRequest
| title required | string The title of the pass design to fetch. |
{- "title": "Gift-Card"
}{- "apple": {
- "description": "testDesign",
- "formatVersion": 1,
- "hideTitleField": true,
- "passType": "Loyalty",
- "voided": false
}, - "appleRedemptions": 10,
- "auxiliaryFields": {
- "items": [
- {
- "isDynamic": true,
- "key": "holder_name",
- "label": "Holder",
- "position": 0,
- "value": ""
}
], - "size": 2
}, - "backFields": {
- "items": [
- {
- "isDynamic": false,
- "key": "0",
- "label": "some-label",
- "position": 0,
- "value": "more"
}
], - "size": 1
}, - "backgroundColor": {
- "blue": 200,
- "green": 200,
- "red": 200
}, - "barcodeType": "Barcode128",
- "boardingClassDefaultFields": {
- "boardingAndSeatingPolicy": {
- "boardingPolicy": "string",
- "seatClassPolicy": "string"
}, - "destination": {
- "airportIataCode": "string",
- "airportNameOverride": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "gate": "string",
- "terminal": "string"
}, - "flightCarrier": {
- "airlineAllianceLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineName": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "carrierIataCode": "string",
- "carrierIcaoCode": "string"
}, - "flightHeader": {
- "carrier": {
- "airlineAllianceLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineName": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "carrierIataCode": "string",
- "carrierIcaoCode": "string"
}, - "flightNumber": "string",
- "flightNumberDisplayOverride": "string",
- "operatingCarrier": {
- "airlineAllianceLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineName": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "carrierIataCode": "string",
- "carrierIcaoCode": "string"
}, - "operatingFlightNumber": "string"
}, - "flightStatus": true,
- "localBoardingDateTime": "string",
- "localEstimatedOrActualArrivalDateTime": "string",
- "localEstimatedOrActualDepartureDateTime": "string",
- "localGateClosingDateTime": "string",
- "localScheduledArrivalDateTime": "string",
- "localScheduledDepartureDateTime": "string",
- "origin": {
- "airportIataCode": "string",
- "airportNameOverride": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "gate": "string",
- "terminal": "string"
}
}, - "countryCode": "en-gb",
- "customerSupportDetailList": [
- "some-title",
- "another-title"
], - "customerSupportMessage": "Some Customer Support Message",
- "downloadBackground": "url.com",
- "downloadLogo": "some.png",
- "downloadMessage": "Add your Gift Card",
- "dynamicFieldKeys": [
- "string"
], - "eventClassDefaultFields": {
- "confirmationCodeLabel": "string",
- "dateTime": {
- "customDoorsOpenLabel": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "doorsOpen": "string",
- "doorsOpenLabel": "string",
- "end": "string",
- "start": "string"
}, - "eventId": "string",
- "eventName": "string",
- "eventReservationInfo": {
- "confirmationCode": "string"
}, - "gateLabel": "string",
- "rowLabel": "string",
- "seatLabel": "string",
- "sectionLabel": "string",
- "venue": {
- "address": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "name": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}
}
}, - "giftCardDefaultFields": {
- "allowBarcodeRedemption": true,
- "balance": {
- "currencyCode": "string",
- "micros": "string"
}, - "balanceUpdateTime": {
- "date": "string"
}, - "cardNumberLabel": "string",
- "eventNumberLabel": "string",
- "issuerName": "string",
- "merchantName": "string",
- "pinLabel": "string"
}, - "google": {
- "multiDevice": "ONE_USER_ALL_DEVICES",
- "passDesignID": "3388000000022177089.testDesign",
- "passType": "Loyalty",
- "reviewStatus": "UNDER_REVIEW",
- "securityAnimation": "FOIL_SHIMMER",
- "viewUnlockRequirement": "UNLOCK_NOT_REQUIRED"
}, - "googleRedemptions": 10,
- "isNFCEnabled": false,
- "issuingOrganisation": "Cafe",
- "lastDistributionDate": "2024-07-22T11:27:37.48090",
- "locations": [
- {
- "latitude": 0,
- "longitude": 0
}
], - "loyaltyCardDefaultFields": {
- "accountIdLabel": "string",
- "accountNameLabel": "string",
- "issuerName": "string",
- "loyaltyPoints": {
- "balance": {
- "double": 0,
- "int": 0,
- "money": {
- "currencyCode": "string",
- "micros": "string"
}, - "string": "string"
}, - "label": "string",
- "localizedLabel": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}
}, - "programName": "string",
- "rewardsTier": "string",
- "rewardsTierLabel": "string",
- "secondaryLoyaltyPoints": {
- "balance": {
- "double": 0,
- "int": 0,
- "money": {
- "currencyCode": "string",
- "micros": "string"
}, - "string": "string"
}, - "label": "string",
- "localizedLabel": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}
}, - "secondaryRewardsTier": "string",
- "secondaryRewardsTierLabel": "string"
}, - "metaData": {
- "created": "2022-08-17T15:01:23Z",
- "creator": "Breezin",
- "lastModified": "2022-08-17T15:01:23Z",
- "modifier": "Breezin"
}, - "offerCardClassDefaultFields": {
- "details": "string",
- "finePrint": "string",
- "issuerName": "string",
- "provider": "string",
- "shortTile": "string",
- "title": "string"
}, - "pass": {
- "state": "active",
- "subType": "Membership",
- "template": "MembershipPass",
- "type": "LongTerm"
}, - "passBrandingLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "passDesignDefaultFields": {
- "cardTitle": "Test",
- "cardTitleLabel": "",
- "header": "Breezin",
- "subheader": ""
}, - "passIcon": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "passImage": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "primaryFields": {
- "items": [
- {
- "isDynamic": true,
- "key": "holder_name",
- "label": "Holder",
- "position": 0,
- "value": ""
}
], - "size": 2
}, - "secondaryFields": {
- "items": [
- {
- "isDynamic": true,
- "key": "holder_name",
- "label": "Holder",
- "position": 0,
- "value": ""
}
], - "size": 2
}, - "serialPrefix": "9938",
- "title": "testDesign",
- "totalDistributionCount": 22,
- "totalInvalidationCount": 12,
- "transitClassDefaultFields": {
- "transitOperatorName": "string",
- "transitType": "string"
}
}This API endpoint can be used to fetch a paginated list of Pass Design records from an Organisation from the Cloud DB.
model.GetPaginatedPassDesignRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastModifiedTimestamp | string lastModifiedTimestamp is the timestamp related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| serialFilter | string Optional filter option to limit the pagination results to return Pass Designs which are assigned a specific Serial Number Prefix value, EG: '0001'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first', 'oldest-first', 'name-ascending', or 'name-descending'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
| statusFilter | string Optional filter option to limit the pagination results to return Pass Designs with a specified status value. Available status filter options: 'active', 'draft', or 'archived'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
| typeFilter | string Optional filter option to limit the pagination results to return Pass Designs with a specified type value. Available type filter options: 'Generic', 'Loyalty', or 'Event'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
| usageFilter | string Optional filter option to limit the pagination results to return Pass Designs with a specified UsageLimit value. Available type filter options: 'LongTerm', 'ShortTerm', or 'X_Use'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
{- "batchSize": 10,
- "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "serialFilter": "all",
- "sortFilter": "newest-first",
- "statusFilter": "all",
- "typeFilter": "all",
- "usageFilter": "all"
}{- "lastDocID": "tester",
- "lastModifiedTimestamp": "2024-03-28T17:48:03.733664Z",
- "passDesignDocs": [
- {
- "apple": {
- "description": "testDesign",
- "formatVersion": 1,
- "hideTitleField": true,
- "passType": "Loyalty",
- "voided": false
}, - "appleRedemptions": 10,
- "auxiliaryFields": {
- "items": [
- {
- "isDynamic": true,
- "key": "holder_name",
- "label": "Holder",
- "position": 0,
- "value": ""
}
], - "size": 2
}, - "backFields": {
- "items": [
- {
- "isDynamic": false,
- "key": "0",
- "label": "some-label",
- "position": 0,
- "value": "more"
}
], - "size": 1
}, - "backgroundColor": {
- "blue": 200,
- "green": 200,
- "red": 200
}, - "barcodeType": "Barcode128",
- "boardingClassDefaultFields": {
- "boardingAndSeatingPolicy": {
- "boardingPolicy": "string",
- "seatClassPolicy": "string"
}, - "destination": {
- "airportIataCode": "string",
- "airportNameOverride": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "gate": "string",
- "terminal": "string"
}, - "flightCarrier": {
- "airlineAllianceLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineName": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "carrierIataCode": "string",
- "carrierIcaoCode": "string"
}, - "flightHeader": {
- "carrier": {
- "airlineAllianceLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineName": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "carrierIataCode": "string",
- "carrierIcaoCode": "string"
}, - "flightNumber": "string",
- "flightNumberDisplayOverride": "string",
- "operatingCarrier": {
- "airlineAllianceLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "airlineName": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "carrierIataCode": "string",
- "carrierIcaoCode": "string"
}, - "operatingFlightNumber": "string"
}, - "flightStatus": true,
- "localBoardingDateTime": "string",
- "localEstimatedOrActualArrivalDateTime": "string",
- "localEstimatedOrActualDepartureDateTime": "string",
- "localGateClosingDateTime": "string",
- "localScheduledArrivalDateTime": "string",
- "localScheduledDepartureDateTime": "string",
- "origin": {
- "airportIataCode": "string",
- "airportNameOverride": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "gate": "string",
- "terminal": "string"
}
}, - "countryCode": "en-gb",
- "customerSupportDetailList": [
- "some-title",
- "another-title"
], - "customerSupportMessage": "Some Customer Support Message",
- "downloadBackground": "url.com",
- "downloadLogo": "some.png",
- "downloadMessage": "Add your Gift Card",
- "dynamicFieldKeys": [
- "string"
], - "eventClassDefaultFields": {
- "confirmationCodeLabel": "string",
- "dateTime": {
- "customDoorsOpenLabel": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "doorsOpen": "string",
- "doorsOpenLabel": "string",
- "end": "string",
- "start": "string"
}, - "eventId": "string",
- "eventName": "string",
- "eventReservationInfo": {
- "confirmationCode": "string"
}, - "gateLabel": "string",
- "rowLabel": "string",
- "seatLabel": "string",
- "sectionLabel": "string",
- "venue": {
- "address": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}, - "name": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}
}
}, - "giftCardDefaultFields": {
- "allowBarcodeRedemption": true,
- "balance": {
- "currencyCode": "string",
- "micros": "string"
}, - "balanceUpdateTime": {
- "date": "string"
}, - "cardNumberLabel": "string",
- "eventNumberLabel": "string",
- "issuerName": "string",
- "merchantName": "string",
- "pinLabel": "string"
}, - "google": {
- "multiDevice": "ONE_USER_ALL_DEVICES",
- "passDesignID": "3388000000022177089.testDesign",
- "passType": "Loyalty",
- "reviewStatus": "UNDER_REVIEW",
- "securityAnimation": "FOIL_SHIMMER",
- "viewUnlockRequirement": "UNLOCK_NOT_REQUIRED"
}, - "googleRedemptions": 10,
- "isNFCEnabled": false,
- "issuingOrganisation": "Cafe",
- "lastDistributionDate": "2024-07-22T11:27:37.48090",
- "locations": [
- {
- "latitude": 0,
- "longitude": 0
}
], - "loyaltyCardDefaultFields": {
- "accountIdLabel": "string",
- "accountNameLabel": "string",
- "issuerName": "string",
- "loyaltyPoints": {
- "balance": {
- "double": 0,
- "int": 0,
- "money": {
- "currencyCode": "string",
- "micros": "string"
}, - "string": "string"
}, - "label": "string",
- "localizedLabel": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}
}, - "programName": "string",
- "rewardsTier": "string",
- "rewardsTierLabel": "string",
- "secondaryLoyaltyPoints": {
- "balance": {
- "double": 0,
- "int": 0,
- "money": {
- "currencyCode": "string",
- "micros": "string"
}, - "string": "string"
}, - "label": "string",
- "localizedLabel": {
- "defaultValue": {
- "language": "string",
- "value": "string"
}, - "translatedValues": [
- {
- "language": "string",
- "value": "string"
}
]
}
}, - "secondaryRewardsTier": "string",
- "secondaryRewardsTierLabel": "string"
}, - "metaData": {
- "created": "2022-08-17T15:01:23Z",
- "creator": "Breezin",
- "lastModified": "2022-08-17T15:01:23Z",
- "modifier": "Breezin"
}, - "offerCardClassDefaultFields": {
- "details": "string",
- "finePrint": "string",
- "issuerName": "string",
- "provider": "string",
- "shortTile": "string",
- "title": "string"
}, - "pass": {
- "state": "active",
- "subType": "Membership",
- "template": "MembershipPass",
- "type": "LongTerm"
}, - "passBrandingLogo": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "passDesignDefaultFields": {
- "cardTitle": "Test",
- "cardTitleLabel": "",
- "header": "Breezin",
- "subheader": ""
}, - "passIcon": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "passImage": {
- "description": "logo",
- "fileName": "url.png",
- "sourceURI": "url.com"
}, - "primaryFields": {
- "items": [
- {
- "isDynamic": true,
- "key": "holder_name",
- "label": "Holder",
- "position": 0,
- "value": ""
}
], - "size": 2
}, - "secondaryFields": {
- "items": [
- {
- "isDynamic": true,
- "key": "holder_name",
- "label": "Holder",
- "position": 0,
- "value": ""
}
], - "size": 2
}, - "serialPrefix": "9938",
- "title": "testDesign",
- "totalDistributionCount": 22,
- "totalInvalidationCount": 12,
- "transitClassDefaultFields": {
- "transitOperatorName": "string",
- "transitType": "string"
}
}
], - "totalNumberOfRecords": 120
}This API endpoint can be used to control the Pass Download flow from an external application (EG end-user does not get redirected to the Breezin public pass download page). Please note that this will require that the external application uses the specific Add To Wallet buttons for Apple Wallet & Google Wallet. After creating a Distribution request, please provide the passApiKey to this endpoint. Upon success, this endpoint will return a URL which will allow the end-user to download their pass. The external application should redirect the user to the returned URL automatically.
model.ExternalPassDownloadRequest
| deviceOS required | string The device operating system, possible values are: |
| encryptedDetails required | string The encrypted pass details. |
{- "deviceOS": "Apple",
- "encryptedDetails": "Some Encrypted Pass Details"
}{- "message": "Response message containing results of API request"
}This API endpoint will attempt to update a pass record to remove the end-users personal details from the cloud DB (GDPR - Right to be forgotten). Please note that this endpoint will expire the pass record (if not already expired), before removing the end-users personal details within 3 days of the request being received.
model.ForgetUserDetailsForPassRequest
| serialNumber required | string Unique serial number of pass record for user details to be forgotten. Please note that their pass will be expired before removing user personal details from platform. Personal details will be removed within 3 days of request being received. |
{- "serialNumber": "000100000001"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to fetch a Pass record by Serial Number from the Cloud DB for an Organisation.
model.GetPassBySerialNumberRequest
| serialNumber required | string Unique Serial Number value for fetching a pass from the Cloud DB. |
{- "serialNumber": "000100000001"
}{- "beacons": [
- "Beacon1",
- "Beacon2"
], - "deviceOS": "Apple",
- "dynamicFieldData": {
- "key": "value",
- "key2": "value2"
}, - "dynamicFieldKeys": [
- "key",
- "key2"
], - "dynamicFieldValues": [
- "value",
- "value2"
], - "dynamicFields": [
- {
- "id": "string",
- "position": 0,
- "row": 0,
- "value": "string"
}
], - "expiredTimestamp": "2024-03-13T07:42:42.472468Z",
- "externalReferenceID": "some-customer-id",
- "genericObjectDefaultFields": {
- "cardTitle": "Some Title",
- "cardTitleLabel": "Some Title Label",
- "header": "Some Header",
- "subheader": "Some sub-header"
}, - "isExpired": true,
- "isRedeemed": true,
- "isRemoved": true,
- "locations": [
- "Location1",
- "Location2"
], - "metaData": {
- "created": "2022-08-17T15:01:23Z",
- "creator": "Breezin",
- "lastModified": "2022-08-17T15:01:23Z",
- "modifier": "Breezin"
}, - "passDeliveryDetails": {
- "deliveryAddress": "john.smith@breezin.io",
- "deliveryMethod": "Email",
- "deliveryName": "John",
- "deliverySalutation": "Hi",
- "deliveryTemplate": "email-template-id"
}, - "passDesignTitle": "some-title",
- "payload": "Some NFC/Barcode payload",
- "recurringMonth": "January",
- "redeemedTimestamp": "2024-03-13T07:42:42.472468Z",
- "registered": true,
- "registeredTimestamp": "2024-03-13T07:42:42.472468Z",
- "removedTimestamp": "2024-03-13T07:42:42.472468Z",
- "serial": {
- "cardNumber": "00000001",
- "prefix": "1234",
- "serialNumber": "123400000001"
}
}This API endpoint can be used to fetch a list of Pass records for an Organisation from the Cloud DB, for pass records which are assigned a provided ExternalReferenceID value.
model.GetPassesByExternalRefIDRequest
| externalReferenceID required | string Unique Reference ID for the end-user in external customer system. This will require the |
{- "externalReferenceID": "some-unique-id"
}[- {
- "beacons": [
- "Beacon1",
- "Beacon2"
], - "deviceOS": "Apple",
- "dynamicFieldData": {
- "key": "value",
- "key2": "value2"
}, - "dynamicFieldKeys": [
- "key",
- "key2"
], - "dynamicFieldValues": [
- "value",
- "value2"
], - "dynamicFields": [
- {
- "id": "string",
- "position": 0,
- "row": 0,
- "value": "string"
}
], - "expiredTimestamp": "2024-03-13T07:42:42.472468Z",
- "externalReferenceID": "some-customer-id",
- "genericObjectDefaultFields": {
- "cardTitle": "Some Title",
- "cardTitleLabel": "Some Title Label",
- "header": "Some Header",
- "subheader": "Some sub-header"
}, - "isExpired": true,
- "isRedeemed": true,
- "isRemoved": true,
- "locations": [
- "Location1",
- "Location2"
], - "metaData": {
- "created": "2022-08-17T15:01:23Z",
- "creator": "Breezin",
- "lastModified": "2022-08-17T15:01:23Z",
- "modifier": "Breezin"
}, - "passDeliveryDetails": {
- "deliveryAddress": "john.smith@breezin.io",
- "deliveryMethod": "Email",
- "deliveryName": "John",
- "deliverySalutation": "Hi",
- "deliveryTemplate": "email-template-id"
}, - "passDesignTitle": "some-title",
- "payload": "Some NFC/Barcode payload",
- "recurringMonth": "January",
- "redeemedTimestamp": "2024-03-13T07:42:42.472468Z",
- "registered": true,
- "registeredTimestamp": "2024-03-13T07:42:42.472468Z",
- "removedTimestamp": "2024-03-13T07:42:42.472468Z",
- "serial": {
- "cardNumber": "00000001",
- "prefix": "1234",
- "serialNumber": "123400000001"
}
}
]This API endpoint can be used to update the payload scanned by a card reader from a specific digital pass instance. This works for both NFC, QR and barcode passes. Please provide the payload value which should be overridden on a specified pass. Please note that the value has a limit of 64 characters and must only contain ASCII.
model.UpdatePassPayloadRequest
| payload required | string Value to be updated on an active pass for scanning the pass via NFC / Barcodes. This value has a 64 byte limit and must contain only ASCII characters. |
| serialNumber required | string Unique Serial Number ID of the active pass to be updated with a new payload value. |
{- "payload": "101010101",
- "serialNumber": "000100000001"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to update the User Details of a digital pass in the Cloud DB and on the end-users digital pass.
model.UpdatePassUserDetails
| beacons | Array of strings List of titles of BLE beacons to be associated with a specific pass record. Please provide all titles which should be associated with the pass in an update request (when you intend to update pass beacons). Beacons are not support by Google Wallet at this time, and there is a maximum limit of 10 beacons per pass record. This value can be omitted from the request if you do not want to update these pass fields. An empty array can be provided if you intend to clear all of the beacons associated with the pass record. |
object Dynamic field data to be updated. | |
| locations | Array of strings List of titles of Geolocations to be associated with a specific pass record. Please provide all titles which should be associated with the pass in an update request (when you intend to update pass locations). Geolocations are not support by Google Wallet at this time, and there is a maximum limit of 10 locations per pass record. This value can be omitted from the request if you do not want to update these pass fields. An empty array can be provided if you intend to clear all of the locations associated with the pass record. |
| serialNumber required | string Serial number of the pass to be updated. |
{- "beacons": [
- "Beacon1",
- "Beacon2"
], - "dynamicFieldData": {
- "key": "value",
- "key2": "value2"
}, - "locations": [
- "Location1",
- "Location2"
], - "serialNumber": "123400000001"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to generate an Audit Log report for an Organisation from the Cloud DB. This report will cover system activity in the Breezin platform for the organisation's system administrators. Please note that there is a 7 day limit on report generation. Report generation will be processed through the Breezin Platform and email notifications will be sent to the specified 'emailAddresses' when the report is available for download.
model.GenerateAuditLogReportRequest
| categoryFilter | string Filter option for specifying the report to be filtered to a specific category of audit events. Please omit this value from the request, set to empty string ('') or set to 'all' if this filter is not required. Available values: 'Beacons', 'Billing', 'Distributions', 'Dynamic Keys', 'Invalidations', 'Geolocations', 'Login', 'Organisation', 'Pass Designs', 'Passes', 'Reporting', 'Serial Numbers', 'Signing', or 'Users'. |
| emailAddressFilter | string Filter option for specifying the report to be filtered to a specific system user email address. Please omit this value from the request, set to empty string ('') or set to 'all' if this filter is not required. |
| emailAddresses | Array of strings List of email addresses to receive the report download link via email once report generation complete. Please note that there is a limit of 10 email addresses per report request. This value can be set to an empty array if not required to receive email results. |
| endTime required | string Timestamp to control the end point of report generation for Audit Log records. Please note there is a 7 day maximum limit on Audit Log report generation. |
| reportFields | Array of strings The fields we wish to return within the CSV report. Omitting this value from the request will result in all fields being included in the final report CSV. Available values: 'Timestamp', 'Email Address', 'Category', 'Event', and 'Identifier'. |
| startTime required | string Timestamp to control initial start point of report generation for Audit Log records. Please note there is a 7 day maximum limit on Audit Log report generation. |
{- "categoryFilter": "Users",
- "emailAddressFilter": "someone@email.com",
- "emailAddresses": [
- "someone@email.com",
- "someoneelse@email.com"
], - "endTime": "2024-03-13T07:42:42.472468Z",
- "reportFields": [
- "Timestamp",
- "Email Address",
- "Category",
- "Event",
- "Identifier"
], - "startTime": "2024-03-13T07:42:42.472468Z"
}{- "message": "Audit Log reporting request has been uploaded successfully. We will notify you by email once it has been processed.",
- "reportID": "some-unique-id"
}This API endpoint can be used to generate a Pass Delivery report for an Organisation from the Cloud DB. This report will contain the details for Pass Delivery requests sent to end-user's via the Breezin Platform. Please note that there is a 30 day limit on report generation. Report generation will be processed through the Breezin Platform and email notifications will be sent to the specified 'emailAddresses' when the report is available for download.
model.GeneratePassDeliveryReportRequest
| deliveryTypeFilter | string Filter option for specifying the report to be filtered to a specific delivery type for Pass Delivery reporting records. Please omit this value from the request, set to empty string ('') or set to 'all' if this filter is not required. Available values are: 'Email', 'SMS UK' or 'SMS World'. |
| emailAddresses | Array of strings List of email addresses to receive the report download link via email once report generation complete. Please note that there is a limit of 10 email addresses per report request. This value can be set to an empty array if not required to receive email results. |
| endTime required | string Timestamp to control the end point of report generation for Pass Delivery records. Please note there is a 30 day maximum limit on Pass Delivery report generation. |
| reportFields | Array of strings The fields we wish to return within the CSV report. Omitting this value from the request will result in all fields being included in the final report CSV. Available values: 'Created', 'Last Modified', 'Delivery Type', 'Delivery Address', 'Delivery Salutation', 'Delivery Name', 'Delivery Template', 'Status', and 'Distribution ID'. |
| startTime required | string Timestamp to control initial start point of report generation for Pass Delivery records. Please note there is a 30 day maximum limit on Pass Delivery report generation. |
| statusFilter | string Filter option for specifying the report to be filtered to a specific status of Pass Delivery reporting records. Please omit this value from the request, set to empty string ('') or set to 'all' if this filter is not required. Available values: 'Processing', 'Sent', 'Delivered', or 'Failed'. |
{- "deliveryTypeFilter": "Email",
- "emailAddresses": [
- "someone@email.com",
- "someoneelse@email.com"
], - "endTime": "2024-03-13T07:42:42.472468Z",
- "reportFields": [
- "Created",
- "Last Modified",
- "Delivery Type",
- "Delivery Address",
- "Delivery Salutation",
- "Delivery Name",
- "Delivery Template",
- "Status",
- "Distribution ID"
], - "startTime": "2024-03-13T07:42:42.472468Z",
- "statusFilter": "Processing"
}{- "message": "Pass Delivery reporting request has been uploaded successfully. We will notify you by email once it has been processed.",
- "reportID": "REPORT_ID"
}This API endpoint can be used to generate a Pass Report for an Organisation from the Cloud DB. This report will contain a breakdown of all Passes generated via the Breezin platform between the specified data range. Please note that there is a 90 day limit on report generation. Report generation will be processed through the Breezin Platform and email notifications will be sent to the specified 'emailAddresses' when the report is available for download.
model.PassReportRequest
| emailAddresses | Array of strings List of email addresses to receive the report download link via email once report generation complete. Please note that there is a limit of 10 email addresses per report request. This value can be set to an empty array if not required to receive email results. |
| endTime required | string Timestamp to control the end point of report generation for pass records. Please note that there is a 90 day limit on Pass report generation. |
| passDesignFilter | string Filter option to limit the output of the report to a specific Pass Design. Please omit this value from the request, set to an empty string (''), or set to 'all' to include report data on all Passes. |
| reportFields required | Array of strings The fields we wish to return within the CSV report. Available fields are: 'Serial Number', 'Created', 'Creator', 'Last Modified', 'Modifier', 'External Reference ID', 'Pass Design Title', 'Distribution ID', 'Dynamic Field Keys', 'Dynamic Field Values', 'Device OS', 'Is Redeemed', 'Redeemed Timestamp', 'Registered', 'Registered Timestamp', 'Is Expired', 'Expired Timestamp', 'Is Removed', 'Removed Timestamp', 'Beacons', 'Locations', 'Delivery Method', 'Delivery Address', 'Delivery Salutation', 'Delivery Name', 'Delivery Template', or 'Payload'. |
| startTime required | string Timestamp to control initial start point of report generation for pass records. Please note that there is a 90 day limit on Pass report generation. |
{- "emailAddresses": [
- "someone@email.com",
- "someoneelse@email.com"
], - "endTime": "2024-03-13T07:42:42.472468Z",
- "passDesignFilter": "all",
- "reportFields": [
- "Serial Number"
], - "startTime": "2024-03-12T07:42:42.472468Z"
}{- "message": "Pass reporting request has been uploaded successfully. We will notify you by email once it has been processed.",
- "reportID": "REPORT_ID"
}This API endpoint can be used to fetch a paginated list of Reporting Requests from an Organisation from the Cloud DB.
model.GetPaginatedReportingRequestsRequest
| batchSize required | integer Batch size for controlling the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastModifiedTimestamp | string Last Modified Timestamp value for ordering pagination batches. Please provide this value in requests for subsequent batches to ensure ordering of pagination results is correct. |
| reportType | string The type of the Reporting Request. You can omit this value, set to to empty string, or set to 'all' if filter is not required. Supported reporting values: 'PassReport', 'AuditLogReport', and 'PassDeliveryReport'. |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first' or 'oldest-first'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
| statusFilter | string Optional filter option to limit the pagination results to return records with a specified status value. Available status filter options: 'in-progress' or 'complete'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
{- "batchSize": 25,
- "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "reportType": "PassReport",
- "sortFilter": "newest-first",
- "statusFilter": "all"
}{- "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "reportingRequestList": [
- {
- "created": "2024-03-13T07:42:42.472468Z",
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "reportID": "some-unique-id",
- "reportType": "PassReport",
- "requester": "john.smith@breezin.io",
- "status": "in-progress"
}
], - "totalNumberOfRecords": 120
}This API endpoint can be used to fetch a Pass Design Monthly Report for an Organisation from the Cloud DB.
model.GetPassDesignMonthlyReportRequest
| passDesignTitle required | string Title of the Pass Design included in the report. |
| reportingPeriod required | string Reporting Period represents the month and year period for the data included in the report. |
{- "passDesignTitle": "some-pass-design-title",
- "reportingPeriod": "April 2025"
}[- {
- "appleCount": 10,
- "appleRedemptionsCount": [
- 0
], - "distributionCount": [
- 20
], - "googleCount": 10,
- "googleRedemptionsCount": [
- 0
], - "invalidationCount": [
- 14
], - "lastModified": "2025-04-13T07:42:42.472468Z",
- "reportingPeriod": "April 2025"
}
]This API endpoint can be used to fetch an Organisation's Reporting Request from the Cloud DB by a provided Reporting Request ID.
model.GetReportingRequestByReportIDRequest
| reportID required | string The unique ID of the Reporting Request. |
{- "reportID": "ab12cd34ef56"
}{- "created": "2024-03-13T07:42:42.472468Z",
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "reportType": "PassReport",
- "requester": "john.smith@breezin.io",
- "status": "in-progress"
}This API endpoint can be used to fetch Monthly Usage Reporting for an Organisation from the Cloud DB.
model.ReportingPeriod
| reportingPeriod required | string The reporting period to be requested |
{- "reportingPeriod": "April 2025"
}[- {
- "appleRedemptions": 150,
- "appleRedemptionsCount": [
- 0
], - "googleRedemptions": 215,
- "googleRedemptionsCount": [
- 0
], - "lastModified": "2024-03-13T07:42:42.472468Z",
- "longTermInvalidationCount": [
- 0
], - "longTermPassesCount": [
- 365
], - "passDeliveryEmailCount": [
- 0
], - "passDeliverySmsUkCount": [
- 0
], - "passDeliverySmsWorldCount": [
- 0
], - "passDesignDistributions": {
- "PassDesignTitle": 1,
- "PassDesignTitle2": 12
}, - "recurringPassesCount": 0,
- "reportingPeriod": "April 2025",
- "shortTermInvalidationCount": [
- 0
], - "shortTermPassesCount": [
- 0
], - "userCount": 12,
- "xUseInvalidationCount": [
- 0
], - "xUsePassesCount": [
- 0
]
}
]This API endpoint can be used to fetch a paginated list of Serial Number records for an Organisation from the Cloud DB.
model.GetPaginatedSerialNumbersRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastModifiedTimestamp | string lastModifiedDate is the timestamp related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first' or 'oldest-first'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
| statusFilter | string Optional filter option to limit the pagination results to return Serial Numbers with a specified status value. Available status filter options: 'Assigned' or 'Not Assigned'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
{- "batchSize": 10,
- "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "sortFilter": "newest-first",
- "statusFilter": "all"
}{- "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "serialNumberList": [
- {
- "cardNumberLength": 8,
- "created": "2024-06-25T13:46:12.323918Z",
- "creator": "john.smith@breezin.io",
- "initialCardNumber": "0",
- "isAssigned": true,
- "lastModified": "2024-06-25T13:46:12.323918Z",
- "latestCardNumber": 1234,
- "maximumCardNumber": 99999999,
- "modifier": "john.smith@breezin.io",
- "prefix": "9938",
- "prefixLength": 4,
- "prefixNumber": 9938,
- "reservedRanges": [
- {
- "count": 2,
- "end": 4,
- "processed": false,
- "start": 2
}
]
}
], - "totalNumberOfRecords": 145
}This API endpoint can be used to fetch an Organisation's Serial Number record from the Cloud DB by a Serial Prefix value.
model.GetBySerialPrefixRequest
| serialPrefix required | string The prefix of the serial number sequence for which we want to fetch. |
{- "serialPrefix": "9938"
}{- "cardNumberLength": 8,
- "created": "2024-06-25T13:46:12.323918Z",
- "creator": "john.smith@breezin.io",
- "initialCardNumber": "0",
- "isAssigned": true,
- "lastModified": "2024-06-25T13:46:12.323918Z",
- "latestCardNumber": 1234,
- "maximumCardNumber": 99999999,
- "modifier": "john.smith@breezin.io",
- "prefix": "9938",
- "prefixLength": 4,
- "prefixNumber": 9938,
- "reservedRanges": [
- {
- "count": 2,
- "end": 4,
- "processed": false,
- "start": 2
}
]
}This API endpoint can be used to fetch a list of Serial Number Prefix records for an Organisation from the Cloud DB.
model.GetSerialNumberPrefixListRequest
{ }{- "serialNumberPrefixList": [
- "0001",
- "0002",
- "0003"
]
}This API endpoint can be used to update an Organisation's User account to mark as Active in the Cloud DB.
model.ActivateOrgUserRequest
| userEmail required | string The email address of the Organisation User to be marked as active. |
{- "userEmail": "john.smith@breezin.io"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to update an Organisation's User account to mark as Archived in the Cloud DB.
model.ArchiveOrgUserRequest
| userEmail required | string The email address of the Organisation User to be marked as archived. |
{- "userEmail": "john.smith@breezin.io"
}{- "message": "Response message containing results of API request"
}This API endpoint can be used to fetch a paginated list of Organisation User Account records from the Cloud DB.
model.GetPaginatedOrgUsersRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG 10. Please note there is a maximum limit of 25 for batch size. |
| lastDocID | string lastDocID is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastModifiedDate | string lastModifiedDate is the timestamp related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| lastName | string lastName is the unique ID related to the final item of the previous pagination batch. For the first batch of pagination, please skip providing this value. For following requests, use the value returned from the previous pagination request. |
| sortFilter | string Optional filter option to set the sorting method for ordering the pagination output of the response. Available values are: 'newest-first', 'oldest-first', 'name-ascending' or 'name-descending'. If this value is not provided then the function will default to using the 'newest-first' sorting method. |
| statusFilter | string Optional filter option to limit the pagination results to return Organisation Users with a specified status value. Available status filter options: 'Active' or 'Archived'. Please note that if this filter is not required, then please omit the value from the request, or set to 'all'. |
{- "batchSize": 10,
- "lastDocID": "some-doc-id",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastName": "some-name",
- "sortFilter": "newest-first",
- "statusFilter": "Active"
}{- "lastDocID": "some-doc-id",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastName": "some-name",
- "totalNumberOfRecords": 120,
- "usersList": [
- {
- "created": "2024-03-13T07:42:42.472468Z",
- "email": "john.smith@breezin.io",
- "fullName": "Some Full Name",
- "isEmailVerified": true,
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "roles": [
- "Owner",
- "Admin",
- "API-Dev"
], - "status": "Active"
}
]
}This API endpoint can be used to fetch the details of an Organisation's User Account from the Cloud DB by email address.
model.GetUserDetailsByEmailRequest
| email required | string The email address of the Organisation User to search for in the Cloud DB. |
{- "email": "john.smith@breezin.io"
}{- "created": "2024-03-13T07:42:42.472468Z",
- "email": "john.smith@breezin.io",
- "fullName": "Some Full Name",
- "isEmailVerified": true,
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "roles": [
- "Owner",
- "Admin",
- "API-Dev"
], - "status": "Active"
}