Operation
Updates the prices in Occupancy type of a Rate for certain accommodations and dateslist of Rates ProductOccupancy Availability by Interval list.
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 | ||
---|---|---|
| ||
PUT |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/rate/rateProductOccupancy/rateProductOccupancyAvailability/interval |
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | ||
propertyId | Integer | true | path parameter |
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
PUT https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/rate/rateProductOccupancy/rateProductOccupancyAvailability/interval |
Entity
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example Body
The body that will be sent in the operation
Code Block | ||
---|---|---|
| ||
{ "rateList":[ { { "id":2}, 2, "code": "BAR", "name": "Best Available Rate", "rateType": { "id":17}, 13, {"idcode":32}, "SEN", {"idname":92 "Senior Citizen" } } ], "intervalListaccommodationList": [ { "startDateid": "2023-10-23"692, "endDatename": "2023-10-31Single", "mondaycode": truenull, "roomType": { "tuesday "id": true2, "wednesdaychainRoomTypeId": true1, "thursday "name": true"Single", "friday "nameI18n": true"Single", "saturday "mainImage": true"1/2/propertyroomtypeimages/cdded556-6308-4f88-8cd8-7b4b836b4bba.jpg", "sunday "active": true } } ], "intervalList": [ { "startDate": "2023-1110-1923", "endDate": "2023-1110-3031", "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "sunday": true }, ],{ "accommodationListstartDate": ["2023-11-19", 692"endDate": "2023-11-30", 707, "monday": true, "tuesday": 722true, 737,"wednesday": true, 752,"thursday": true, "friday": 767true, 782,"saturday": true, 797, "sunday": true 812} ], "closed": false, "closedToArrival": true, "closedToDeparture": false, "maxStay": "7", "minStay": "1", "updateClosed": true, "updateClosedToArrival": true, "updateClosedToDeparture": true, "updateMaxStay": true, "updateMinStay": true } |
Response
Property | Type | Required | Description |
---|---|---|---|
ResponseApiMessage | ResponseApiMessage | true | Description of the response of the success operation |
Example response
Code Block | ||
---|---|---|
| ||
{ "httpStatus": "201", "userMessage": "Success", "technicalMessage": "Success rateProductServiceAvailabilityRateProductOccupancyAvailability Interval List updated ", "errorCode": "0", "moreInfo": "0", "id": 0, "entity": null, "responseApiErrorList": null } |