Mapping
Mapping plugin serves to convert either the Supplier's native codes to the Buyer's codes or vice versa. To do this, you need a file that shows how the Buyer's and Seller's codes relate, so our system can do the conversion automatically.
This feature includes Hotel Map, Board Map, Room Map, Rate Map, Amenity Map, Promotion Map and Room Description Map categories.
Please be aware that by default, options where board, rates, or room codes maps are not found will still be returned with the supplier's original code. If you would rather not receive options in your search results where those entities couldn't be mapped, please reach out to our team to configure it from our side.
To get started with the Mapping plugin, follow these simple steps:
1. 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 SFTP 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 SFTP.
📁HotelX
📁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
You should create one file for each supplier that you want to map an entity.
If you need assistance with requesting your credentials to access the SFTP server, determining the endpoint and directory format, or learning how to upload, update, and delete SFTP files, please refer to the overview section of Plugins.
File Format Specification
- File Name: BuyerContext_SupplierContext_entity_map.csv
- Directory: HotelX/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.