Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: HUB-10394 New warning 189 was added on Hotel Booking Retrieval Quote.

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*

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
titleWarning Response Sample XML
Code Block
languagexml
<Warnings>
   <Warning Code="189" Language="en" RecordID="supplierCode" ShortText="Price has been changed." Status="SENT" Type="3"/>
</Warnings>

...

Expand
titleOTA_HotelResRQ_Quote

Error/Warning

Error code

Error short text

Possible error reason

Status

Warning

58

Price(s) cannot be validated

Supplier can not guarantee final price (end of season, etc.).

SENT

Error

97

Booking reference not found

Attempt to make retrieve for nonexistent booking.

NOT_SENT

Warning

172

Requested action not possible

In warning, it means that some of requested conditions can not be satisfied: requested currency or language does not supported by supplier, etc.

SENT

Error

172

Requested action not possible

In error, it means that the requested action is not allowed at supplier (booking cancellation, modification, passing comments, etc.).

SENT/NOT_SENT

Error

175

Password invalid

Invalid credentials for supplier.

SENT

Error

184

Language code invalid

Request contains incorrect language code.

NOT_SENT

Error

187

System currently unavailable

Supplier system unavailable at this moment.

SENT

Warning

189

Price has been changed.

Price is different from search response.

SENT

Error

194

No matching bookings found

No matching bookings found in supplier's system.

SENT

Error

197

Undetermined error - please report

Unknown error.

SENT

Error

320

Invalid value

An invalid value is specified.

SENT/NOT_SENT

Error

366

Error during processing, please retry

Error during processing of request on supplier side.

SENT

Error

367

Invalid format

Message validation against XSD failed.

NOT_SENT

Warning

413

Modification

Any changes have occurred in booking.

SENT

Warning

430

Ok

If requested action was completed successfully, but there is a clarifying warning.

SENT

Error

446

Service request not allowed

It is not possible to request for information. Information is obtained from another source (e.g. price per day breakdown).

NOT_SENT

Error

448

System error

A system error occur.

SENT

Error

450

Unable to process

Supplier can not process the request.

SENT

Error

497

Authorization error

Authorization error on supplier side.

SENT

Warning

568

Unable to identify timezone.

Unable to identify timezone, for example for cancel penalties.

SENT

Warning/Error

1002

Сan not receive some information from supplier

Supplier did not return information about the booking/segment.
Supplier did not return mandatory information for booking.

SENT

...