Here you can find the 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. | ||||
MaxAmount | decimal | Indicates max price, this attribute appear when we get price value in the range (in this case Amount indicates min price). | ||||
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. | ||||
LocationCode | string | Identifies location code to search. | 0..1 | |||
LocationName | string | Identifies location name to search.
| 0..1 | |||
LocationType* | string ("city", "station") | Specifies the context of the LocationCode or LocationName. The possible options are "GEO", supplier code. | 1..1 | |||
CodeContext* | string | Specifies type of location. | 1..1 | |||
Success |
|
| Identifies that the request was processed successfully. | |||
Warning |
|
| Indicates a problem(s) occured during the request. Contains several elements. See more in ERROR HANDLING. | |||
Error |
...