Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example request and response

Code Block
languagexml
titleOTA_HotelRatePlanNotifRQ request
<OTA_PingRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_ReadRQ.xsd" TimeStamp="2003-03-17T09:30:47-05:00" Target="Test" Version="2.0">
  <POS>
    <Source>
      <RequestorID ID="USERNAME" MessagePassword="PASSWORD"></RequestorID>
    </Source>
  </POS>
  <EchoData>Hello Moto</EchoData>
</OTA_PingRQ>



title
Code Block
OTA_PingRQ JSON request
{
	"OTA_PingRQ": {
		"POS": {
			"Source": {
				"RequestorID": {
					"_ID": "USERNAME",
					"_MessagePassword": "PASSWORD"
				}
			}
		},
		"EchoData": "Hello Moto",
		"_TimeStamp": "2003-03-17T09:30:47-05:00",
		"_Target": "Test"
	}
}
Code Block
languagexml
titleOTA_PingRS response
<OTA_PingRS xmlns="http://www.opentravel.org/OTA/2003/05" schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_PingRQ.xsd" TimeStamp="2015-11-20T07:42:35+01:00" Target="Test" CorrelationID="002564ec0dba75cb" Version="1.0">
  <EchoData>Hello Moto</EchoData>
  <Success></Success>
</OTA_PingRS>
Code Block
titleOTA_PingRS JSON response
{
	"OTA_PingRS": {
		"EchoData": "Hello Moto",
		"Success": "",
		"_TimeStamp": "2015-11-20T07:42:35+01:00",
		"_Target": "Test",
		"_CorrelationID": "002564ec0dba75cb",
		"_Version": "1.0"
	}
}


Request structure

OTA_PingRQ

...