Booking Received Notification

You should strive to process new, modified, and canceled reservations almost instantly (see Retrieve all Bookings). This API is used to notify our system, that you have received bookings.

The API can return data in JSON formats. The web service responds to HTTP POST requests.

End Point URL

Header

Content-Type: application/json

Parameter

NameData TypeDescriptionExample
Request_Type *Use Keyword “BookingRecdNotification”
HotelCode *INT(11)Unique Hotel codeXXXX
AuthCode *VARCHAR(300)Unique Authentication codeXXXXXXXXXX
BookingId *VARCHAR(20)Unique BookingId1234, RV123,G872
PMS_BookingId*VARCHAR(20)Third party PMS Unique ID1234, RV123,G872
StatusVARCHAR(20)Booking Status (Optional)New, Modify, Cancel

Request 

 {
 "RES_Request": {
 "Request_Type": "BookingRecdNotification",
 "Authentication": {
        "HotelCode": "xxxx",
        "AuthCode": "xxxxxxxxxxxx"
      },
    "Bookings": {
           "Booking": [
            {
                "BookingId": "12345",
                 "PMS_BookingId": "123456",
                 "Status": "New"
             },
             {
                 "BookingId": "4321",
                 "PMS_BookingId": "45678",
                 "Status": "Cancel"
              }
            ]
       }
 }
}

Response

NameData TypeDescriptionExample
Success.SuccessMsgGenerate Success Response Message2 booking(s) updated
Errors.ErrorCodeResponse Error Code0, 301 etc
Errors.ErrorMessageGenerate Response MessageUnauthorized Request. Please check hotel code and authentication code

Success

 {
    "Success": {
        "SuccessMsg": "2 booking(s) updated"
     },
    "Errors": {
        "ErrorCode": "0",
        "ErrorMessage": "Success"
     }
} 

Error Codes

Error CodeError Name
100Missing required parameters.
500Error occurred during processing
502Request Type is missing
101Hotel Code is missing
102Authentication Code is missing
117Booking id(s) missing in booking received notification request
301Unauthorized Request. Please check hotel code and authentication code
302Unauthorized Request. Integration is not allowed
303Auth Code is inactive.
201Unauthorized request.(Request Type) request is not valid for this hotel code
202Unauthorized request. Hotel code is not active
118Booking id(s) missing in booking received notification request

Click here to Register