ac_get_rate (deprecated function)
Description
Returns a list of rates and their details. Each detail structure contains the “id”, “name” and any extra information requested of the designated rate type.
Version
Available from version 5.25.0.
Access
Read-only, master access not required, available to all users.
Parameters
Number | Name | O/R | Version | Usage |
---|---|---|---|---|
1 | Auth | Required | Authentication structure.* | |
2 | Search | Optional | Search for specific rate names. This search may use * or % as wildcard characters. | |
3 | Default | Optional | If set to 1, only the default rate for the user is returned. | |
4 | Agent | Optional | “Id” of specific agent to lookup. Internal users may use the code “public” to list all public rate types or “linked” to specify that the linked agent should be used. Case sensitive. | |
5 | Extra | Optional | 5.20.0+ | An array specifying extra information to return about each rate – see table below.
For backwards compatibility, if this field is left out it will default to returning the currency and default flag. |
*See call structure explanation.
5. Array keys
Array key | Structure key | Description |
---|---|---|
0 | abbreviation | If not empty add the abbreviation. |
1 | colour | If not empty add the colour. Only internal users have access to this field. |
2 | currency | If not empty add the currency symbol. |
3 | default | If not empty add specify if the rate is the default rate or not. 1=default, 0=not default |
4 | note | If not empty add the note. Only internal users have access to this field. |
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