ac_get_extra
Description
Returns a list of extra detail structures containing “id”, ”desc”, ”cat_desc”, ”type”, ”note”, ”memo”, “cost” and ”currency”. Currency will be blank in the case of a non-chargeable extra.
Access
Read-only, master access not required, available to internal users only.
Parameters
Number | Name | O/R | Usage |
---|---|---|---|
1 | Auth | Required | Authentication structure.* |
2 | Search | Optional | Allows a search on name. May use * or % as wildcard characters. |
3 | Categories | Optional | For the array of categories – see the table below. |
4 | Types | Optional | For the array of types – see the table below. |
5 | Properties | Optional | For the array of properties – see the table below. |
*See call structure explanation.
3. Array of categories:
Array key | Description |
---|---|
0 | As returned by ac_get_extra_category. |
4. Array of types:
Array key | Description |
---|---|
0 | 0=general, 1=activity, 2=travel, 3=accommodation |
5. Array of properties:
Array key | Description |
---|---|
0 | Property ID |
Example
Request
{ "method": "ac_get_extra", "params": [ { "bridge_username":"username", "bridge_password":"password", "link_id":"4" }, "*", [ 1 ] ], "id": 1 }
Response
{ "id": 1, "error": null, "result": [ { "id": "WB1", "desc": "Air Kenya - Wilson to Mara", "cat_desc": "Travel Arrival", "type": "2", "note": "", "memo": "", "cost": "100.00", "currency": "USD" }, { "id": "WB8", "desc": "SAA - ORT to JKIA", "cat_desc": "Travel Arrival", "type": "2", "note": "", "memo": "", "cost": "450.00", "currency": "USD" }, { "id": "WB9", "desc": "SAA - JKIA to ORT", "cat_desc": "Travel Arrival", "type": "2", "note": "", "memo": "", "cost": "200.00", "currency": "USD" }, { "id": "WB71", "desc": "Safarilink - Wilson to Mara", "cat_desc": "Travel Arrival", "type": "2", "note": "", "memo": "", "cost": "100.00", "currency": "USD" } ] }
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