Hotel API · Inventory (push / pull)
RetrieveRooms()
This function is dedicated to retrieve the rooms price, availability, release date, minimum stay for a date range.
Request
https://{Endpoint_Url}/hotel/RetrieveRooms?user={USER}&login={LOGIN}&password={PASSWORD}&cr_id={CR_ID}&room_code={ROOM_CODE}&start_date={START_DATE}&end_date={END_DATE}| Root | Description | Values & Format | Tag |
|---|---|---|---|
| Endpoint_Url | endpoint url | String | Mandatory |
| login | String | Mandatory | |
| password | String | Mandatory | |
| user | Id of user on CYBERESA SYSTEM | Integer | Mandatory |
| cr_id | Id of hotel on CYBERESA SYSTEM | Integer | Mandatory |
| start_date | update room from date | dd/mm/yyyy | Mandatory |
| end_date | update room to date | dd/mm/yyyy | Mandatory |
| room_code | Id of rooms (separated by ;) | String | You can pass multiple rooms in one request by separating them with ; if room_code is null, it will |
Response
{
"cr_id": ?,
"start_date": "?",
"end_date": "?",
"status": "?",
"error_id": null
"error_message": null
}| Root | Description | Values & Format | Tag |
|---|---|---|---|
| cr_id | Id of hotel on CYBERESA SYSTEM | Integer | Mandatory |
| room_code | Id of room | ||
| start_date | update room from date | dd/mm/yyyy | Mandatory |
| end_date | update room to date | dd/mm/yyyy | Mandatory |
| status | succeeded or failed | String | Mandatory |
| dd/mm/yyyy hh:mm:ss.000 |