Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
titleGP_TransferAvailRS

Warning/Error

Code

Short text

Possible reason

Status

Warning

15

Invalid date.

Supplier supports only dates in 'yyyy-MM-dd' format.

NOT_SENT

20

Number of passengers invalid.

  1. Supplier allows only 99 paxes max in request.

  2. Supplier allows only 9 paxes max in request.

NOT_SENT

26

At least one adult must be included.

At least one adult must be included.

NOT_SENT

161

Search criteria invalid.

  1. Supplier does not support transfers from city to city.

  2. Supplier does not support transfers to other cities.

NOT_SENT

172

Requested action not possible.

  1. Supplier supported only russian language.

  2. Supplier supported only currency RUB.

  3. There are transfers between two points in one city only.

  4. Transfer time has been changed to flight arrival time since the driver of the pickup car will check when the plane will land in order to be at the airport at the correct time.

  5. Supplier supports only search by city.

  6. Supplier does not have transfer for such destination.

NOT_SENT

172

Requested action not possible.

  1. Supplier doesn't support requested language. Language is different from what has been requested.

  2. The specified transfer time was not taken into account on search, since supplier doesn't support this.

SENT

184

Language code invalid.

Supplier does not support requested language.

NOT_SENT

253

Invalid pick up time.

Transfer details as well as price will be more precise if transfer time specified.

SENT

322

No availability.

NOT_SENT

357

Invalid city code specified.

Cannot find a city by IATA code.

NOT_SENT

400

Invalid property code

Invalid transfer code passes.

SENT

450

Unable to process.

SENT

558

Accounts are settled in a currency different from the quoted rate currency.

Rates or cancellation fee are returned in other currency than it was requested.

SENT

...