...
- HTTP RAW POST
- SOAP
- JSON POST
- 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)
Example request and response
...
Code Block | ||||
---|---|---|---|---|
| ||||
<OTA_HotelDescriptiveInfoRS xmlns="http://www.opentravel.org/OTA/2003/05" PrimaryLangID="en" TimeStamp="2015-11-23T13:14:21+01:00" Target="Test" Version="1.0" schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelDescriptiveInfoRQ.xsd" CorrelationID="0025653031d8eb32">
<Success></Success>
<HotelDescriptiveContents>
<HotelDescriptiveContent HotelName="Hotel Monopole">
<FacilityInfo>
<GuestRooms>
<GuestRoom Language="en" MaxAdultOccupancy="2" MaxChildOccupancy="2" MaxOccupancy="2" MinOccupancy="1" RoomTypeName="Double" Sort="1" Quantity="50" ID="00P55192452c758a">
<TypeRoom StandardOccupancy="2" Composite="0" Quantity="50"/>
</GuestRoom>
</GuestRooms>
</FacilityInfo>
</HotelDescriptiveContent>
</HotelDescriptiveContents>
</OTA_HotelDescriptiveInfoRS>
|
Code Block | ||
---|---|---|
| ||
{
"OTA_HotelDescriptiveInfoRQ": {
"POS": {
"Source": {
"RequestorID": {
"_ID": "USERNAME",
"_MessagePassword": "PASSWORD"
}
}
},
"HotelDescriptiveInfos": {
"HotelDescriptiveInfo": {
"FacilityInfo": {
"_SendGuestRooms": "true"
},
"_HotelCode": "HOTELCODE",
"_HotelName": "HOTELNAME"
}
},
"_PrimaryLangID": "en",
"_TimeStamp": "2011-07-27T14:57:00",
"_Target": "Test",
"_Version": "1.000"
}
} |
Code Block | ||
---|---|---|
| ||
{ "_PrimaryLangID": "en", "_TimeStamp": "2019-09-19T09:50:36+02:00", "_Target": "Test", "_Version": "1.000", "_CorrelationID": null, "Success": [], "HotelDescriptiveContents": { "HotelDescriptiveContent": { "_HotelName": "HOTELNAME", "FacilityInfo": { "GuestRooms": { "GuestRoom": [ { "_MaxAdultOccupancy": "2", "_MaxChildOccupancy": "2", "_MaxOccupancy": "2", "_MinOccupancy": "1", "_NonsmokingQuantity": "50", "_RoomTypeName": "Double EN 2", "_Sort": "0", "_Quantity": "50", "_ID": "00P561288a792fa6", "_Language": "en", "TypeRoom": [ { "_MaxCribs": "0", "_MaxRollaways": "1", "_Size": "0", "_StandardNumBeds": "1", "_StandardOccupancy": "2", "_Quantity": "50" } ] } ] }, "_LastUpdated": "2019-09-19T07:56:24+02:00" } } } } |
Request structure
OTA_HotelDescriptiveInfoRQ
...