Create a new accommodation for a booking
POST/bookings/:bookingId/accommodations
Returns 202 with the ID and href of the newly created accommodation. The accommodation is accepted and being processed.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 500
Accommodation successfully created and is being processed. Returns the ID and href of the new accommodation.
The server could not understand the request due to invalid syntax.
Access is unauthorized.
Access is forbidden.
The server cannot find the requested resource.
The request conflicts with the current state of the server.
Server error