Hotel Export

The TF Hotel Export functionality is made possible via the GetHotelIdList XML API command. Unless testing, users need to request from Travelfusion to enable this functionality prior to integrating with it.

The command usage is limited to 1-2 times per day per user. Below is a sample request.

Request

<CommandList>
    <GetHotelIdList>
        <XmlLoginId>*****</XmlLoginId>
        <LoginId>*****</LoginId>
        <IsTest>true</IsTest>
    </GetHotelIdList>
</CommandList>

During integration, users must always use this command in testing mode by setting <IsTest>true</IsTest>.

The response, as shown below, will contain a comma-separated list of the hotel ids for all the TF hotels that available for export to the user.

Response

<CommandList>
    <GetHotelIdList millis="128">
        <LoginId>*****</LoginId>
        <HotelIdList>0000000000259BEA,00000000001A2F38,00000000001A2E4C,...</HotelIdList>
    </GetHotelIdList>
</CommandList>
Comments