WSNewHotelExternalChannel


Click here for a complete list of operations.

hotel_inventory_show

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WSNewHotelExternalChannel/WSNewHotelExternalChannel.asmx HTTP/1.1
Host: reservas.tryplisboaaeroporto.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.NewHotel.com/hotel_inventory_show"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <hotel_inventory_show xmlns="http://www.NewHotel.com/">
      <hotelInventoryRequestModel>
        <test_mode>int</test_mode>
      </hotelInventoryRequestModel>
      <inventoryType>TripConnect or InstantBooking or ReviewExpress</inventoryType>
    </hotel_inventory_show>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <hotel_inventory_showResponse xmlns="http://www.NewHotel.com/">
      <hotel_inventory_showResult>
        <lang>string</lang>
        <hotels>
          <HotelInventory>
            <Id>guid</Id>
            <realUrl>string</realUrl>
            <ta_id>int</ta_id>
            <partner_id>string</partner_id>
            <name>string</name>
            <street>string</street>
            <city>string</city>
            <postal_code>string</postal_code>
            <state>string</state>
            <country>string</country>
            <latitude>decimal</latitude>
            <longitude>decimal</longitude>
            <desc>string</desc>
            <amenities xsi:nil="true" />
            <url>string</url>
            <email>string</email>
            <phone>string</phone>
            <fax>string</fax>
            <room_types>string</room_types>
          </HotelInventory>
          <HotelInventory>
            <Id>guid</Id>
            <realUrl>string</realUrl>
            <ta_id>int</ta_id>
            <partner_id>string</partner_id>
            <name>string</name>
            <street>string</street>
            <city>string</city>
            <postal_code>string</postal_code>
            <state>string</state>
            <country>string</country>
            <latitude>decimal</latitude>
            <longitude>decimal</longitude>
            <desc>string</desc>
            <amenities xsi:nil="true" />
            <url>string</url>
            <email>string</email>
            <phone>string</phone>
            <fax>string</fax>
            <room_types>string</room_types>
          </HotelInventory>
        </hotels>
      </hotel_inventory_showResult>
    </hotel_inventory_showResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WSNewHotelExternalChannel/WSNewHotelExternalChannel.asmx HTTP/1.1
Host: reservas.tryplisboaaeroporto.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <hotel_inventory_show xmlns="http://www.NewHotel.com/">
      <hotelInventoryRequestModel>
        <test_mode>int</test_mode>
      </hotelInventoryRequestModel>
      <inventoryType>TripConnect or InstantBooking or ReviewExpress</inventoryType>
    </hotel_inventory_show>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <hotel_inventory_showResponse xmlns="http://www.NewHotel.com/">
      <hotel_inventory_showResult>
        <lang>string</lang>
        <hotels>
          <HotelInventory>
            <Id>guid</Id>
            <realUrl>string</realUrl>
            <ta_id>int</ta_id>
            <partner_id>string</partner_id>
            <name>string</name>
            <street>string</street>
            <city>string</city>
            <postal_code>string</postal_code>
            <state>string</state>
            <country>string</country>
            <latitude>decimal</latitude>
            <longitude>decimal</longitude>
            <desc>string</desc>
            <amenities xsi:nil="true" />
            <url>string</url>
            <email>string</email>
            <phone>string</phone>
            <fax>string</fax>
            <room_types>string</room_types>
          </HotelInventory>
          <HotelInventory>
            <Id>guid</Id>
            <realUrl>string</realUrl>
            <ta_id>int</ta_id>
            <partner_id>string</partner_id>
            <name>string</name>
            <street>string</street>
            <city>string</city>
            <postal_code>string</postal_code>
            <state>string</state>
            <country>string</country>
            <latitude>decimal</latitude>
            <longitude>decimal</longitude>
            <desc>string</desc>
            <amenities xsi:nil="true" />
            <url>string</url>
            <email>string</email>
            <phone>string</phone>
            <fax>string</fax>
            <room_types>string</room_types>
          </HotelInventory>
        </hotels>
      </hotel_inventory_showResult>
    </hotel_inventory_showResponse>
  </soap12:Body>
</soap12:Envelope>