Table of Contents |
---|
...
Note |
---|
Error Responses using the <Errors></Errors> tag will flag the reservation delivery from SMX to your endpoint as Failed. |
Content-Type
The ‘Content-Type’ for all SOAP
XML messages must be application/xml; charset=utf-8
.
...
Code Block | ||
---|---|---|
| ||
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:Body xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <OTA_HotelResNotifRS xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2022-08-01T09:30:47+08:00" EchoToken="abc123-unique"> <Errors> <Error Type="6" Code="392">Invalid>Hotel not hotelfound code: ABC<for HotelCode=XXXXXX</Error> </Errors> </OTA_HotelResNotifRS> </soap-env:Body> </soap-env:Envelope> |
...
Code Block | ||
---|---|---|
| ||
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:Body xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <OTA_HotelResNotifRS xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2022-08-01T09:30:47+08:00" EchoToken="abc123-unique"> <Errors> <Error Type="6" Code="497">Authorization>Invalid errorUsername - invalid username<and/or Password</Error> </Errors> </OTA_HotelResNotifRS> </soap-env:Body> </soap-env:Envelope> |
...