InterfaceMessageIn


Click here for a complete list of operations.

roomBill

Xml formatted string to be sent to the Service
Example roombillresults
<?xml version="1.0" encoding="utf-8"?>
<roombillresults resno = "1000TD" >
<!--Site-->
<site>HotelX</site>
<!--Room Number -->
<room>101</room>
<!--Balance major.minor currency string -->
<balance>138.50</balance>
<!--Error – If an error occurred producing results -->
<error></error>
<item>
<code>T210</code>
<description>Telephone</description>
<charge>13.50</charge>
<!--Date time of charge -->
<datetime>06/04/2012 09:30:03</datetime>
</item>
<item>
<code>R100</code>
<description>Room Rate</description>
<charge>100.00</charge>
<!--Date time of charge -->
<datetime>05/04/2012 13:45:08</datetime>
</item>
<item>
<code>L8000</code>
<description>Lobby Bar</description>
<charge>25.00</charge>
<!--Date time of charge -->
<datetime>07/04/2012 20:52:16</datetime>
</item>
<!--VALID USER KEY (as Supplied)-->
<wsuserkey>Abc249PPP6pppk14</wsuserkey>
</roombillresults>

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 /InterfaceMessageIn.asmx HTTP/1.1
Host: genericext-syndicatmixteduharas.ichargeenterprise.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tigergenericinterface.org/roomBill"

<?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>
    <roomBill xmlns="http://tigergenericinterface.org/">
      <XMLString>string</XMLString>
    </roomBill>
  </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>
    <roomBillResponse xmlns="http://tigergenericinterface.org/">
      <roomBillResult>string</roomBillResult>
    </roomBillResponse>
  </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 /InterfaceMessageIn.asmx HTTP/1.1
Host: genericext-syndicatmixteduharas.ichargeenterprise.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>
    <roomBill xmlns="http://tigergenericinterface.org/">
      <XMLString>string</XMLString>
    </roomBill>
  </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>
    <roomBillResponse xmlns="http://tigergenericinterface.org/">
      <roomBillResult>string</roomBillResult>
    </roomBillResponse>
  </soap12:Body>
</soap12:Envelope>