Post Create Bookings Actions

This API helps you to process post create bookings actions in our system . The API can return data in JSON formats. The web service responds to HTTP GET requests.

You need to take eZee Reservation to use this API.

End Point URL

[BaseUrl]booking/reservation_api/listing.php?request_type=[Request_Type]&HotelCode=[Hotel_Code]&APIKey=[API_KEY]&Process_ Data=[PROCESS_DATA]

Header

Parameter

NameData TypeDescriptionExample
[BaseUrl] *Live server URLhttps://live.ipms247.com/
[Request_Type] *Use Keyword “ProcessBooking”
[Hotel_Code] *INT(11)Unique Hotel codeXXXX
[API_KEY] *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
[LANGUAGE]VARCHAR(20)[Optional] Default is en.
Pass language code. Language codes are available here.
en
Process_Data=>ActionStringAction for bookingPendingBooking,
FailBooking,
ConfirmBooking
Process_Data=>ReservationNoStringReservation numberRES522
Process_Data=>Inventory_ModeStringMode of inventoryALLOCATED,
REGULAR
Process_Data=>Error_TextStringError text

Request 

https://live.ipms247.com/booking/reservation_api/listing.php?request_type=ProcessBooking&HotelCode=XXX&APIKey=XXX&Process_Data={"Action":"ConfirmBooking","ReservationNo":"RES522","Inventory_Mode":"XXX","Error_Text":""}

Response

NameData TypeDescriptionExample
Success.SuccessMsgGenerate Success ResponseBooking processed Successfully
Errors.ErrorCodeResponse Error Code301, 404 etc
Errors.ErrorMessageGenerate Response MessageReservation already processed

Success

{
"result":"success",
"message":"Booking Processed Succesfully"
}

Error Codes

Error CodeError Name
HotelCodeEmptyHotel code is empty.
NORESACCThis request is valid for Reservation Account only. You may not have opted for Reservation Account Or Hotel Code and Authentication are invalid.
UNAUTHREQUnauthorized request. This request is not valid for this hotel code.
2Cannot Parse Request
5Recoverable Error. Equivalent to http 503.
ReservationAlreadyProcessedReservation is already processed.
ParametersMissingMissing parameters.
DBConnectErrorDatabase not connected.
-1Booking Process Failure.
APIACCESSDENIEDYour property doesn’t have access to API integration or Key is incorrect. Please contact support for this.
ParametersMissingMissing parameters.
UnknownErrorUnknown Error
4Timeout requested. Stops requests for the specified time.
ReservationNotExistReservation No. does not exist. Please check.
InvalidHotelCodeInvalid Hotel code.Please check your property code.
BadRequestBad request type.

Click here to Register