...
Let's say that you need to check the inHouse reservations. "inHouse" refers to a situation, and these can be checked at reservationSituationType endpoint. If you use that endpoint you will find a list similar to this one:
Wiki Markupcode | ||
---|---|---|
| ||
[ { "id": 1, "code": "CI", "name": "CheckIn" }, { "id": 2, "code": "CO", "name": "CheckOut" }, { "id": 3, "code": "IH", "name": "InHouse" }, { "id": 4, "code": "PEN", "name": "Pending" }, { "id": 5, "code": "NS", "name": "NoShow" } ] |
You can use the id 3 in the reservationRoomStay endpoint like this:
http://{ulysescloudURL}/public/api/v1/chain/1/property/3/reservation?reservationSituationTypeId=3You can use the id 3 in the reservationRoomStay endpoint like this:
Filtering by the reservations that arrive today
...