Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added warnings

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
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
titleGP_TransferResRQ_Initiate

Warning/Error

Code

Short text

Possible reason

Status

Error

15

Invalid date.

Transfer date differs from Reservation Initiate message.

NOT_SENT

Error

20

Number of passengers invalid.

This offer is for 2 adults, 2 children and 0 infants, but you tried to book for 2 adults, 1 children and 1 infants.

NOT_SENT

Error

27

Passenger details are mandatory.

  1. Lead passenger surname and name are required for booking.

  2. NamePrefix is mandatory, but the value is empty.

NOT_SENT

Error

161

Search criteria invalid.

  1. Departure or destination information differs from information in Reservation Initiate message.

  2. Invalid booking code.

  3. Pick up details or drop off details are supplied incorrectly.

  4. Mandatory passenger detail is missed, e.g. The client's country is missed.

  5. Minimum connecting time must be no more than 6 hours.

NOT_SENT

Error

172

Requested action not possible.

  1. Address should be less than 80 characters.

  2. It needs to provide both ShipName and ShippingCompany in SailingDetails.

  3. It is need to provide CodeContext, TrainDateTime and TrainNumber in RailDetails.

  4. Incorrect phone number.

  5. The address must be specified for PickUp and DropOff points.

  6. Diffdates.

  7. Child’s ages are different between avail request and res_initiate request.

SENT/NOT_SENT

Warning

172

Requested action not possible.

  1. Comments are not supported.

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

SENT

Warning

189

The price has been changed.

The price has been changed.

SENT

Warning

209

Transfer time has been changed.

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.

SENT

Error

227

Pickup date time not within operating hours.

Pickup date time not within operating hours since the time that should be allowed for check in at the drop off point is 14:00 hour(s). Pick-up time must be before 13:00.

NOT_SENT

Warning

342

Cancel fee may apply

Cancel Penalties are not provided by supplier, or provided as free text, so GP HUB is not able to return Cancellation Charges precisely as Amount. Or Cancellation policy can be shown only after reservation. Or Cancellation penalties have been changed.

SENT

Warning

438

Requested rate not available.

Offer availability status changed to AvailableForSale/OnRequest.

SENT

Error

450

Unable to process.

SENT

Warning

558

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

Requested currency is not supported by supplier.

SENT

Warning

1001

The price has been changed.

Price has been changed.

SENT

...

Expand
titleGP_TransferResRQ_Book

Warning/Error

Code

Short text

Possible reason

Status

Error

15

Invalid date.

Transfer date differs from Reservation Initiate message.

NOT_SENT

Error

20

Number of passengers invalid.

This offer is for 2 adults, 2 children and 0 infants, but you tried to book for 2 adults, 1 children and 1 infants.

NOT_SENT

Error

27

Passenger details are mandatory.

  1. Lead passenger surname and name are required for booking.

  2. NamePrefix is mandatory, but the value is empty.

NOT_SENT

Error

161

Search criteria invalid.

Departure or destination information differs from information in Reservation Initiate message.

NOT_SENT

Error

172

Requested action not possible.

  1. Phone should be less than 15 characters and more than 10 characters.

  2. Paxes info(count, children ages) in Reservation Confirmation message differ from paxes info in Reservation Initiate.

  3. Supplier does not allow booking identical guests.

  4. The address must be specified for PickUp and DropOff points.

  5. Diffdates.

NOT_SENT

Warning

209

Transfer time has been changed.

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.

SENT

Warning

342

Cancel fee may apply

Cancel Penalties are not provided by supplier, or provided as free text, so GP HUB is not able to return Cancellation Charges precisely as Amount. Or Cancellation policy can be shown only after reservation. Or Cancellation penalties have been changed.

SENT

Error

450

Unable to process.

SENT

Warning

1002

Сan not receive some information from supplier

Booking can be unsuccessful for some guests ans successful for others.

...