Skip to main content

Destination

Distribution Master files contain the product you will buy and sell in our Marketplace: hotels, mealplans and other required data to apply your business rules subsequently.

Create and update your destinations and destinations groups.

info

On the Destination Code you'll need to add the same codes that you have specified or will specify in the Hotel Master File. This code should be match the city code in the Hotel Master File.

Create and Upload your Destinations Master File

To get started, create your destinations master file in the correct format and then upload it to your FTP account. We've provided a template file below ⬇️ to help you with this process. Just click on the file name, add your data, save it in CSV format, and then upload it to the corresponding folder in your FTP.

sftp.xmltravelgate.com

📁Distribution
     📄Master_Destinations.csv

File Format Specification

  • File Name: Master_Destinations.csv
  • Directory: Distribution
  • Delimiter: Hashtag (#)
  • Data:
    • Destination Code (mandatory): It can’t be set to zero value. It is the code of the destination and it will be used for reference the node on the tree.
    • Empty Field (mandatory): It will be ignored.
    • Destination Name (mandatory)
    • ISO Country Code (mandatory): 2 chars
    • Parent Festination Code (mandatory): If the destination has no parent then it has to be set to zero.
  • Note:
    • The first line is not a header line: it contains data directly.
    • The data of the fields is not encapsulated by " or any other character.
    • Each line represents a unique destination and contains all the information (fields) about it.
    • Any blank line will be skipped.
    • All fields are mandatory.
    • The file and its data have to be encoded using UTF-8. Otherwise there can be stored strange characters.
📹 Learn how to change the format of the csv file in order to edit and save it
TAKE INTO CONSIDERATION
  • If a destination exists then it is updated.
  • If a destination does not exist then it is created.
  • Existing destination that are not referenced are not removed.
  • If an existing destination has to be removed from system then you have to contact with Travelgate.
  • If there is any problem with a destination's information then it is omitted (and logged) but the load continues.

Create and Upload your Destination Group Master File

To get started, create your destination group master file in the correct format and then upload it to your FTP account. We've provided a template file below ⬇️ to help you with this process. Just click on the file name, add your own rules, save it in CSV format, and then upload it to the corresponding folder in your FTP.

sftp.xmltravelgate.com

📁Distribution
     📄Master_DestinationsGroups.csv

File Format Specification

  • File Name: Master_DestinationsGroups.csv
  • Directory: Distribution
  • Delimiter: Hashtag (#)
  • Data:
    • Group ID (mandatory): Unique group identifier.
    • Group Name/Description (mandatory): If not given then it will be used the group ID as name.
    • Destination List (mandatory): List of destinations that belong to the corresponding group.
      • The list of destinations stored in this value are separated by default with “;”.
  • Note:
    • The first line is not a header line: it contains data directly.
    • The data of the fields is not encapsulated by " or any other character.
    • Each line represents a unique destination group and contains all the information (fields) about it.
    • Any blank line will be skipped.
    • All fields are mandatory.
    • The file and its data have to be encoded using UTF-8. Otherwise there can be stored strange characters.
📹 Learn how to change the format of the csv file in order to edit and save it
TAKE INTO CONSIDERATION
  • If a destination exists then it is updated.
  • If a destination does not exist then it is created.
  • Existing destination that are not referenced are not removed.
  • If an existing destination has to be removed from system then you have to contact with Travelgate.
  • If there is any problem with a destination's information then it is omitted (and logged) but the load continues.