/
2.1. POSSIBLE SEARCH OPTIONS

2.1. POSSIBLE SEARCH OPTIONS

2.1.1. SEARCH BY LOCATIONS

GP Travel HUB offers several alternatives of searching excursions by location:

 

Search by

Description

Search example

 

Search by

Description

Search example

1

City code from supplier context (one supplier)

Allows to specify city code of certain supplier and get excursion list only from this supplier. You can use this case if you know exact location codes from suppliers and would like to get excursions only from some supplier.

<Criterion> <ExcursionRef ExcursionCityCode="1005" ExcursionCodeContext="supplierCode"/> </Criterion>

2

City code from GEO context (one supplier)

When the ExcursionCodeContext is "GEO.<supplier>" then the ExcursionCityCode must be specified in GEO context, and then the search request goes only to the supplier specified. So, you can send a request to the particular supplier, even if you don’t know supplier-specific City Code (as described in p.1 above).

<Criterion> <ExcursionRef ExcursionCityCode="12175" ExcursionCodeContext="GEO.supplierCode"/> </Criterion>

 

Related content

2.3. EXCURSION SEARCH RESPONSE
2.3. EXCURSION SEARCH RESPONSE
More like this
4.2. EXCURSION AVAILABILITY REQUEST
4.2. EXCURSION AVAILABILITY REQUEST
More like this
2.1. POSSIBLE SEARCH OPTIONS
2.1. POSSIBLE SEARCH OPTIONS
More like this
4.1. POSSIBLE SEARCH OPTIONS
4.1. POSSIBLE SEARCH OPTIONS
Read with this