fbpx

Have any Question?

You can ask below or enter what you are looking for!

API| Ping Request

The connecting PMS can use the OTA_PingRQ to verify that the test web service is up and running and that it is able to connect.

Ping Request

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
        <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
            <wsse:UsernameToken>
                <wsse:Username>USERNAME</wsse:Username>
                <wsse:Password>PASSWORD</wsse:Password>
            </wsse:UsernameToken>
        </wsse:Security>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
        <OTA_PingRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="abc123" TimeStamp="2016-07-12T10:00:29.0Z" Version="1">
            <EchoData> Hello World </EchoData>
        </OTA_PingRQ>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Ping Response

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://www.opentravel.org/OTA/2003/05">
   <SOAP-ENV:Body>
      <tns:OTA_PingRS EchoToken="abc123" TimeStamp="2016-07-12T10:00:29+0000" Version="1.0">
         <tns:Success></tns:Success>
         <tns:EchoData>Hello World</tns:EchoData>
      </tns:OTA_PingRS>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

—- —- —- —- —- —- —- — — — — —
Back to API Documentation