Hotel API · Booking flow
HotelBookingCancellation()
This function is dedicated to cancel an existing booking
Request
<HotelBookingCancellationREQ>
<Credential>
<Login>?</Login>
<Password>?</Password>
</Credential>
<User>?</User>
<Language>?</Language>
<Source>?</Source>
<OrderId>?</OrderId>
</HotelBookingCancellationREQ>| Root | Sub Root | Description | Valeurs & Format | Tag |
|---|---|---|---|---|
| Credential | Mandatory | |||
| Login | Login | Text | ||
| Password | Password | Text | ||
| User | Current user ID | Numeric | Mandatory | |
| Language | Cyberesa’s language ID to be used to return suitable texts | Text | Mandatory | |
| Source | ID Source | Numeric | Mandatory | |
| OrderID | Id of the order to be deleted | Numeric | Mandatory |
Response
<HotelBookingCancellationRES>
<ErrorResult id="?">
<message>?</message>
</ErrorResult>
<ReturnedValue>
<OrderCancelled>?</OrderCancelled>
<IdOrder>?</IdOrder>
<Rate>?</Rate>
<Currency>?</Currency>
</ReturnedValue>
</HotelBookingCancellationRES>| Root | Sub Root | Description | Valeurs & Format | Tag |
|---|---|---|---|---|
| ErrorResult | Operation State | |||
| ErrorResult:@id | Id of current error | Numeric | ||
| message | Appropriate message | Text | ||
| ReturnedValue | Contains information about cancellation process | Numeric | ||
| ReturnedValue :OrderCancelled | Indicates whether cancellation is successfully done or not | Boolean | Mandatory if Cancellation cannot be done because orde is not cancellable | |
| ReturnedValue :IdOrder | IdOrder | Text | ||
| ReturnedValue :Rate | Rate returned in a case of order cannot be cancelled | Decimal | ||
| ReturnedValue :Currency | Currency returned in a case of order cannot be cancelled | Numeric |