rt_get_rate_total_range_batch
Description
This is a batch wrapper for the rt_get_rate_total_range call, which returns the daily total of the specified rate for each day in the given date range according to the given rate groups. It accepts the same values as the rt_get_rate_total_range call, but in an array of arrays, and returns the result for each array in an array.
Version
Available from versions 7.33.130, 7.35.66, 7.36.51 and 7.37.33
Access
Read-only, master access not required, available to all users.
Parameters
Number | Name | O/R | Usage |
---|---|---|---|
1 | Auth | Required | Authentication structure.* |
2 | rt_get_rate_total_range data | Required | An array containing one or more arrays of data, in the format of the rt_get_rate_total_range call ** |
* See call structure explanation.
** See explanation of rt_get_rate_total_range call structure
Example
Request
{ "method": "rt_get_rate_total_range_batch", "params": [ { "bridge_username":"username", "bridge_password":"password", "link_id":"4" }, [ [ "WB7", "", "", [ 0, 0, 0 ], "", "", "" ], [ "WB8", "2023-01-01", "2023-01-31", [ 0, 0, 0 ], "", "", "" ], [ "WB9", "2023-01-01", "2023-01-31", ["All"], "", "", "" ] ] ], "id": 1 }
Response
{ "id": 1, "error": null, "result": [ { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 0 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 0 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "0.00" } ] }, { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 0 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 1 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "100.00" } ] }, { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 1 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 0 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "100.00" } ] }, { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 1 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 1 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "200.00" } ] }, { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 0 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 0 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "0.00" } ] }, { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 0 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 1 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "100.00" } ] }, { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 1 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 0 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "100.00" } ] }, { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 1 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 1 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "200.00" } ] }, { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 0 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 0 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "0.00" } ] }, { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 0 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 1 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "100.00" } ] }, { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 1 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 0 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "100.00" } ] }, { "rateGroups": [ { "0": "RS1", "1": "Unit", "2": "UNIT", "3": "1", "4": "0", "5": "1", "rt_rate_group_ix": "RS1", "rt_rate_group_desc": "Unit", "rt_rate_group_abbrv": "UNIT", "rt_rate_group_sys_code": "1", "rt_rate_group_class": "0", "rt_rate_comp_grp_seq": "1", "qty": 1 }, { "0": "RS2", "1": "Adult", "2": "AD", "3": "2", "4": "1", "5": "2", "rt_rate_group_ix": "RS2", "rt_rate_group_desc": "Adult", "rt_rate_group_abbrv": "AD", "rt_rate_group_sys_code": "2", "rt_rate_group_class": "1", "rt_rate_comp_grp_seq": "2", "qty": 1 }, { "0": "RS3", "1": "Child", "2": "CH", "3": "3", "4": "2", "5": "3", "rt_rate_group_ix": "RS3", "rt_rate_group_desc": "Child", "rt_rate_group_abbrv": "CH", "rt_rate_group_sys_code": "3", "rt_rate_group_class": "2", "rt_rate_comp_grp_seq": "3", "qty": 1 } ], "periods": [ { "start": "2018-03-23", "end": "2018-03-23", "total": "200.00" } ] } ] }
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