rt_get_rate_group
Description
Returns a list of rate group detail structures containing “id”, “desc”, “abbrv”, “class” and “default”.
“class” return values:
10 – adult
20 – child
“default” return values:
1 – default for this class
0 – normal
Version
Available from version 5.25.0.
Access
Read-only, master access not required, available to all users.
Parameters
Number | Name | O/R | Usage |
---|---|---|---|
1 | Auth | Required | Authentication structure.* |
2 | Accommodation | Required | “Id” of the accommodation type to return stock for. Case sensitive. |
3 | Arrival date | Optional | Date from which the accommodation would be required. If left blank the current date is used. |
4 | Departure date | Optional | Date to which the accommodation would be required. If left blank then one day after the arrival date is used. |
5 | Rate type | Optional | “Id” of the rate type to use. If left blank the user’s default rate type is used. Case sensitive. |
Example
Request
{ "method": "rt_get_rate_group", "params": [ { "bridge_username":"username", "bridge_password":"password", "link_id":"4" }, "WB7", "", "", "" ], "id": 1 }
Response
{ "id": 1, "error": null, "result": [ { "id": "RS1", "desc": "Unit", "abbrv": "UNIT", "class": "0", "default": 1 }, { "id": "RS2", "desc": "Adult", "abbrv": "AD", "class": "1", "default": 1 }, { "id": "RS3", "desc": "Child", "abbrv": "CH", "class": "2", "default": 1 } ] }
Keep up to date with us
Menu
Visit our website
ResRequest Modules
- Business Intelligence
- Central Reservations
- Channel Management
- Customer Relationship Management
- Developer
- Email Series 2022
- Email Series 2023
- Financial Management
- Marketing tools
- Payment Gateways
- Point of sale
- Product
- Professional Services
- Property Management
- ResConnect
- ResInsite
- ResNova
- System Setup
- Technical Alerts
- Technical Tips
- Telephone Management
- Webinars Index