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 toOTA 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 |
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
6.4.1. CM HOTEL AVAILABILITY
Warning/Error | Code | Short text | Possible reason | Status |
Error | 783 | Room or rate not found | There is no active contract for this hotel. | SENT |
Warning | 436 | Rate does not exist | Rate does not exist. | SENT |
6.4.2. CM HOTEL AVAILABILITY NOTIFY
Warning/Error | Code | Short text | Possible reason | Status |
Error | 783 | Room or rate not found | There is no active contract for this hotel. | SENT |
Error | 448 | System error | Suppliers message. | SENT |
6.4.3. CM HOTEL RATE AMOUNT NOTIFY
Warning/Error | Code | Short text | Possible reason | Status |
Error | 842 | Rate not loaded |
| SENT |
Error | 448 | System error | Suppliers message. | SENT |
6.4.4. CM HOTEL RESERVATION NOTIFY
Warning/Error | Code | Short text | Possible reason | Status |
Warning | 172 | Requested action not possible | Double request to the endpoint. | NOT_SENT |
Error | 448 | System error |
| NOT_SENT |
Error | 361 | Invalid hotel | Suppliers message. | SENT |