Guest list from Reservation Room Stay [GET]
Operation
Returns a paginated list of ReservationRoomStay
GET
https://{environment}.ulysescloud.com/public/api/v1/con/chain/{chainId}/property/{propertyId}/reservationRoomStay/reservationRoomStayGuest
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | int | true | path parameter | Unique identificator of the chain. | |
propertyId | int | true | path parameter | Unique identificator of the property. | |
otaLocator | String | false | request parameter | ||
pmsLocator | String | false | request parameter | ||
crsLocator | String | false | request parameter | ||
cmLocator | String | false | request parameter | ||
arrivalFrom | date | false | request parameter | ||
arrivalTo | date | false | request parameter | ||
departureFrom | date | false | request parameter | ||
departureTo | date | false | request parameter | ||
stayFrom | date | false | request parameter | ||
stayTo | date | false | request parameter | ||
createdFrom | dateTime | false | request parameter | ||
createdTo | dateTime | false | request parameter | ||
reservationStatusTypeId | list of int | false | request parameter | ||
roomId | list of int | false | request parameter | ||
roomCodeList | list of String | false | request parameter | ||
offset | int | false | request parameter | ||
limit | int | false | request parameter | ||
sort | string | false | request parameter | ||
sortMode | string | false | request parameter |
Example request
GET https://publicapi-providers.ulysescloud.com/public/api/v1/con/chain/1/property/1/reservationRoomStay/reservationRoomStayGuest
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": 7, "offset": 0, "limit": 1, "list": [{ "id": 11766, "reservationStatusType": { "id": 1, "code": "RES", "name": "Reserved", "nameI18n": "Reserved", "colorCode": "#43a047" }, "arrival": "2021-08-01", "departure": "2021-08-02", "arrivalTime": null, "departureTime": null, "quantity": 1, "accommodation": { "id": 707, "name": "Double", "roomType": { "id": 17, "name": "Double", "nameI18n": "Double", "mainImage": "1/2/propertyroomtypeimages/6e8184e4-ecc6-4d86-a56d-24d3776688df.jpg" } }, "room": { "id": 2, "code": "102", "name": "102", "roomSpaceStatusType": { "id": 2, "code": "DI", "name": "Dirty", "nameI18n": "Dirty" }, "reservationRoomStay": null, "roomSituationType": { "id": 2, "code": "OC", "name": "Occupied", "nameI18n": "Occupied" } }, "adult": 2, "junior": 0, "child": 0, "infant": 0, "accommodationAmount": null, "boardAmount": null, "serviceAmount": null, "totalAmount": null, "productFee": { "id": 812, "name": "City Tax Barcelona" }, "pmsLocator": "ALI00006915/11766", "crsLocator": null, "otaLocator": null, "cmLocator": null, "remark": null, "reservationRoomStayGuests": [{ "id": 22045, "documentType": null, "documentNumber": null, "givenName": "test", "surName": "test", "secondSurName": null, "genderType": null, "birthDate": null, "birthCountryCode": null, "birthPlace": null, "effectiveDate": null, "expireDate": null, "street": null, "city": null, "stateProvName": null, "stateProvCode": null, "countryCode": "ES", "postalCode": null, "nationalityCountryCode": null, "countryOfIssuanceCode": null, "ocr": null, "email": null, "phoneNumber": null, "allowMarketing": null, "allowThirdParty": null, "language": { "id": 1, "code": "ES", "name": "Spanish", "nameI18n": "Spanish" } }], "reservationRoomStayDaily": null, "reservationRoomStayServiceList": null, "mainBoard": { "id": 5, "code": "RO", "name": "Room Only", "serviceList": null } "createdDate": "2021-06-24T15:54:16.890Z", "modifiedDate": "2021-06-24T16:32:29.219Z", "deposit": { "productPayment" : { "code" : "VI" }, "amount" : 100, "productDeposit" : { "code" : "DEPRE" }, "chargeId":"ch_3MA9wDGjGBQ6ROtO0Rm9mtudss" } }] }