Operation
Returns a paginated list of ReservationRoomStay
GET
https://{environment}.ulysescloud.com/api/v1/chain/{chainId}/property/{propertyId}/reservationRoomStay
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
chainId | int | true | Unique identificator of the chain. | |
propertyId | int | true | Unique identificator of the property. | |
otaLocator | String | false | ||
pmsLocator | String | false | ||
crsLocator | String | false | ||
cmLocator | String | false | ||
arrivalFrom | date | false | ||
arrivalTo | date | false | ||
departureFrom | date | false | ||
departureTo | date | false | ||
stayFrom | date | false | ||
stayTo | date | false | ||
createdFrom | dateTime | false | ||
createdTo | dateTime | false | ||
reservationStatusTypeId | int | false | ||
reservationSituationTypeId | int | false | ||
offset | int | false | 0 | |
limit | int | false | 10 | |
sort | string | false | Id | |
sortMode | string | false | Desc |
Example request
GET https://prod.ulysescloud.com/api/v1/chain/1/property/1/reservationRoomStay
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true |
Entity
Field | Type | Required | Description |
---|---|---|---|
id | int | false | Unique identifier for the Reservation. |
reservationStatusType | ReservationStatusType | false | Status |
reservationSituationType | ReservationSituationType | false | Situation of the Reservation Room Stay |
arrival | string | false | Date of arrival (yyyy-MM-dd). |
departure | string | false | Date of departure (yyyy-MM-dd). |
arrivalTime | string | false | Time of arrival (HH:mm:ss). |
departureTime | string | false | Time of arrival (HH:mm:ss). |
quantity | int | false | Amount of accommodations |
accommodation | Accommodation | false | The type of Acoommodation |
room | Room | false | Room asigned. |
adult | int | false | Amount of adults. |
junior | int | false | Amount of juniors. |
child | int | false | Amount of childs. |
infant | int | false | Amount of infants. |
accomodationAmount | bigDecimal | false | Amount of the accomodation. |
boardAmount | bigDecimal | false | Amount of the boards. |
serviceAmount | bigDecimal | false | Amount of the services. |
totalAmount | bigDecimal | false | Total amount of the stay. |
productFee | Fee | false | The type of fee applied to this ReservationRoomStay |
pmsLocator | string | false | Locator used in the PMS. |
crsLocator | string | false | Locator used in the CRS. |
otaLocator | string | false | Locator used in the OTA. |
cmLocator | string | false | Locator used in the CM. |
remark | string | false | |
reservationRoomStayGuests | Array of ReservationRoomStayGuest | true | Guests that has this ReservationRoomStay. |
mainBoard | Board | true | Board associated to this ReservationRoomStay. |
reservationRoomStayDaily | Array of ReservationRoomStayDaily | true | |
reservationRoomStayServiceList | Array of ReservationRoomStayService | true | |
createdDate | LocalDateTime | false | |
modifiedDate | LocalDateTime | false | |
mainBooker | Company | false | |
mainBillTo | Company | false | |
mainCentral | Company | false | |
mainCompany | Company | false | |
mainRate | Rate | false | |
mainOffer | Offer | false | |
mainPromotion | Promotion | false | |
deposit | ReservationDeposit | false | |
reservationType | ReservationType | false | |
reservationRoomStayCustomFieldValueSet | List<ReservationRoomStayCustomFieldValue> | false | |
Property | Property | false |
Example response
{ "count": 38, "offset": 0, "limit": 1, "list": [{ "id": 3, "reservationStatusType": { "id": 5, "code": "CO", "name": "CheckedOut" }, "arrival": "2019-06-20", "departure": "2019-06-21", "arrivalTime": null, "departureTime": null, "quantity": 1, "accommodation": { "id": 92, "name": "Family" }, "adult": 1, "junior": 0, "child": 0, "infant": 0, "productFee": { "id": 1, "name": "City Tax Barcelona" }, "adultFee": 1, "juniorFee": 0, "childFee": 0, "infantFee": 0, "pmsLocator": "XS0000000003/3", "crsLocator": null, "otaLocator": null, "cmLocator": null, "remark": null, "mainProductBoard": null, "reservationRoomStayGuests": [{ "id": 6, "documentType": { "id": 5, "code": "5", "name": "National identity document" }, "documentNumber": "cJlUaQaW", "givenName": "Martha", "middleName": "Mégane", "surName": "Peterson", "genderType": { "id": 2, "code": "F", "name": "Female" }, "birthDate": "2001-07-18", "birthCountry": { "id": 199, "code": "ESP", "name": "SPAIN" }, "birthPlace": "Chicago", "effectiveDate": "2018-07-18", "expireDate": "2018-07-18", "street": "9036 Lien Place", "city": "Chicago", "stateProvName": null, "stateProv": { "id": 24, "code": "ES-H", "name": "Huelva", "country": { "id": 199, "code": "ESP", "name": "SPAIN" } }, "country": { "id": 199, "code": "ESP", "name": "SPAIN" }, "postalCode": "60636", "nationalityCountry": { "id": 199, "code": "ESP", "name": "SPAIN" }, "ocr": null, "email": "bbutler65@hao123.com", "phoneNumber": "1-(773)942-9428" }], "reservationRoomStayDaily": [{ "id": 3, "date": "2019-06-20", "allotment": null, "rate": { "id": 2, "code": "BB", "name": "Bed And Breakfast" }, "price": 248.800000, "currency": { "id": 1, "code": "EUR", "name": "Euro" }, "offer": { "id": 3, "code": "MIN7N", "name": "Minimum 7 nights" }, "offerAmountDiscount": 0.000000, "offerPercentDiscount": 20.000000, "promotion": null, "promotionAmountDiscount": null, "promotionPercentDiscount": null, "productBoard": { "id": 167, "name": "FullBoard" }, "boardPriceAdult": 20.000000, "boardPriceJunior": 15.000000, "boardPriceChild": null, "boardPriceInfant": null, "paymentType": { "id": 3, "code": "A", "name": "Pay Agency" }, "propertyPolicy": { "id": 62, "code": "48H", "name": "48 Hours Before Arrival" }, "propertySource": { "id": 62, "code": "EMA", "name": "Email" }, "propertySegment": { "id": 107, "code": "DUSE", "name": "Day Use" }, "propertyChannel": { "id": 17, "code": "GDS", "name": "GDS" }, "booker": null, "billTo": { "id": 377, "name": "World 2 Meet" }, "central": null, "company": { "id": 132, "name": "BestDay" } }], "reservationRoomStayServiceList": [{ "id": 6, "service": { "id": 347, "name": "Meeting Room" }, "startDate": "2019-06-20", "endDate": "2019-06-21", "quantity": 1, "reservationRoomStayServiceDailyList": [{ "id": 11, "date": "2019-06-20", "rate": null, "price": 10.000000, "currency": { "id": 1, "code": "EUR", "name": "Euro" }, "offer": null, "offerAmountDiscount": null, "offerPercentDiscount": null, "promotion": null, "promotionAmountDiscount": null, "promotionPercentDiscount": null, "postingDate": null }, { "id": 12, "date": "2019-06-21", "rate": null, "price": 10.000000, "currency": { "id": 1, "code": "EUR", "name": "Euro" }, "offer": null, "offerAmountDiscount": null, "offerPercentDiscount": null, "promotion": null, "promotionAmountDiscount": null, "promotionPercentDiscount": null, "postingDate": "2019-07-18" } ] }], "reservationRoomStayAssignDailyList": [{ "id": 3, "date": "2019-06-20", "room": { "id": 6, "code": "106", "name": "R106", "roomSpaceStatusType": { "id": 2, "code": "DI", "name": "Dirty" } } }] }] }