Each response from GP Travel HUB contains identifier whether it has been processed successfully or not - the elements <Success/>, <Warning/>, <Errors/>.
...
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 |
Language* | | 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 |
...
Expand |
---|
|
Warning/Error | Code | Short text | Possible reason | Status | Warning | 15 | Invalid date. | The number of nights must be less than or equal to 30. | NOT_SENT | 20 | Number of passengers invalid. | The maximum number of passengers is 9 total. | NOT_SENT | 22 | Passengers exceed commercial rules. | Number of passengers must not be more then 9. The number of guests must not exceed 8 people.
| NOT_SENT | 26 | At least one adult must be included. | At least one adult must be included. | NOT_SENT | 172 | Requested action not possible. | Supplier does not support search by tournament. Supplier supports only search by excursion or city. Search by category doesn't support. Paging token wasn't found or expired. Supplier supports the age of children within interval between 2 and 18. Requested Excursion Category is not supported. Search by category does not support. Supplier doesn't support requested language. Language is different from what has been requested. Supplier does not support time frame search. Search results for StartDate only. No availability found in supplier's system.
| SENT/NOT_SENT | 184 | Language code invalid. | Language not supported. | NOT_SENT | 320 | Invalid value. | Requested category: EXCLON is not mapped. | NOT_SENT | 322 | No availability. | | SENT | 357 | Invalid city | Invalid city code specified. | NOT_SENT | 400 | Invalid property code. | Invalid excursion code passes | SENT | 448 | System error. | Country code is not found for specified city code. | NOT_SENT | 450 | Unable to process. | Supplier does not process children with age: 4. | NOT_SENT | 548 | Child infant seat not available. | Infant bookings are not guaranteed, please contact supplier for further details and confirmation. | SENT | 558 | Accounts are settled in a currency different from the quoted rate currency. | Requested currency was USD, but rates returned in CAD. Rates or cancellation fee are returned in other currency than it was requested.
| SENT |
|
...