Admit Token

POST

This endpoint processes tokens received from tryAdmit to grant admission. Each token in the request specifies a quantity for admission (useful for guests).

Single Token Admission Admit a single ticket by providing its token.
Multiple Token Admission Use multiple tokens to admit a member and their guests, specifying quantities for each guest token (default is 1).

The request payload must include tokens and relevant quantity to admit (default is 1). If admission fails, an error message is returned.

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.
tokenslist of objectsRequired

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.

referenceNumberstring

The number sent to speedgate to open the gate

ticketIdUUID

Unique identifier for a ticket

status"admitted" or "denied"
Allowed values: admitteddenied

The status of the admission request.

itemNostring

The item number of the ticket

admissionCodestring

A unique code that identifies a specific admission.

printedAtdatetime

The date and time when the ticket was printed

printCountinteger

The number of times the ticket has been printed

memberCardIdUUIDOptional

Unique identifier for a member card.

externalTicketNostringOptional

The number sent to speedgate to open the gate

Built with