...
- HTTP RAW POST
- SOAP
- JSON
- Staging: https://staging.hotel-spider.ch/json/server.php Production: https://extranet.hotel-spider.ch/json/server.php (We recommend using OTA via XML, if you want to use JSON interface please contact us)
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 | ||
---|---|---|
| ||
<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 | ||
| ||
{ "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 | ||||
---|---|---|---|---|
| ||||
<OTA_NotifReportRS Version="1.000" TimeStamp="2015-12-08T18:30:48+01:00" EchoToken="123456789">
<Success/>
</OTA_NotifReportRS>
| ||||
Code Block | ||||
| ||||
{ "OTA_NotifReportRS": { "Success": "", "_Version": "1.000", "_TimeStamp": "2015-12-08T18:30:48+01:00", "_EchoToken": "123456789" } } |
Request structure
OTA_NotifReportRQ
...