Versions Compared

Key

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

...


Warning

Please be careful with the XML structure of the document: each reservation must be confirmed with a unique HotelReservation node. Do not send multiple HotelReservationID element with the same ResID_Type value in the same HotelReservation node.

...

Code Block
titleOTA_NotifReportRQ request
<OTA_NotifReportRQ Version="1.000" TimeStamp="2015-12-08T18:30:47+01:00">
  <POS>
    <Source>
    <RequestorID ID="USERNAME" MessagePassword="PASSWORD"/>
    </Source>
  </POS>
  <NotifDetails>
    <HotelNotifReport>
      <HotelReservations>
        <HotelReservation>
          <ResGlobalInfo>
            <HotelReservationIDs>
              <HotelReservationID ResID_Source="ONLINEBOOKINGSYSTEMID" ResID_SourceContext="ONLINEBOOKINGSYSTEMNAME" ResID_Type="10" ResID_Value="ABCD-668591"/>
              <HotelReservationID ResID_SourceContext="Hotel-Spider" ResID_Type="40" ResID_Value="PMS-111333"/>
            </HotelReservationIDs>
          </ResGlobalInfo>
        </HotelReservation>
      </HotelReservations>
    </HotelNotifReport>
  </NotifDetails>
</OTA_NotifReportRQ>


Code Block
titleOTA_NotifReportRQ JSON request
{
	"OTA_NotifReportRQ": {
		"POS": {
			"Source": {
				"RequestorID": {
					"_ID": "USERNAME",
					"_MessagePassword": "PASSWORD"
				}
			}
		},
		"NotifDetails": {
			"HotelNotifReport": {
				"HotelReservations": {
					"HotelReservation": {
						"ResGlobalInfo": {
							"HotelReservationIDs": {
								"HotelReservationID": [
									{
										"_ResID_Source": "ONLINEBOOKINGSYSTEMID",
										"_ResID_SourceContext": "ONLINEBOOKINGSYSTEMNAME",
										"_ResID_Type": "10",
										"_ResID_Value": "ABCD-668591"
									},
									{
										"_ResID_SourceContext": "Hotel-Spider",
										"_ResID_Type": "40",
										"_ResID_Value": "PMS-111333"
									}
								]
							}
						}
					}
				}
			}
		},
		"_Version": "1.000",
		"_TimeStamp":
"2015-12-08T18:30:47+01:00"
	}
}



Code Block
languagexml
titleOTA_NotifReportRS request
<OTA_NotifReportRS Version="1.000" TimeStamp="2015-12-08T18:30:48+01:00" EchoToken="123456789">
  <Success/>
</OTA_NotifReportRS>
Code Block
titleOTA_NotifReportRS JSON response
{
	"OTA_NotifReportRS": {
		"Success": "",
		"_Version": "1.000",
		"_TimeStamp": "2015-12-08T18:30:48+01:00",
		"_EchoToken": "123456789"
	}
}


Request structure

OTA_NotifReportRQ

...