Reference Number Lookup
This endpoint retrieves the details of a reference number, including its type and status. It can be used to check the history of a reference number.
Path parameters
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-api-version
Used for API versioning. More details.
Query parameters
referenceNumber
The number sent to speedgate to open the gate
Response
Returns a list all usages of the reference number in the speedgate.
referenceNumber
The number sent to speedgate to open the gate
referenceNumberType
The type of reference number that was identified.
scannerId
A human friendly unique code that identifies a specific speedgate.
scannerDescription
A textual description or name
admitToken
A unique token that identifies a specific admission request
entryStatus
The status of the admission request.
attemptedAt
The date and time when the reference number was attempted to be admitted.
errorNumber
The error number returned by the API.
entryNumber
The sequence number of the scan entry.
referenceId
The unique identifier for the reference number.
admissionCode
A unique code that identifies a specific admission.
admittedReferenceNumber
The number sent to speedgate to open the gate
admittedReferenceId
The unique identifier for the reference number.
admittedAt
The date and time when the ticket was admitted.
errorMessage
The error message returned by the API.
type
When scanning a reference number it can cascade into other types of reference numbers. This is the type used to qualify the reference number id that was identified.
The following types are supported and used in different scenarios
memberGuest
memberCard
ticket
Allowed values:
typeId
The unique identifier of the resource to use.
typeDescription
The description of the resource.