v1
latestSwagger 2.02026-07-141993129.2 KBAssign a room to a reservation.
By default this API call assigns a random room, which has the proper room type, is not already assigned to another reservation or has any maintenance status set for the stay period of the underlying reservation. If the arrival date for the underlying reservation is the current business day dirty rooms are excluded by default. For reservation arriving on any latter day the room condition is not taken into account.<br /> By specifiying the room selection criteria in the request body you can influence which room will be assigned. See the request model for further details.<br /> For more details on how the API responds to errors please check our documentation on <a href="https://developer.hetras.com/docs/errors/" onfocus="this.blur()">Error Handling</a>.
Path parameters
The confirmation id for the booking the reservation was made.
Specifies the reservation number for the reservation the room should be assigned to.
Headers
Application identifier
Application key.
Request body
Response
The room assignment was successful. The Reponse would contain the room number assigned.