Try Admit

POST

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.

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 unique code that identifies a specific speedgate.

admissionCodestringOptional

A unique code that identifies a specific admission.

Response

This endpoint returns an object.
tokenUUID

A unique token that identifies a specific admission request

referenceNumberTypeenum
Allowed values: ticketwalletmemberCard

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

Built with