General Purpose
The command will cancel the sales made from [ P_TKT_NewSales ] Add New Ticket Sales command and needed to execute when guest decide to cancel the booking or failed from the payment gateway or failed from payment gateway.
Request Parameter
Variable Name | Variable Type | Explain | Example |
---|---|---|---|
reservationID | Varchar(255) | Reservation ID which returned from [ P_TKT_NewSales ] Add New Ticket Sales | ABC1234 |
cancellationReason | Varchar(255) | Description of why this cancellation is being performed, it may cause by user action or time out or payment gateway reject or cancel from the payment gateway | Cancel from a payment gateway/ insufficient funds |
Sample Request with JS
1 |
|
Sample request with CURL
|
Respond XML Sample
Success XML Sample
1 | <?xml version="1.0" encoding="utf-8"?> |
XML Node Explain
Node | Importance | Explain |
---|---|---|
#PROPERTY_DISCOUNT | Low | This node are use to provide system discount from EHORS, can be ignore |
Sample package details in EHORS system