Find Price for Rate by base price [GET]
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/{rateId}/availability/basePrice
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | ||
propertyId | Integer | true | path parameter | ||
rateId | Integer | true | path parameter | ||
withRestrictions | boolean | false | requestParam |
Example request
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/rate/2/availability/basePrice
Response
Field Type Required Description rate Rate true Rate of this relationship. rateBasePriceAvailabilityList Array of RateBasePriceAvailability true The list of related availability per day.
Example response
{ "rate": { "id": 32, "code": "FIT", "name": "FIT", "rateType": { "id": 10, "code": "PAC", "name": "Package" } }, "rateBasePriceAvailabilityList": [{ "date": "2022-11-18", "price": 192.000000, "closed": true, "minStay": 0, "maxStay": 0, "closedToArrival": false, "closedToDeparture": false }, { "date": "2022-11-19", "price": 165.000000, "closed": true, "minStay": 0, "maxStay": 0, "closedToArrival": false, "closedToDeparture": false } ] }