Skip to main content

Agencies

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 configurate your agencies.

Create and Upload your Agencies Master File

To get started, create your agencies 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_Agencies.csv

File Format Specification

  • File Name: Master_Agencies.csv
  • Directory: Distribution
  • Delimiter: Hashtag (#)
  • Data:
    • Agency Code (mandatory)
    • Agency Name (mandatory)
    • Access to be set (mandatory): Boolean
  • 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 room.
    • Any blank line will be skipped.
    • If a field’s data is not mandatory and we don’t want to set it then we just keep it empty: e.g. …##…
    • 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 an agency exists then it is updated.
  • If an agency not exist then it is created.
  • Existing agencies that are not referenced are not removed.
  • If an existing agency has to be removed from system then you have to contact with Travelgate.
  • If there is any problem with an agency's information then it is omitted (and logged) but the load continues.