rv_create_extra
Description
Creates a reservation extra and adds it to the specified reservation. Returns a string containing the extra number of the newly created extra.
Access
Writes new data, master access not required, available to internal users only.
Parameters
Number | Name | O/R | Usage |
---|---|---|---|
1 | Auth | Required | Authentication structure.* |
2 | Reservation ID | Required | “Id” of the reservation to add the extra to. |
3 | Extra ID | Required | “Id” of the extra that is being added. |
4 | Reference | Optional | Free-form text field for reference. |
5 | Service / Arrival Date | Optional | In the case of General / Activity / Travel extras, this field is “Service Date” and defaults to today.
In the case of Accommodation extras, this field is Arrival Date and defaults to the arrival date of the reservation. |
6 | Property ID | Optional | “id” of the property. |
7 | Service By | Optional | “Id” of the supplier. |
8 | Quantity | Optional | Default = 1. |
9 | Unit Price | Optional | Unit price. |
10 | Discount | Optional | Discount. Default = 0. |
11 | Comm Received | Optional | Commission received. Default = 0. |
12 | Comm Paid | Optional | Commission paid. Default = 0. |
13 | Note | Optional | Any general notes on the extra. This is a free format field and is limited to 65535 characters. |
14 | Memo | Optional | Any internal notes on the extra. This is a free format field and is limited to 65535 characters. |
15 | Adults / ETA | Optional | In the case of Travel extras, this is ETA. Default = blank.
In the case of Accommodation extras, this is the adult count, defaults to the adult count of the extra being added. |
16 | Children / ETD | Optional | In the case of Travel extras, this is ETD. Default = blank.
In the case of Accommodation extras, this is the child count, defaults to the child count of the extra being added. |
17 | Departure Date | Optional | In the case of Accommodation extras, this is the departure date. Defaults to the arrival date + number of nights specified on the extra. |
Example
Request
{ "method": "rv_create_extra", "params": [ { "bridge_username":"username", "bridge_password":"password", "link_id":"4" }, "WB677", "WB8", "Example reference", "", "", "", "2", "", "", "", "", "General extra note", "Internal extra memo", "", "", "" ], "id": 1 }
Response
{ "id": 1, "error": null, "result": "11e82e618e12132ca677021f2a6099e3" }
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