Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

UlysesCloud allows you to filter the ReservationRoomStay's of a property based on different options. The technical specification is in the entity page and in the API endpoint page dedicated to ReservationRoomStay.

...

Let's say that you need to check the inHouse reservations. "inHouse" refers to a situation, and these can be checked at reservationSituationType at reservationSituationType endpoint. If you use that endpoint you will find a list similar to this one:

Code Block
themeDJango
[{
	"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:

Code Block
languagepowershell
themeDJango
http://{ulysescloudURL}/public/api/v1/chain/1/property/3/reservation?reservationSituationTypeId=

...

3

...

Filtering by the reservations that arrive today

...