TravelgateX works like a switch connecting buyers to sellers and transforing the requests from TravelgateX’s API to the sullers API. But, when the seller is who integrates into TravelgateX’s API they will receive the same request the buyer sends, without any transformation. In other words, the seller will receive the same request the buyer sends.

The seller has to be able to receive requests for TravelgateX’s API methods. In every request there is a configuration element with the credential information.

The connectivity will be by POST method, you can find more information at our suppliers connectivity page.

Example of request the seller will receive from TravelgateX system:

Post headers:

Content-Type: text/xml; charset=utf-8
Accept: application/xml
Host: hubxtghotel.xmltravelgate.com
Content-Length: 3806
Expect: 100-continue
Accept-Encoding: gzip
Connection: Keep-Alive

Post body:

            <Parameter key = "SegundoPW" value = "PWXML"/>
        <Destination type = "HOT" code = "5"/>
        <RoomCandidate id = "1">
                <Pax age = "30" id = "1"/>
                <Pax age = "30" id = "2"/>
        <RoomCandidate id = "2">
                <Pax age = "35" id = "1"/>
                <Pax age = "42" id = "2"/>
                <Pax age = "5" id = "3"/>