BookingService 3 – Message codes
The BookingService returns messages of different types:
- info: providing extra information
- erratum: information about the items you’re booking that is of importance to the consumer
- warning: alerts you to a possibly problematic situation
- error: a problem that prevents you from continuing the booking without making changes.
A message always contains a description, and sometimes a consumerDescription. Only the consumerDescription should be displayed to end-users. If none is available, the message is not intended to be displayed to the end-user.
Using the providerId and messageOn attributes of the message, the part of the booking the message relates to can be determined. This is certainly for errata of interest to be able to display this message at the most logical location in the user interface.
Message codes
The code field of the message can contain a standardized code which can be used to have standard processing response in the client. This is the complete list of codes that can be returned. Some of these will only be returned if this is a traditional package touroperator booking. For dynamically packaged products, a subset is used, and additional codes will be added in the future.
Pay specific attention to code 125, which always is an error. 125 means that a booking might have been made at the provider, while during the processing of that possible booking an unrecoverable error occurred. The responsible travel agents should always be informed of this possible booking, so that a manual check can be done at the provider(s), and any necessary cancellations or confirmations can be completed. For the end-user, the booking will seem incomplete.
| code | description | traditional packages | dynamic packages |
| 100 | General Error, contact help desk | ✓ | |
| 101 | Authorisation Error | ✓ | ✓ |
| 103 | Incorrect value for field | ✓ | |
| 104 | Missing field | ✓ | ✓ |
| 105 | Number of travelers incorrect | ✓ | ✓ |
| 106 | Number of adults incorrect | ✓ | |
| 107 | Number of children incorrect | ✓ | |
| 108 | Number of babies incorrect | ✓ | |
| 109 | Packet not available | ✓ | |
| 110 | Transport not available | ✓ | ✓ |
| 111 | Housing not available | ✓ | ✓ |
| 112 | Service not available | ✓ | |
| 113 | Invalid Transport Code | ✓ | |
| 114 | Invoice Housing Code | ✓ | |
| 115 | Multiple main bookers not allowed | ✓ | |
| 116 | Transport Assignment Error | ✓ | ✓ |
| 117 | Housing Assignment Error | ✓ | ✓ |
| 118 | Service Assignment Error | ✓ | |
| 119 | Essences or Preferences not allowed by tour operator | ✓ | |
| 120 | Insufficient Transports available | ✓ | |
| 121 | Insufficient Housing available | ✓ | |
| 122 | Insufficient Service available | ✓ | |
| 123 | Insufficient Rooms available in chosen housing | ✓ | |
| 124 | Tour operator communciation error | ✓ | ✓ |
| 125 | Error in processing after successful booking. CONTACT Qenner | ✓ | ✓ |
| 126 | Error while processing booking. Booking not successfull | ✓ | ✓ |
| 127 | Request format error | ✓ | |
| 128 | Duplicate Traveler Ids | ✓ | |
| 129 | Extra’s not available | ✓ | |
| 130 | Rentals not available | ✓ | |
| 131 | No housing selected | ✓ | |
| 132 | No transport selected | ✓ | |
| 133 | No pickup location selected | ✓ | |
| 134 | No dropoff location selected | ✓ | |
| 135 | Pickup location not available | ✓ | |
| 136 | Dropoff location not available | ✓ | |
| 137 | Invalid value for home contact field | ✓ | |
| 138 | Invalid field value | ✓ | |
| 151 | Unknown book process, contact help desk | ✓ | |
| 200 | General warning | ✓ | ✓ |
| 300 | General Information | ✓ | ✓ |
| 310 | Booking Failed | ✓ | |
| 1000 | Tour Operator Error | ✓ | ✓ |
| 1001 | Tour Operator Warning | ✓ | |
| 1002 | Tour Operator Info | ✓ | |
| 1003 | Tour Operator System Error | ✓ | |
| 1007 | Tour Operator Unsupported Feature | ✓ | |
| 1009 | Tour Operator Invalid Response | ✓ | |
| 1030 | Insurance Provider Invalid Response | ✓ | |
| 1040 | Coupon Service Invalid Response | ✓ |