Versions Compared

Key

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

Operation

Returns a paginated list of ReservationRoomStay

Rw ui textbox macro
typewarning

Only accessible with permission of pms.integration.reservation


Style
table {
width: 100%;
}
body.page-gadget {
padding-top: 20px;
}
.separator{
margin: 5px 0;
}



Div
style background-color: green; color: white; display: inline-block; padding: 5px; border-radius: 3px;

GET



Div
stylebackground-color: #0a2b1d; padding: 10px 1em; display: inline-block; color: white; border-radius: 3px;

https://{environment}.ulysescloud.com/public/api/v1/con/chain/{chainId}/property/{propertyId}/reservationRoomStay



Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdinttruepath parameter
Unique identificator of the chain.
propertyIdinttruepath parameter
Unique identificator of the property.

otaLocator

Stringfalserequest parameter

pmsLocator

Stringfalserequest parameter

crsLocator

Stringfalserequest parameter

cmLocator

Stringfalserequest parameter

arrivalFromdatefalserequest parameter

arrivalTodatefalserequest parameter

departureFromdatefalserequest parameter

departureTodatefalserequest parameter

stayFromdatefalserequest parameter

stayTodatefalserequest parameter

createdFromdateTimefalserequest parameter

createdTodateTimefalserequest parameter

reservationStatusTypeIdlist of intfalserequest parameter

roomIdlist of intfalserequest parameter

offsetintfalserequest parameter

limitintfalserequest parameter

sortstringfalserequest parameter

sortModestringfalserequest parameter


Example request

Code Block
languagepowershell
themeDJango
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/1/reservationRoomStay



Response

PropertyTypeRequiredDescription
PagePagetrue

Entity


Insert excerpt
ReservationRoomStay
ReservationRoomStay
nopaneltrue

Example response

Code Block
themeDJango
{
    "count": 7,
    "offset": 0,
    "limit": 2,
    "list": [
        {
            "id": 1,
            "reservationStatusType": {
                "id": 4,
                "code": "IH",
                "name": "InHouse",
                "nameI18n": "InHouse",
                "colorCode": "#64b5f6"
            },
            "arrival": "2021-03-16",
            "departure": "2021-03-17",
            "arrivalTime": "01:00:00",
            "departureTime": "00:00:00",
            "quantity": 1,
            "accommodation": {
                "id": 692,
                "name": "Double",
                "roomType": {
                    "id": 17,
                    "name": "Double",
                    "nameI18n": "Double",
                    "mainImage": "1/2/propertyroomtypeimages/c7faf58c-c47c-490f-a5c8-a4e8e5d0bc12.jpg"
                }
            },
            "room": {
                "id": 1,
                "code": "101",
                "name": "101",
                "roomSpaceStatusType": {
                    "id": 2,
                    "code": "DI",
                    "name": "Dirty",
                    "nameI18n": "Dirty"
                },
                "reservationRoomStay": null,
                "roomSituationType": {
                    "id": 2,
                    "code": "OC",
                    "name": "Occupied",
                    "nameI18n": "Occupied"
                }
            },
            "adult": 2,
            "junior": 1,
            "child": 1,
            "infant": 1,
            "accommodationAmount": 0.000000,
            "boardAmount": 0.000000,
            "serviceAmount": 0.000000,
            "totalAmount": 0.000000,
            "productFee": {
                "id": 797,
                "name": "City Tax Barcelona"
            },
            "pmsLocator": "ALI00000001/1",
            "crsLocator": null,
            "otaLocator": null,
            "cmLocator": null,
            "remark": null,
            "reservationRoomStayGuests": [
                {
                    "id": 1,
                    "documentType": {
                        "id": 5,
                        "code": "D",
                        "name": "National identity document",
                        "nameI18n": "National identity document"
                    },
                    "documentNumber": "DOC 6",
                    "givenName": "Marilyn",
                    "surName": "Angèle",
                    "secondSurName": "Roberts",
                    "genderType": {
                        "id": 1,
                        "code": "M",
                        "name": "Male",
                        "nameI18n": "Male"
                    },
                    "birthDate": "2000-01-01",
                    "birthCountryCode": "ES",
                    "birthPlace": "Lansing",
                    "effectiveDate": "2015-06-15",
                    "expireDate": "2024-01-01",
                    "street": null,
                    "city": null,
                    "stateProvName": "Michigan",
                    "stateProvCode": null,
                    "countryCode": "NR",
                    "postalCode": "48901",
                    "nationalityCountryCode": "NR",
                    "countryOfIssuanceCode": "NR",
                    "ocr": null,
                    "email": "mroberts5t@is.gd",
                    "phoneNumber": "1-(517)462-0078",
                    "allowMarketing": false,
                    "allowThirdParty": false,
                    "language": {
                        "id": 1,
                        "code": "ES",
                        "name": "Spanish",
                        "nameI18n": "Spanish"
                    }
                },
                {
                    "id": 2,
                    "documentType": {
                        "id": 5,
                        "code": "D",
                        "name": "National identity document",
                        "nameI18n": "National identity document"
                    },
                    "documentNumber": "DOC 9",
                    "givenName": "Walter",
                    "surName": "Åke",
                    "secondSurName": "Webb",
                    "genderType": {
                        "id": 1,
                        "code": "M",
                        "name": "Male",
                        "nameI18n": "Male"
                    },
                    "birthDate": "2000-01-01",
                    "birthCountryCode": "ES",
                    "birthPlace": "New York City",
                    "effectiveDate": "2015-06-15",
                    "expireDate": "2024-01-01",
                    "street": null,
                    "city": null,
                    "stateProvName": "New York",
                    "stateProvCode": null,
                    "countryCode": "EH",
                    "postalCode": "10110",
                    "nationalityCountryCode": "EH",
                    "countryOfIssuanceCode": "EH",
                    "ocr": null,
                    "email": "wwebbo3@microsoft.com",
                    "phoneNumber": "1-(646)870-8357",
                    "allowMarketing": false,
                    "allowThirdParty": false,
                    "language": {
                        "id": 1,
                        "code": "ES",
                        "name": "Spanish",
                        "nameI18n": "Spanish"
                    }
                }
            ],
            "mainBoard": {
                "id": 5,
                "code": "RO",
                "name": "Room Only",
                "serviceList": null
            },
            "reservationRoomStayDaily": [
                {
                    "id": 1,
                    "date": "2021-03-16",
                    "room": {
                        "id": 1,
                        "code": "101",
                        "name": "101",
                        "roomSpaceStatusType": {
                            "id": 2,
                            "code": "DI",
                            "name": "Dirty",
                            "nameI18n": "Dirty"
                        },
                        "reservationRoomStay": null,
                        "roomSituationType": {
                            "id": 2,
                            "code": "OC",
                            "name": "Occupied",
                            "nameI18n": "Occupied"
                        }
                    },
                    "allotment": null,
                    "rate": null,
                    "amountBeforeTax": 0.000000,
                    "amountAfterTax": 0.000000,
                    "centralAccommodationPercentageCommission": null,
                    "centralAccommodationAmountCommission": null,
                    "centralBoardPercentageCommission": null,
                    "centralBoardAmountCommission": null,
                    "companyAccommodationPercentageCommission": null,
                    "companyAccommodationAmountCommission": null,
                    "companyBoardPercentageCommission": null,
                    "companyBoardAmountCommission": null,
                    "bookerAccommodationPercentageCommission": null,
                    "bookerAccommodationAmountCommission": null,
                    "bookerBoardPercentageCommission": null,
                    "bookerBoardAmountCommission": null,
                    "billToAccommodationPercentageCommission": null,
                    "billToAccommodationAmountCommission": null,
                    "billToBoardPercentageCommission": null,
                    "billToBoardAmountCommission": null,
                    "billToAccommodationPercentageDiscount": null,
                    "billToAccommodationAmountDiscount": null,
                    "billToBoardPercentageDiscount": null,
                    "billToBoardAmountDiscount": null,
                    "currency": {
                        "id": 1,
                        "code": "EUR",
                        "name": "Euro",
                        "nameI18n": "Euro",
                        "symbol": "€",
                        "decimalPlaces": 2
                    },
                    "offer": null,
                    "offerAmountDiscount": null,
                    "offerPercentDiscount": null,
                    "promotion": null,
                    "promotionAmountDiscount": null,
                    "promotionPercentDiscount": null,
                    "board": {
                        "id": 5,
                        "code": "RO",
                        "name": "Room Only",
                        "serviceList": null
                    },
                    "boardPriceAdult": 0.000000,
                    "boardPriceJunior": 0.000000,
                    "boardPriceChild": 0.000000,
                    "boardPriceInfant": 0.000000,
                    "paymentType": {
                        "id": 1,
                        "code": "G",
                        "name": "Pay Guest",
                        "nameI18n": "Pay Guest"
                    },
                    "propertyPolicy": {
                        "id": 12,
                        "code": "24H",
                        "name": "24 Hours 1 Night"
                    },
                    "propertySource": {
                        "id": 13,
                        "code": "PHO",
                        "name": "Phone"
                    },
                    "propertySegment": {
                        "id": 31,
                        "code": "CREWS",
                        "name": "Crews"
                    },
                    "propertyChannel": {
                        "id": 12,
                        "code": "WEBM",
                        "name": "Booking Engine Mobile"
                    },
                    "booker": null,
                    "billTo": null,
                    "central": null,
                    "company": null,
                    "reservationGroup": null
                }
            ],
            "reservationRoomStayServiceList": null,
            "createdDate": "2021-04-15T14:29:45.151Z",
            "modifiedDate": "2021-04-16T14:59:53.891Z"
        },
        {
            "id": 2,
            "reservationStatusType": {
                "id": 3,
                "code": "NS",
                "name": "NoShow",
                "nameI18n": "NoShow",
                "colorCode": "#000000"
            },
            "arrival": "2021-03-16",
            "departure": "2021-03-17",
            "arrivalTime": null,
            "departureTime": null,
            "quantity": 1,
            "accommodation": {
                "id": 692,
                "name": "Double",
                "roomType": {
                    "id": 17,
                    "name": "Double",
                    "nameI18n": "Double",
                    "mainImage": "1/2/propertyroomtypeimages/c7faf58c-c47c-490f-a5c8-a4e8e5d0bc12.jpg"
                }
            },
            "room": null,
            "adult": 2,
            "junior": 1,
            "child": 1,
            "infant": 0,
            "accommodationAmount": 0.000000,
            "boardAmount": 0.000000,
            "serviceAmount": 0.000000,
            "totalAmount": 0.000000,
            "productFee": {
                "id": 797,
                "name": "City Tax Barcelona"
            },
            "pmsLocator": "ALI00000002/2",
            "crsLocator": null,
            "otaLocator": null,
            "cmLocator": null,
            "remark": null,
            "reservationRoomStayGuests": [
                {
                    "id": 3,
                    "documentType": null,
                    "documentNumber": null,
                    "givenName": "TEST 2",
                    "surName": null,
                    "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"
                    }
                },
                {
                    "id": 4,
                    "documentType": null,
                    "documentNumber": null,
                    "givenName": null,
                    "surName": null,
                    "secondSurName": null,
                    "genderType": null,
                    "birthDate": null,
                    "birthCountryCode": null,
                    "birthPlace": null,
                    "effectiveDate": null,
                    "expireDate": null,
                    "street": null,
                    "city": null,
                    "stateProvName": null,
                    "stateProvCode": null,
                    "countryCode": null,
                    "postalCode": null,
                    "nationalityCountryCode": null,
                    "countryOfIssuanceCode": null,
                    "ocr": null,
                    "email": null,
                    "phoneNumber": null,
                    "allowMarketing": null,
                    "allowThirdParty": null,
                    "language": null
                }
            ],
            "mainBoard": {
                "id": 5,
                "code": "RO",
                "name": "Room Only",
                "serviceList": null
            },
            "reservationRoomStayDaily": [
                {
                    "id": 2,
                    "date": "2021-03-16",
                    "room": null,
                    "allotment": null,
                    "rate": null,
                    "amountBeforeTax": 0.000000,
                    "amountAfterTax": 0.000000,
                    "centralAccommodationPercentageCommission": null,
                    "centralAccommodationAmountCommission": null,
                    "centralBoardPercentageCommission": null,
                    "centralBoardAmountCommission": null,
                    "companyAccommodationPercentageCommission": null,
                    "companyAccommodationAmountCommission": null,
                    "companyBoardPercentageCommission": null,
                    "companyBoardAmountCommission": null,
                    "bookerAccommodationPercentageCommission": null,
                    "bookerAccommodationAmountCommission": null,
                    "bookerBoardPercentageCommission": null,
                    "bookerBoardAmountCommission": null,
                    "billToAccommodationPercentageCommission": null,
                    "billToAccommodationAmountCommission": null,
                    "billToBoardPercentageCommission": null,
                    "billToBoardAmountCommission": null,
                    "billToAccommodationPercentageDiscount": null,
                    "billToAccommodationAmountDiscount": null,
                    "billToBoardPercentageDiscount": null,
                    "billToBoardAmountDiscount": null,
                    "currency": {
                        "id": 1,
                        "code": "EUR",
                        "name": "Euro",
                        "nameI18n": "Euro",
                        "symbol": "€",
                        "decimalPlaces": 2
                    },
                    "offer": null,
                    "offerAmountDiscount": null,
                    "offerPercentDiscount": null,
                    "promotion": null,
                    "promotionAmountDiscount": null,
                    "promotionPercentDiscount": null,
                    "board": {
                        "id": 5,
                        "code": "RO",
                        "name": "Room Only",
                        "serviceList": null
                    },
                    "boardPriceAdult": 0.000000,
                    "boardPriceJunior": 0.000000,
                    "boardPriceChild": 0.000000,
                    "boardPriceInfant": 0.000000,
                    "paymentType": {
                        "id": 1,
                        "code": "G",
                        "name": "Pay Guest",
                        "nameI18n": "Pay Guest"
                    },
                    "propertyPolicy": {
                        "id": 12,
                        "code": "24H",
                        "name": "24 Hours 1 Night"
                    },
                    "propertySource": {
                        "id": 13,
                        "code": "PHO",
                        "name": "Phone"
                    },
                    "propertySegment": {
                        "id": 31,
                        "code": "CREWS",
                        "name": "Crews"
                    },
                    "propertyChannel": {
                        "id": 12,
                        "code": "WEBM",
                        "name": "Booking Engine Mobile"
                    },
                    "booker": null,
                    "billTo": null,
                    "central": null,
                    "company": null,
                    "reservationGroup": null
                }
            ],
            "reservationRoomStayServiceList": null,
            "createdDate": "2021-04-15T14:30:14.781Z",
            "modifiedDate": "2021-04-16T14:18:45.026Z"
        }
    ]
}