Try Admit

This endpoint attempts to validate a customer’s reference number and identifies it as either a ticket, member card, or wallet. Each type provides different responses.

Ticket Reference Returns a single token that you can use with the admitToken endpoint.

Member Card Reference Returns a primary token for the member and additional tokens for any guests, with details such as guest type and max number of guests.

Wallet Reference Returns a list of tickets, each with relevant admission details, which can be individually used in subsequent calls to tryAdmit.

City Card Reference Returns a token for the city card, which can be used with the admit endpoint.

Ticket Token Reference Returns an admit token and a list of tickets that will be admitted when the admit token is used.

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects an object.
referenceNumberstringRequired
The number sent to speedgate to open the gate
scannerIdstringOptional
A human friendly unique code that identifies a specific speedgate.
admissionCodestringOptional
A unique code that identifies a specific admission.

Response

Returns the result of the try to admit a customer.
tokenUUID
A unique token that identifies a specific admission request
referenceNumberTypeenum
The type of reference number that was identified.
memberCardobjectOptional
Details of a member card and its guests
ticketobjectOptional
When attempting to admit a ticket, some ticket details should be provided.
walletobjectOptional
Details of a wallet and its tickets
docLxCityCardobjectOptional
ticketRequestobjectOptional