
rv_update_itinerary
Description
Updates existing itineraries linked to the specified reservation. Returns boolean true if successful.
Access
Updates existing data, master access 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 on which to update itineraries. |
| 3 | Old items | Required | An array containing a list of itinerary “Id”s to be replaced. These itineraries will be ignored during the availability check and deleted once the new items are added. |
| 4 | New items | Required | An array of itinerary items to be created as part of the reservation. See the format of this array above in rv_create_itinerary in the “Items” parameter. |
| 5 | Allow overbooking | Optional | If this optional value is not empty then an overbooking will be allowed if the user has access to process it. |
| 6 | Send modification request | Optional [Recommended] | If this optional value is true then a modification request will be sent when the user is meant to be able to make a modification but cannot due to environment restrictions (e.g. slave environment). |
| 7 | Custom Subject | Optional | If this optional value is not empty then it will be used as the subject line for a modification request email. |
| 8 | Custom body | Optional | If this optional value is not empty then it will be used as the first part of the body of a modification request email. |
*See call structure explanation.
3. Item array structures:
Example
Request
{
"method": "rv_update_itinerary",
"params": [
{
"bridge_username":"username",
"bridge_password":"password",
"link_id":"4"
},
"WB677",
[
"RS1",
"RS2"
],
[
[
"WB7",
"2018-04-05",
"2018-04-06",
[
[
"RS1",
"1"
],
[
"RS2",
"2"
]
],
"",
"",
""
]
],
""
],
"id": 1
}Response
{
"method": "rv_update_itinerary",
"params": [
{
"bridge_username":"username",
"bridge_password":"password",
"link_id":"4"
},
"WB677",
[
"11e82e51036df1ffa677021f2a6099e3"
],
[
[
"WB7",
"2018-04-05",
"2018-04-06",
[
[
"RS1",
"1"
],
[
"RS2",
"2"
]
],
"",
"",
""
]
],
""
],
"id": 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

