Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Here you can find description of elements and attributes which can appear in several messages to avoid duplication.

Element

Attribute

Type

Description

Min…Max occurs

PrimaryLangID

2-character ISO language code

If supplier supports this language, human readable information will be returned on this language. If supplier does not support that language, the response will use default language.

Language

2-character ISO language code

Code of language used in the description.

RequestedCurrency

3-character ISO currency code

Indicates desired currency to return prices in, if supported by supplier. It is not guaranteed, however, that prices will be returned in this currency, as this may depend on technical limitations of supplier and/or on commercial agreements with you and/or excursion providers.

CurrencyCode

3-character ISO currency code

The code of currency in which fare is nominated.

Amount

decimal

Sum to be paid.

Percent

short

Specifies that several percents will be charged.

AmountAfterTax

decimal

The price after taxes, if any has been applied.

AgeQualifyingCode

integer (7 - infant, 8 - child, 10 - adult)

Specifies tourist age group. GP Travel HUB uses standard age qualifying OTA codes.

Success

 

 

Identifies that the request was processed successfully.

Warnings/Warning

 

 

Indicates a problem(s) occured during the request. Contains several elements. See more in ERROR HANDLING.

ExcursionDate

Excursion start date, and optionally end date (in case excursion takes more than a day).

Note: the @End attribute can also be missed in case excursion actually takes several days, but it is impossible to obtail that information from supplier evidently.

Start*

yyyy-mm-dd

Excursion start date.

1...1

End

yyyy-mm-dd

Excursion end date.

0...1

Competitors/Competitor

Defines a competitor.

Code*

string (1 - 32)

Contains a competitor code.

1...1

Name*

string

Contains name of competitor.

1...1

<BasicExcursionInfo ExcursionCityCode="2197" ExcursionCode="291776" ExcursionCodeContext="supplierCode" ExcursionName="FC Dallas vs Colorado Rapids (MLS (Soccer))">
   <Competitors>
    <Competitor Code="1647" Name="FC Barcelona Lassa"/>
    <Competitor Code="1937" Name="Fenerbahce Ulker"/>
   </Competitors>
   ...
</BasicExcursionInfo>

Tournament

Contains tournament description.

Code*

string (1 - 32)

Contains tournament code.

1...1

Name*

string

Contains tournament name.

1...1

<BasicExcursionInfo ExcursionCityCode="1070" ExcursionCode="290090" ExcursionCodeContext="supplierCode" ExcursionName="Grand Prix du Canada: Race (Weekend) (Formula 1)">
   <Tournament Code="48" Name="EuroLeague (Basketball)"/>
   ...
</BasicExcursionInfo>

  • No labels