All reservation changes will be handled with TransType "MODIFYRES".
Modifications will be passed as an array of items to be removed or added.
Restrictions
This method cannot operate on cancelled bookings
Possible error message: “You are not authorized to modify this reservation”.
Input
TransType
-MODIFYRES
Login
- API user loginPassword
- API user passwordResNumber
- ResNumber of the reservation to updateRemoveServices
- Comma-separated list of ServiceSeqs to be removed from the reservationServiceSeqs are returned by the
GETRES
API method.ServiceSeq
is an integer unique per reservation service.
AddServices
- JSON array ofBookCommand
objects representing services to be added to the reservationBookCommands are returned by the SHOP API method. These objects will behave the same way as in the "BOOK" API method.
MakeActive
- String (Y/N) to indicate whether to force theResStatus
on the reservation to Active (default: N).Set the value to "Y" to set the reservation's ResStatus to "A"
Set the value to "N" to keep the reservation's ResStatus the same (no change)
This will only take effect if the current ResStatus on the reservation is Q (quote). Other ResStatuses will return an error. Option bookings MUST go through the conversion process. Cancelled bookings CANNOT be make active.
This will only change the
ResStatus
on the reservation. It will not affect accounting, total received, transactions, etc.
...