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 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": "Relevant Message for the request"
}This API 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": "Relevant Message for the request"
}This API can be used to register a new Beacon for an organisation in the Cloud DB.
model.BeaconRequest
| major | integer Optional major indentifier of a BLE beacon. |
| 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 indentifier of a BLE beacon. |
| 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 Beacon Title"
}{- "message": "Relevant Message for the request"
}This API will attempt to fetch active Beacon title lists. Endpoint returns HTTP Status Code 200 (OK) when sucessfully fetchs.
model.FetchActiveBeaconListRequest
{ }{- "beaconList": [
- "beacon-1",
- "beacon-2",
- "beacon-3"
]
}This API will attempt to retrieve an Organisation's Beacon from the Cloud DB by Beacon title.
model.FetchBeaconByTitleRequest
| title | 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 Beacon Title"
}This API can be used to fetch paginated Beacons records from the Cloud DB.
model.GetPaginatedBeaconRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG |
| 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": "apple-beacon-5",
- "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 Beacon Title"
}
], - "lastDocID": "apple-beacon-5",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "totalNumberOfRecords": 120
}This API can be used to update an existing Beacon record in the Cloud DB.
model.BeaconRequest
| major | integer Optional major indentifier of a BLE beacon. |
| 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 indentifier of a BLE beacon. |
| 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 Beacon Title"
}{- "message": "Relevant Message for the request"
}This API will attempt 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 Beacon Title"
}{- "message": "Relevant Message for the request"
}This API 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": "9949549"
}{- "message": "Relevant Message for the request"
}This API can be used to create a new Branding Color.
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": "Relevant Message for the request"
}This API can be used to delete an existing Branding Color.
model.DeleteBrandingColorRequest
| title required | string The title of the Branding Color record to be removed from the Cloud DB. |
{- "title": "some-title"
}{- "message": "Relevant Message for the request"
}This API can be used to fetch a Branding Color by 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": "Blue",
- "titleLowercase": "blue"
}This API can be used to fetch a paginated list of Branding Colors.
model.FetchPaginatedBrandingColorsRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG |
| 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": "Blue",
- "titleLowercase": "blue"
}
], - "lastDocID": "some-doc-id",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "totalNumberOfRecords": 120
}This API can be used to update an existing Branding Color.
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": "Relevant Message for the request"
}This API can be used to activate an archived Customer Support Detail.
model.ActivateCustomerSupportDetailRequest
| title required | string The title of the Customer Support Detail to be activated in the Cloud DB. |
{- "title": "some-title"
}{- "message": "Relevant Message for the request"
}This API can be used to archive an active Customer Support Detail.
model.ArchiveCustomerSupportDetailRequest
| title required | string The title of the Customer Support Detail to be archived in the Cloud DB. |
{- "title": "some-title"
}{- "message": "Relevant Message for the request"
}This API can be used to create a Customer Support Detail.
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": "Relevant Message for the request"
}This API can be used to fetch a paginated list of Organisation Customer Support Details.
model.FetchPaginatedCustomerSupportDetailsRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG |
| 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-last-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-last-title",
- "totalNumberOfRecords": 120
}This API can be used to fetch a Customer Support Detail by 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 can be used to update an existing Customer Support Detail.
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": "Relevant Message for the request"
}This API can be used to distribute an Individual pass .
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": "Some Error message"
}
], - "startTime": "2024-03-13T07:42:42.472468Z",
- "title": "SomePassDesignName"
}{- "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 can be used to Distribute Passes in Batch.
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": "Some Error message"
}
], - "startTime": "2024-03-13T07:42:42.472468Z",
- "title": "SomePassDesignName"
}{- "message": "Relevant Message for the request"
}This API can be used to Distribute Passes from a CSV file.
| 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": "Relevant Message for the request"
}This API can be used to fetch a distribution document by ID from the Cloud DB.
model.FetchDistributionDocByIdRequest
| distributionID required | string |
{- "distributionID": "Some Distribution ID"
}{- "appleRedemptions": 0,
- "batchCount": 1,
- "created": "2024-06-24T15:39:20.581734Z",
- "docID": "SomeUnqiueDocID",
- "failureCount": 0,
- "googleRedemptions": 0,
- "isBatchRequest": false,
- "jobIssuer": "cafe-api",
- "passDesignTitle": "SomePassDesign",
- "passType": "LongTerm",
- "pricePerPass": 50,
- "projectedCost": 50,
- "status": "Complete",
- "successCount": 1,
}This API can be used to get paginated Distribution requests from the Cloud DB.
model.GetPaginatedDistributionRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG |
| 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": "r7yLEIjtWfRmqvlS8ggU",
- "sortFilter": "newest-first",
- "statusFilter": "all",
- "typeFilter": "all"
}{- "distributionDocs": [
- {
- "appleRedemptions": 0,
- "batchCount": 1,
- "created": "2024-06-24T15:39:20.581734Z",
- "docID": "SomeUnqiueDocID",
- "failureCount": 0,
- "googleRedemptions": 0,
- "isBatchRequest": false,
- "jobIssuer": "cafe-api",
- "passDesignTitle": "SomePassDesign",
- "passType": "LongTerm",
- "pricePerPass": 50,
- "projectedCost": 50,
- "status": "Complete",
- "successCount": 1,
}
], - "lastCreated": "2024-06-24T15:39:20.581734Z",
- "lastDocID": "9ymPlleN95krlhSpF2zi",
- "totalNumberOfRecords": 120
}This API can be used to mark a Dynamic Key record as Archived within the Cloud DB. Please note that once a Dynamic Key is marked as archived then it will no longer be able to be assigned to any Pass Designs unless it is re-activated.
model.ArchiveDynamicKeyRequest
| title required | string The title of the Dynamic Key to mark as archived in the Cloud DB. |
{- "title": "some-key"
}{- "message": "Relevant Message for the request"
}This API 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-key"
}{- "message": "Relevant Message for the request"
}This API can be used to fetch a list of Active Dynamic Keys for an Organisation.
model.FetchActiveDynamicKeyListRequest
{ }{- "dynamicKeyList": [
- "some-key",
- " another-key"
]
}This API can be used to retrieve a Dynamic Key record from the Cloud DB which matches on the provided title field.
model.FetchDynamicKeyByTitleRequest
| title required | string The title of the Dynamic Key to search for in the Cloud DB. |
{- "title": "some-key"
}{- "created": "2024-10-13T00:00:00.000000Z",
- "creator": "string",
- "description": "Some description of the usage for the Dynamic Key value.",
- "lastModified": "2024-10-13T00:00:00.000000Z",
- "modifier": "string",
- "status": "active",
- "title": "some-key"
}This API can be used to fetch a paginated list of Dynamic Keys from the Cloud DB.
model.FetchPaginatedDynamicKeysRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG |
| 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 Optionl 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-key",
- "sortFilter": "name-ascending",
- "statusFilter": "active"
}{- "dynamicKeys": [
- {
- "created": "2024-10-13T00:00:00.000000Z",
- "creator": "string",
- "description": "Some description of the usage for the Dynamic Key value.",
- "lastModified": "2024-10-13T00:00:00.000000Z",
- "modifier": "string",
- "status": "active",
- "title": "some-key"
}
], - "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-key",
- "totalNumberOfRecords": 99
}This API can be used to re-active an archived Dynamic Key in the Cloud DB.
model.ReactivateDynamicKeyRequest
| title required | string The title of the Dynamic Key to mark as active in the Cloud DB. |
{- "title": "string"
}{- "message": "Relevant Message for the 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-key"
}{- "message": "Relevant Message for the request"
}This API can be used to verify a title for a new Dynamic Key record already exists 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-key"
}{- "message": "Relevant Message for the request"
}This API can be used to fetch a specific invalidation request by ID.
model.FetchInvalidationDocByIdRequest
| invalidationID required | string |
{- "invalidationID": "some invalidation doc ID"
}{- "batchCount": 1,
- "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 can be used to a list of Invalidation request records from DB based on the JWT data.
model.GetPaginatedInvalidationRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG |
| 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": "zgU52kkepocuCRyTXOK0",
- "sortFilter": "newest-first",
- "statusFilter": "all",
- "typeFilter": "all"
}{- "invalidationDocs": [
- {
- "batchCount": 1,
- "created": "2023-10-25T22:47:58.686813Z",
- "docID": "fdjlrgferfv134fwed23313",
- "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": "zgU52kkepocuCRyTXOK0",
- "totalNumberOfRecords": 120
}This API can be used to Invalidation passes in batch.
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": "Relevant Message for the request"
}This API can be used to Invalidate individual pass.
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 can be used to Invalidation passes from a file.
| 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": "Relevant Message for the request"
}This API can be used to update an Organisation's Location 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": "Relevant Message for the request"
}This API can be used to update an Organisation's Location 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": "Relevant Message for the request"
}This API can be used to register a new Geolocation for an organisation.
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": "location"
}{- "message": "Relevant Message for the request"
}This API will attempt to fetch active Location title lists.
model.FetchActiveLocationListRequest
{ }{- "locationList": [
- "geolocation-1",
- "geolocation-2",
- "geolocation-3"
]
}This API will attempt to retrieve an Organisation's Geolocation from the Cloud DB by Geolocation title.
model.FetchLocationByTitleRequest
| title | 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": "location"
}This API can be used to fetch a paginated list of Geolocations for an organisation.
model.GetPaginatedLocationRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG |
| 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": "TESTLOCATION",
- "lastModifiedDate": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "string",
- "sortFilter": "newest-first",
- "statusFilter": "all"
}{- "lastDocID": "TESTLOCATION",
- "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": "location"
}
], - "totalNumberOfRecords": 120
}This API can be used to update an existing Geolocation for an organisation.
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": "location"
}{- "message": "Relevant Message for the request"
}This API will attempt to verify if a provided Title is available for creating a new Geolocation within the Cloud DB. Endpoint returns HTTP Status Code 200 (OK) when title is available for use.
model.VerifyLocationExistsRequest
| title required | string The requested title for a new Location record |
{- "title": "location"
}{- "message": "Relevant Message for the request"
}This API 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": "Relevant Message for the request"
}This API 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": "Relevant Message for the request"
}This API 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": "Relevant Message for the request"
}This API can be used to fetch a list of active Pass Delivery Templates for an Organisation.
model.FetchActivePassDeliveryListRequest
{ }{- "emailList": [
- "EmailTemplate1",
- "EmailTemplate2"
], - "smsList": [
- "SmsTemplate1",
- "SmsTemplate2"
]
}This API can be used to fetch a paginated list of an Organisation's Pass Delivery Templates from the Cloud DB.
model.GetPaginatedPassDeliveryTemplateRequest
| batchCount required | integer The number of templates we wish to return in our request, EG: |
| 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: |
| 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'. |
{- "batchCount": 10,
- "lastDocID": "string",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "lastTitle": "some-title",
- "passTemplateType": "Email",
- "sortFilter": "string",
- "statusFilter": "string"
}{- "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 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": "Relevant Message for the request"
}This API will attempt to verify if a provided Title is available for creating a new Pass Delivery Template within the Cloud DB. Endpoint returns HTTP Status Code 200 (OK) when title is available for use.
model.VerifyTemplateTitleRequest
| deliveryTitle required | string Requested title for a new Pass Delivery Template |
{- "deliveryTitle": "SomePassDeliveryTemplateTitle"
}{- "message": "Relevant Message for the request"
}This API can be used to update an Organisation's Pass Design record to mark it as Active.
model.ActivatePassDesignRequest
| title required | string The title of the Pass Design record to be Activated. |
{- "title": "some-title"
}{- "message": "Relevant Message for the request"
}This API can be used to update an Organisation's Pass Design record to mark it as Archived.
model.ArchivePassDesignRequest
| title required | string The title of the Pass Design record to be archived. |
{- "title": "some-title"
}{- "message": "Relevant Message for the request"
}This API can be used to fetch a paginated list of PassDesign details 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 |
| 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-key"
}{- "lastDocID": "some-doc-id",
- "lastModifiedTimestamp": "2024-03-13T07:42:42.472468Z",
- "passDesignSummaryList": [
- {
- "status": "active",
- "title": "SomePassDesignTitle",
- "type": "Generic"
}
], - "totalNumberOfRecords": 48
}This API 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 can be used to fetch a paginated list of Pass Designs from the Cloud DB.
model.GetPaginatedPassDesignRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG |
| 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 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": "Relevant Message for the request"
}This API 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": "Relevant Message for the request"
}This API can be used to fetch a list of Pass records which are assigned a provided ExternalReferenceID value within the Cloud DB.
model.GetPassesByExternalRefIDRequest
| externalReferenceID required | string Unique Reference ID for the end-user in external customer system. This will require the |
{- "externalReferenceID": "Some Customer 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 can be used to update the payload received by a card reader when a pass is scanned. This works for both NFC and barcodes. Provide a payload to override the given value. 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": "Relevant Message for the request"
}This API can be used to update Pass User details in the Cloud DB.
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": "Relevant Message for the request"
}This API can be used to generate Audit Log report.
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. This can be set to an empty array if not required to receive email results. |
| endTime | 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 | 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": "REPORT_ID"
}This API can be used to generate Pass Delivery report.
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. This can be set to an empty array if not required to receive email results. |
| endTime | 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 | 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 can be used to generate a Pass Report.
model.PassReportRequest
| endTime required | string Timestamp to control the end point of report generation for pass records. |
| 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 | Array of strings The fields we wish to return within the CSV report. |
| startTime required | string Timestamp to control initial start point of report generation for pass records. |
{- "endTime": "2024-03-13T07:42:42.472468Z",
- "passDesignFilter": "all",
- "reportFields": [
- "Serial Number"
], - "startTime": "2024-03-13T07: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 can be used to fetch paginated reporting requests.
model.GetPaginatedReportingRequestsRequest
| batchSize required | integer Batch size for controlling the number of items which will be returned in the pagination request, EG |
| 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 |
| 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 can be used to get Pass design monthly report from the Cloud DB.
model.GetPassDesignMonthlyReportRequest
| passDesignTitle required | string Title of the Pass Design included in the report. |
| reportFields required | Array of strings The fields we wish to return within the CSV report. |
| reportingPeriod required | string Reporting Period represents the month and year period for the data included in the report. |
{- "passDesignTitle": "Gift-Card",
- "reportFields": [
- "Serial Number",
- "Device OS"
], - "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 can be used to get the Reporting Request by specified Report 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 can be used to get usage reporting 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 can be used to fetch a paginated list of Serial Number records from the Cloud DB.
model.GetPaginatedSerialNumbersRequest
| batchSize required | integer batchSize controls the number of items which will be returned in the pagination request, EG |
| 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": 2,
- "processed": false,
- "start": 2
}
]
}
], - "totalNumberOfRecords": 145
}This API can be used to fetch an Organisation's Serial Number record by Prefix from the Cloud DB.
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": 2,
- "processed": false,
- "start": 2
}
]
}This API can be used to fetch a list of Serial Number Prefix records from the Cloud DB for an Organisation.
model.GetSerialNumberPrefixListRequest
{ }{- "serialNumberPrefixList": [
- "0001",
- "0002",
- "0003"
]
}This API can be used to update an Organisation User account to mark as Active.
model.ActivateOrgUserRequest
| userEmail required | string The email address of the Organisation User to be marked as active. |
{- "userEmail": "someEmail@email.com"
}{- "message": "Relevant Message for the request"
}This API can be used to update an Organisation User account to mark as Archived.
model.ArchiveOrgUserRequest
| userEmail required | string The email address of the Organisation User to be marked as archived. |
{- "userEmail": "someEmail@email.com"
}{- "message": "Relevant Message for the request"
}This API 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 |
| 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": "some-email",
- "fullName": "string",
- "isEmailVerified": true,
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "roles": [
- "Owner",
- "Admin",
- "API-Dev"
], - "status": "Active"
}
]
}This API can be used to get details of an Organisation User account by email.
model.GetUserDetailsByEmailRequest
| email required | string |
{- "email": "someEmail@email.com"
}{- "created": "2024-03-13T07:42:42.472468Z",
- "email": "some-email",
- "fullName": "string",
- "isEmailVerified": true,
- "lastModified": "2024-03-13T07:42:42.472468Z",
- "roles": [
- "Owner",
- "Admin",
- "API-Dev"
], - "status": "Active"
}