Validate Departure
Changed onValidates 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.
Request
- Base URLhttps://api.npretail.app
- AuthAPI key in header x-np-api-key
Path parameters
Your Entra Tenant ID. More details.
Your Business Central Environment. More details.
Your Business Central Company. More details.
The unique identifier of a ticket
Headers
Used for API versioning. More details.
Request body
Response
Response with status 200
Changes
- breaking
the request's body type changed from no type to
object - breaking
the response's body type changed from no type to
objectfor status - warning
deleted the
headerrequest parameterx-np-api-key - info
the endpoint scheme security
NPApiKeyAuthSchemewas added to the API - info
added the new optional request property
- info
added the new optional request property
- info
for the
pathrequest parameterticketId, the type was generalized from no type tostring, and format from no format touuid - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
api operation id
validate-departureremoved and replaced withticketing_serviceTicket_validateDeparture
- info