User Tools

Site Tools


data:fields:names:trp_destination


Fields list

trp_destination

field name:
trp_destination
containing:
Region of the trip/event
field type:
int
condition for:
regions,
filters,
offers,
groups,
check_external_hotel_wait,
check_external_hotel_nowait
returned in:
regions,
filters

Example of inquiry:

<conditions>
  <trp_destination>14_152</trp_destination>
   (...)

14 - Greece
152 - Thessaloniki

You can ask the service with more then a region, separated by comma.

<conditions>
  <trp_destination>14_152,14_2627</trp_destination>
   (...)

for the inquiry trp_destination the sign “:” means any amount of arbitrary characters exampke: request for all offers (all regions) for a country with id 15 (Spain)

<conditions>
<trp_destination>15:</trp_destination>
...
</conditions>

File with the list of regions is always available at: http://www.merlinx.pl/mdsws/regions.zip . It contains two types of data, a list of countries and regions (the type of value is controlled by the 3rd field), regions with the same numbers can be repeated, the first value is always that we use in our system, all others are variations of the name of the region who came from operators and have been joined.

Since version 2.3 returns in filters

data/fields/names/trp_destination.txt · Last modified: 2012/08/03 12:51 by marekj