All XML messages within the Smarthotel specifications require a REST Request POST method to an endpoint. Also a HTTP header is required. Name and value can be found below. (Please note that these credentials are only valid for the testing environment.) For testing purposes we advise to use for example the RESTClient plug in for Firefox or something alike.
Please use for each message the Content-Type HTTP header:
Content-Type: text/xml
The endpoints for our testing environment are:
https://acceptance.smarthotel.nl/API/API.aspx
HTTP header (only applicable for PMS and OBE connetions):
WhiteLabelID: 1020
For testing purposes, this WhiteLabelID is 1020, in production, this number is variable per hotel.
https://acceptance.smarthotel.nl/Connect/API/API
No WhiteLabelID header is required.
https://staging.smarthotel.nl/ui
These endpoints are for the OTA & OBE connections only.
New reservations: https://acceptance.smarthotel.nl/Reservations/OTA_HotelResNotifRQ.aspx
Modifications: https://acceptance.smarthotel.nl/Reservations/OTA_HotelResModifyNotifRQ.aspx
Cancellations: https://acceptance.smarthotel.nl/Reservations/OTA_CancelRQ.aspx
No WhiteLabelID header is required.
https://acceptance.smarthotel.nl/extranet
Please note that above mentioned endpoints are not valid for our production environment and can be used for testing purposes only. You will receive the endpoints for our production environment after a succesfull certification.
When any XML message pushed to the Smarthotel production or testing endpoints fails, make sure you log the errors, get notified for this, and have retry mechanisms in place.