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.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
Headers
x-api-version
Used for API versioning. More details.
Query parameters
referenceNumber
The number sent to speedgate to open the gate
fromDate
The date from which to start looking for reference number usages. Default is today. Date only, time is assumed to be 00:00:00 format ISO 8601 (YYYY-MM-DD).
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. <br><br> The following types are supported and used in different scenarios<br> `memberGuest` <li>when a member card is scanned and a guests can be admitted for free</li>
`memberCard` <li>when a wallet is scanned and a member card can be admitted</li>
`ticket` <li>when a wallet is scanned and a ticket can be admitted</li> <li>when a member card is scanned and multiple admissions will be admitted</li>
Allowed values:
typeId
The unique identifier of the resource to use.
typeDescription
The description of the resource.
