Operation
Returns the prices in availability of a Rate for every date selected in range.
Rw ui textbox macro | ||
---|---|---|
| ||
Only accessible with permission of pms.integration.profilerate |
Style |
---|
table { width: 100%; } body.page-gadget { padding-top: 20px; } .separator{ margin: 5px 0; } |
Div | ||
---|---|---|
| ||
GET |
Div | ||
---|---|---|
| ||
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
Code Block | ||||
---|---|---|---|---|
| ||||
GET https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/rate/referenceRate?offset=2023-08-01&limit=25 |
Response
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example response
Code Block | ||
---|---|---|
| ||
[ { "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 } ] } ] } ] } ] |