JSON API - GETPRODUCTCITIES
Returns a list of destinations and their associated product codes, to be used in a list SHOP request.
Input
transtype - "GETPRODUCTCITIES"
login - API user's username
password - API user's password
brandid - The brand whose products and destinations to return
Output
The response structure follows the standard response format. In addition, the response contains a "productcities" array member.
productcities - Array of product city objects
citycode - The three-character city code for this destination (e.g. "CUN" for Cancun, Mexico)
cityname - The name of this destination (e.g. "Cancun")
countrycode - The two-character country code for this destination (e.g. "MX" for Mexico)
countryname - The name of this destination's country (e.g. "Mexico")
airportcode - The three-letter airport code for flights to this destination, if it is different from the citycode (e.g. The destination is Rome "ROM", but flights come in to Fumicino "FCO")
brandid - The Brand ID that this destination applies to
hotels - The product code for hotels in this destination
transfers - The product code for transfer in this destination
optionals - The product code for optional services (sightseeing etc.) in this destination
rail - The product code for rail services in this destination
carrental - The product code for car rentals in this destination