Validate Departure

Validates a ticket for departure from an admission, marking the ticket as departed. Used when tracking both entry and exit of customers, this endpoint helps manage capacities and ensures that the ticket is correctly processed upon leaving. Similar to arrival validation, it can include admissionCode and scannerStation.

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

ticketIdUUIDRequired
The unique identifier of a ticket

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 optional object.
admissionCodestringOptional
A unique code that identifies a specific admission.
scannerStationstringOptional

Response

This endpoint returns an object.
ticketIdUUID
The unique identifier of a ticket
ticketNumberstring
The unique identifier of a ticket
departedboolean
Indicates whether the ticket has been registered as departed from the admission
codestring or null
A code that identifies the reason of the action result
messagestring or null
A message that describes the result of the action