Skip to main content

Mapping

Mapping serves to convert either the Supplier's native codes to the Buyer's codes or vice versa. Mapping files will be required whenever you buy and aggregate from multiple suppliers in our marketplace, so that you can apply specific selling and purchasing rules in our Distribution site.

To do this, you need a file that shows how the Seller's and Buyer's codes relate, so our system can do the conversion automatically. On the Seller side, you'll need to add the Supplier codes. On the Buyer's side, on your side, you'll need to add the same codes that you have specified or will specify in the Master Files.

info

If you are a Seller that only plans to sell your own product, you will need to create a single mapping file in which you must add the same code in both columns, Seller and Buyer.

To get started with the Mapping, follow these simple steps:

Create and Upload your Mapping File

To get started, create your mapping file for the desired entity (hotel, board, room...) 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

📁F0 _0000
     📁HotelX _0000
         📁Maps
             📁Hotel
                 📄BuyerContext_SupplierContext_hotel_map.csv
             📁Board
                 📄BuyerContext_SupplierContext_board_map.csv
             📁Room
                 📄BuyerContext_SupplierContext_room_map.csv
             📁Rate
                 📄BuyerContext_SupplierContext_rate_map.csv
             📁Amenity
                 📄BuyerContext_SupplierContext_amenity_map.csv
             📁Promotion
                 📄BuyerContext_SupplierContext_promotion_map.csv
             📁Room description
                 📄BuyerContext_SupplierContext_roomdescription_map.csv

info

You should create one file for each supplier that you want to map an entity.

File Format Specification

  • File Name: BuyerContext_SupplierContext_entity_map.csv
  • Directory: F0_0000/HotelX_0000/Maps/[entity]
  • Delimiter: Comma (,)
  • Header Row:
    • Buyer Context: Buyer's context code
    • Supplier Context: Supplier's (Seller's) context code. This code can be found in the My Connections section on the Travelgate website.
📹 Learn how to change the format of the csv file in order to edit and save it