InterfaceMessageIn


Click here for a complete list of operations.

chargePosting

Xml formatted string to be sent to the Service
Example Internet Posting
<?xml version = "1.0" encoding="utf - 8"?>
<!--Reservation Number-->
<chargerecord resno = "" type="callrecord"> resno sent but always blank, for future use
<!--Site-->
<site>HotelX</site>
<!--Room number -->
<room>100</room>
<!--Date time of call -->
<datetime>06/04/2010 09:00:03</datetime>
<!--Dialled -->
<dialled>01202387678</dialled>
<!--Duration-->
<duration>00:23:12</duration>
<!--Call Type O = OUTGOING I = incoming String-->
<calltype>O</calltype>
<!--Call Charge major.minor currency String-->
<charge>9.12</charge>
<!--Additional User Defined Fields as required 0-19
<userdeine0>1234</userdefine0>
<!--VALID USER KEY (as Supplied)-->
<wsuserkey>Abc249PPP6pppk14</wsuserkey>
</chargerecord>

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/chargePosting"

<?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>
    <chargePosting xmlns="http://tigergenericinterface.org/">
      <XMLString>string</XMLString>
    </chargePosting>
  </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>
    <chargePostingResponse xmlns="http://tigergenericinterface.org/">
      <chargePostingResult>string</chargePostingResult>
    </chargePostingResponse>
  </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>
    <chargePosting xmlns="http://tigergenericinterface.org/">
      <XMLString>string</XMLString>
    </chargePosting>
  </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>
    <chargePostingResponse xmlns="http://tigergenericinterface.org/">
      <chargePostingResult>string</chargePostingResult>
    </chargePostingResponse>
  </soap12:Body>
</soap12:Envelope>