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. <br><br><b>Ticket Reference</b> Returns a single token that you can use with the admitToken endpoint. <br><br><b>Member Card</b> 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. <br><br><b>Wallet Reference</b> Returns a list of tickets, each with relevant admission details, which can be individually used in subsequent calls to tryAdmit. <br><br><b>City Card Reference</b> Returns a token for the city card, which can be used with the admit endpoint. <br><br><b>Ticket Token Reference</b> Returns an admit token and a list of tickets that will be admitted when the admit token is used.

Authentication

AuthorizationBearer

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

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

Headers

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.
memberCardobject or null
Details of a member card and its guests
ticketobject or null
When attempting to admit a ticket, some ticket details should be provided.
walletobject or null
Details of a wallet and its tickets
docLxCityCardobject or null
ticketRequestobject or null