Assigns the external system identifier to a booking created by an external system that does not have one yet.
POST/api/booking/:bookingId/external-system-id
Requires the CanAccessAdminApi permission, and the booking must belong to the authenticated user and have been created by an external system. The identifier can only be set once: the request fails if the booking already has an external system identifier, or if the provided value is already used by another non-cancelled booking.
Request
Responses
- 200
- 400
- 403
Updates the ExternalSystemId of a booking created by an external system
Api Error
Unauthenticated user