ReferenceRate [GET]
Operation
Returns the Reference Rate configured in Property Preferences.
GET
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/rate/referenceRate
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | ||
propertyId | Integer | true | path parameter | ||
productId | Integer | false | request parameter | ||
adult | Integer | false | request parameter | ||
junior | Integer | false | request parameter | ||
child | Integer | false | request parameter | ||
infant | Integer | false | request parameter | ||
offset | LocalDate | false | request parameter | ||
limit | Integer | false | request parameter | 10 |
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
Field Type Required Description chainProductId Integer false Id of the chainRoomType. chainProductCode String false Code of the chainRoomType. productName String false Name of the productName. productId Integer false Id of the productId. ProductOccupancySet List<ProductOccupancy> false List of entities Product Occupancy
Example response
[ { "chainProductId": 47, "chainProductCode": "SGL", "productName": "Single", "productId": 692, "productOccupancySet": [ { "id": 1, "product": { "id": 692, "chainProductId": 47, "code": "SGL", "name": "Single", "nameI18n": "Single", "productType": { "id": 1, "code": "ACC", "name": "Accommodation", "nameI18n": "Accommodation" } }, "adult": 1, "junior": 0, "child": 0, "infant": 0, "rateProductOccupancySet": [ { "id": 1, "rateId": 2, "productOccupancyId": 1, "rateProductOccupancyAvailabilitySet": [ { "id": 920, "rateProductOccupancyId": 1, "date": "2023-01-01", "amountAfterTax": 193, "closed": false, "minStay": 0, "maxStay": 0, "closedToArrival": false, "closedToDeparture": false, "percentDiscount": null, "amountDiscount": null } ] } ] } ] } ]