Skip to main content

Hotels Portfolio by Agency

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.

Set concrete hotels portfolios by agency.

Create and Upload your Hotels Portfolio by Agency Master File

To get started, create your hotels portfolio by agency 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_AgencyHotels.csv

File Format Specification

  • File Name: Master_AgencyHotels.csv
  • Directory: Distribution
  • Delimiter: Hashtag (#)
  • Data:
    • Agency Code (mandatory)
    • Hotel Codes (mandatory): List of hotel codes that correspond to the hotel portfolio for the corresponding agency.
      • Each hotel code of the list has to be separated using the ; as separator.
  • 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 all the data on the file is correct then the existing hotels portfolios by agency are removed and file’s data is inserted into the system to define the news hotels portfolios by agency.
  • If there is any problem with the file or its data then the load is cancelled and the existing hotels portfolios by agency are not removed.
  • If an agency does not have a hotels portfolio on the system then that agency will use all the hotels on the system.
  • If an agency has a hotels portfolio on the system and that agency is not included on the file then that portfolio will be removed and the agency will use all the hotels on the system.
  • If all hotels portfolios for all agencies have to be removed form the system then you have to contact with Travelgate.