HHG code example

Example: HHG

POST /XmlServices/ChannelManager.asmx HTTP/1.1
Host: secure.yieldplanet.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "XmlServices/ManageHotel"

<?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>
    <ManageHotel xmlns="XmlServices">
      <request>
        <Credentials>
          <HotelId>int</HotelId>
        </Credentials>
        <Operation>Insert or Update or Delete</Operation>
        <Hotel>
          <Name>string</Name>
          <City>string</City>
          <CountryCode>string</CountryCode>
          <Street>string</Street>
          <PostCode>string</PostCode>
          <NIP>string</NIP>
          <Email>string</Email>
          <Phone>string</Phone>
          <Fax>string</Fax>
          <Currency>string</Currency>
          <ContactPerson>
            <Name>string</Name>
            <Position>string</Position>
            <Phone>string</Phone>
            <Email>string</Email>
          </ContactPerson>
        </Hotel>
        <Tag>string</Tag>
      </request>
    </ManageHotel>
  </soap:Body>
</soap:Envelope>

Tags:

Php Example