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
tenant
Your Entra Tenant ID. More details.
environment
Your Business Central Environment. More details.
company
Your Business Central Company. More details.
ticketId
The unique identifier of a ticket
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-api-version
Used for API versioning. More details.
Request
This endpoint expects an optional object.
admissionCode
A unique code that identifies a specific admission.
scannerStation
Response
This endpoint returns an object.
ticketId
The unique identifier of a ticket
ticketNumber
The unique identifier of a ticket
departed
Indicates whether the ticket has been registered as departed from the admission
code
A code that identifies the reason of the action result
message
A message that describes the result of the action