Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Operation

Returns the prices in availability of a Rate for every date selected in range.

GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/rate/referenceRate


Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter

propertyIdIntegertruepath parameter

rateIdIntegertruepath parameter

productIdIntegerfalserequest parameter

adultIntegerfalserequest parameter

juniorIntegerfalserequest parameter

childIntegerfalserequest parameter

infantIntegerfalserequest parameter

Example request

GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/rate/referenceRate?offset=2023-08-01&limit=25


Response


FieldTypeRequiredDescription
chainProductIdIntegerfalseId of the chainRoomType.
chainProductCodeStringfalseCode of the chainRoomType.
productNameStringfalseName  of the productName.
productIdIntegerfalseId of the productId.
ProductOccupancySetList<ProductOccupancy>falseList of entities Product Occupancy

Example response

[
    {
        "chainProductId": 47,
        "chainProductCode": "SGL",
        "productName": "Single",
        "productId": 692,
        "adult": 1,
        "junior": 0,
        "child": 0,
        "infant": 0",
		"date": "2023-08-01",
        "amountAfterTax": 199.000000,
        "closed": false,
        "minStay": 0,
        "maxStay": 0,
        "closedToArrival": true,
        "closedToDeparture": false,
        "quantityAvailable": 4
    }...
]
  • No labels