Validate Departure

POST

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.

ticketNumberstringRequired

The unique identifier of a ticket

Headers

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.
ticketNumberstring

The unique identifier of a ticket

departedboolean

Indicates whether the ticket has been registered as departed from the admission

codestringOptional

A code that identifies the reason of the action result

messagestringOptional

A message that describes the result of the action