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 8 Next »

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.

Note: Only one of location values (LocationCode or LocationName) should be specified.

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

Remarks/Remark:

Element

Attribute

Type

Description

Min…Max occurs

Remarks/Remark

Contains a collection of remarks about the segment.

0..99

Name

string (1-255)

Contains remark name.

0..1

Code

string (1-128)

Contains remark name.

0..1

ParagraphNumber

integer

Contains paragraph number.

0..1

Language

2-character ISO language code

Code of language used in the description remark.

0..1

Remarks/Remark/Text

string

Contains remark text.

0..1

Element

Attribute

Type

Description

Min…Max occurs

RailItinerary/PassengerInfo*

Specify passenger type/category. Classification of passenger demographics and rate qualifying information.

1..1

RailItinerary/PassengerInfo/PassengerQualifyingInfo*

Contains age qualifying information for the passenger.

1..9

Age

integer

Optional attribute; but if a tourist is a child or infant, it is required to specify his/her age. It is assumed that this is full child age on a date of journey.

0..1

Count*

integer

Indicates count of paxes.

1..1

Code*

string (“ADT”, “CHD”, “INF”)

Indicates type of pax tariff.

1..1

  • No labels