Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Search by

Description

Search example

1

City code from supplier context (one supplier)

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

Code Block
languagexml
<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).

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

...