21. ERROR HANDLING
Each response from GP Travel HUB contains identifier whether it has been processed successfully or not - the elements <Success/>, <Warning/>, <Errors/>.
There are the following possible cases:
- 1 21.1. SUCCESS
- 2 21.2. WARNING
- 3 21.3. ERROR
- 4 21.4. ERROR AND WARNING CODES
- 4.1 21.4.1. COMMON
- 4.2 21.4.2. FLIGHT LOW FARE SEARCH
- 4.3 21.4.3. FLIGHT SCHEDULE SEARCH
- 4.4 21.4.4. FLIGHT FARE RULES
- 4.5 21.4.5. FLIGHT DETAILS
- 4.6 21.4.6. FLIGHT SEAT MAP
- 4.7 21.4.7. FLIGHT PRICING UPSELL
- 4.8 21.4.8. FLIGHT PRICING PRECISE
- 4.9 21.4.9. FLIGHT RESERVATION INITIATE
- 4.10 21.4.10 FLIGHT RESERVATION CONFIRMATION
- 4.11 21.4.11. FLIGHT BOOKING RETRIEVAL QUOTE
- 4.12 21.4.12. FLIGHT BOOKING RETRIEVAL IMPORT
- 4.13 21.4.13. FLIGHT CANCELLATION INITIATE
- 4.14 21.4.14. FLIGHT CANCELLATION CONFIRMATION
- 4.15 21.4.15. FLIGHT UPDATE PRICE
- 4.16 21.4.16. FLIGHT TICKETING
- 4.17 21.4.17. FLIGHT QUEUE
- 4.18 21.4.18. FLIGHT SCREEN TEXT
- 4.19 21.4.19 FLIGHT SPLIT INITIATE
- 4.20 21.4.20. FLIGHT SPLIT CONFIRMATION
- 4.21 21.4.21. FLIGHT NOTIFREPORT
21.1. SUCCESS
Means that request was successfully sent and GP Travel HUB receives correct response from supplier without any warnings and errors from supplier.
21.2. WARNING
Means that request was successfully sent and GP Travel HUB receives correct response from supplier, but there are some warnings to pay attention.
There is a structure of Warning Response that is common for every response.
Warnings/Warning:
*mandatory
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
| Type* | integer (1, 3, 10, 11) | Defines type of the error or warning that occurred. Refers to OTA codes "Error Warning Type (EWT)”. | 1…1 |
Code* | integer (1 - 1051) | Defines Error/Warning code. | 1…1 | |
Status* | string ("SENT", "NOT_SENT") | The values are (SENT | NOT_SENT). Used for defining actual status of request. | 1…1 | |
ShortText* | string | Short error description. | 1…1 | |
RecordID | string | This attribute specifies supplier ID. If requests spans multiple suppliers, you can use this attribute to identify which supplier caused the problem. | 0…1 | |
| For more information see Common Data Description section in Glossary. |
| ||
DocURL | URI | If present, this URL refers to an online description of the error that occurred. | 0…1 | |
Tag | string | If present, this attribute may identify an unknown or misspelled tag that caused an error in processing. | 0…1 |
21.3. ERROR
Means that request was not sent to supplier (supplier temporally unavailable or failed data verification) or GP Travel HUB receives incorrect response or error from supplier. In case of error GP Travel HUB additionally returns original text from supplier.
Either there can be errors returned by GP Travel HUB itself. It mostly can be cases when a request validation not passed. Requests with incorrect format can not be processed by GP Travel HUB and passed to suppliers, so GP Travel HUB returns SOAP error message.
21.4. ERROR AND WARNING CODES
Here we list all possible errors and warnings that can occur at flight messages.