Zenith API‎ > ‎

1. Hotels

In order to PUSH your hotel rates and availability to Zenith, you will need to develop the following 4 methods:
1. Get Room Codes and Rate Plan Codes (Supplier → Zenith)
2. Push Rates (Supplier → Zenith)
3. Push availability and restrictions (Supplier → Zenith)
4. Reservation notification  (Zenith → Supplier)

The request is sent with a SOAP wrapper, where the body of the message is specified in each individual request.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
 
  <SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <wsse:UsernameToken>
        <wsse:Username>USERNAME</wsse:Username>
        <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">SECRET</wsse:Password>
      </wsse:UsernameToken>
    </wsse:Security>
  </SOAP-ENV:Header>
 
  <SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<!-- [request body] -->

</SOAP-ENV:Body>
</SOAP-ENV:Envelope>