Bookings

Add Extra Charge

This API will post the extra charge to a particular single or multiple reservations. The API can return data in JSON formats. The web service responds to HTTP POST requests.

End Point URL

Header

Content-Type: application/json
NameData TypeDescriptionExample
HotelCode*INT(11)Unique Hotel codexxxx
AuthCode*VARCHAR(300)Unique Authentication codexxxxxxxxxx
Request_Type*VARCHAR(100)Request TypeAddExtraCharge
Reservation->BookingId*VARCHAR(100)Reservation No.11-1  or 12
Reservation->FolioNoINT(20)Folio No.12
Reservation->ChargeId*INT(20)Charge Unique Id
(Click here to get ChargeId)
https://api.ezeetechnosys.com/#592
123400000000000001
Reservation->Amount*DECIMAL(19,4)Amount to pay100.00
Reservation->Qty*INT(20)Quantity1 or 2
Receipt->CommentVARCHAR(100)Comment is optionalExtra charge is added for room

Note: To get the chargeunkid of specific extra charge, use this api
API : Retrieve Extras


Request 

{
"RES_Request": {
"Request_Type": "AddExtraCharge",
"Authentication": {
"HotelCode": "1234",
"AuthCode": "xxxxxxxxxxxxxxxx"
},
"Reservation": [
{
"BookingId": "11-1",
"FolioNo": "", // Optional
"ChargeId": "123400000000000007",
"Amount": "70",
"Qty": "1",
"Comment": "extra charge is added"
},
{
"BookingId": "12",
"FolioNo": "302", // Optional
"ChargeId": "123400000000000007",
"Amount": "10",
"Qty": "5",
"Comment": "extra charge is added"
}
]
}
}

Response

Success

{
"Success": {
"SuccessMsg": "Extra charge is added successfully for booking 11-1"
},
"Errors": [
{
"ErrorCode": "0",
"ErrorMessage": "Success"
}
]
}

Success/Error:

{
"Success": {
"SuccessMsg": "Extra charge is added successfully for booking 11-1"
},
"Errors": [
{
"ErrorCode": "104",
"ErrorMessage": "Charge Id is missing for booking 12"
}
]
}

Error

{
"Errors": [
{
"ErrorCode": "104",
"ErrorMessage": "Charge Id is missing for booking 12"
}
]
}

Error Codes

Error CodeError Name
100Missing required parameters
500Error occurred during processing.
502Request Type is missing
101Hotel Code is missing
102Authentication Code is missing
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
103Booking ID is missing
104Payment Id  is missing for booking
105Currency Id is missing for booking
106Payment amount is missing or invalid payment amount for booking
108Error in folio.
109Maximum 10 bookings are allowed at a time.
110Payment ID not valid
114Currency is not valid for booking
115Amount is exceeded than folio balance for booking
116Invalid parameter for booking
113We don’t find this reservation in our system. So payment not processed for booking
117Reservation is void. So payment not processed for booking
118Reservation is past checked out. So payment not processed for booking
119Invalid folio no for booking

Bookings

Create a Booking

This API helps you to insert new bookings 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]&BookingData=[BOOKING_DATA]

Header

Parameter

NameData TypeDescriptionExample
[BaseUrl] *Live server URLhttps://live.ipms247.com/
[Request_Type] *Use Keyword “InsertBooking”
[Hotel_Code] *INT(11)Unique Hotel codeXXXX
[API_KEY] *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
[BookingData] *JsonYou need to pass JSON data. please follow below “BookingData” section
[LANGUAGE]VARCHAR(20)[Optional] Default is en.
Pass language code. Language codes are available here.
en
publishtowebTINYINT(1)1 – will retrieve all Room Types0 – will retrieve room types which are published to WEBDefault value is 00 OR 1

BookingData JSON Format 

{
  "Room_Details": {
    "Room_1": {
      "Rateplan_Id": "[RATEPLAN_ID]", /* Mandatory */
      "Ratetype_Id": "[RATETYPE_ID]", /* Mandatory */
      "Roomtype_Id": "[ROOMTYPE_ID]", /* Mandatory */
      "baserate": "[BASERATE]", /* Mandatory */
      "extradultrate": "[EXTRADULTRATE]", /* Mandatory */
      "extrachildrate": "[EXTRACHILDRATE]", /* Mandatory */
      "number_adults": "[NUMBER_ADULTS]", /* Mandatory */
      "number_children": "[NUMBER_CHILDREN]", /* Mandatory */
      "ExtraChild_Age": "[EXTRACHILD_AGE]", /* Mandatory if number_children is not zero*/
      "Package_Details": { /* If package is booked then only pass below details and for package otherwise ignore :*/
        "Package_Id": "[PACKAGE_ID]", /* Mandatory */
        "Package_Name": "[PACKAGE_NAME]", /* Mandatory */
        "Package_Description": "PACKAGE_DESCRIPTION"
      },
      "Promotion_Details": { /* If room is booked using promotional code then only pass below details and for promotion otherwise ignore: */
        "Promotional_Code": "[PROMOTIONAL_CODE]", /* Mandatory */
        "Promotion_Id": "[PROMOTION_ID]", /* Mandatory */
        "Promotion_Name": "[PROMOTION_NAME]", /* Mandatory */
        "Promotion_Description": "[PROMOTION_DESCRIPTION]"
      },
      "Title": "[TITLE]",
      "First_Name": "[FIRST_NAME]", /* Mandatory */
      "Last_Name": "[LAST_NAME]", /* Mandatory */
      "Gender": "[GENDER]",
      "SpecialRequest": "[SPECIALREQUEST]"
    },
    "Room_2": {}
  },
  "ExtraCharge": { /* This will be useful when various Extra Charges exist in system and booker take any extra charge in booking. */
    "Extra_1": {
      "ExtraChargeId": "[EXTRACHARGEID]", /* Mandatory */
      "ChargeAdult": "[CHARGEADULT]" /* Mandatory */
    },
    "Extra_2": {
      "ExtraChargeId": "[EXTRACHARGEID]",
      "ChargeChild": "[CHARGECHILD]"
    },
  },
  "CardDetails": { /* All below parameters related to CardDetails are mandatory for inserting card details in transaction. If any of the below listed parameter is missing card details won’t be added in transaction. */
    "cc_cardnumber": "[CC_CARDNUMBER]",
    "cc_cardtype": "[CC_CARDTYPE]",
    "cc_expiremonth": "[CC_EXPIREMONTH]",
    "cc_expireyear": "[CC_EXPIERYEAR]",
    "cvvcode": "[CVVCODE]",
    "cardholdername": "[CARDHOLDERNAME]"
  },
  "check_in_date": "[CHECK_IN_DATE]", /* Mandatory */
  "check_out_date": "[CHECK_OUT_DATE]", /* Mandatory */
  "Booking_Payment_Mode": "[BOOKING_PAYMENT_MODE]",
  "Email_Address": "[EMAIL_ADDRESS]", /* Mandatory */
  "Source_Id": "[SOURCE_ID]",
  "MobileNo": "[MOBILENO]",
  "Address": "[ADDRESS]",
  "State": "STATE",
  "Country": "[COUNTRY]",
  "City": "[CITY]",
  "Zipcode": "[ZIPCODE]",
  "Fax": "[FAX]",
  "Device": "[DEVICE]",
  "Languagekey": "[LANGUAGEKEY]",
  "paymenttypeunkid": "[PAYMENTGATEWAY_ID]"
}

Request 

https://live.ipms247.com/booking/reservation_api/listing.php?request_type=InsertBooking&HotelCode=xxxxx&APIKey=XXXXXXXXXXXXXXXX&BookingData={"Room_Details":{"Room_1":{"Rateplan_Id":"1872700000000000002","Ratetype_Id":"1872700000000000001","Roomtype_Id":"1872700000000000002","baserate":"3500","extradultrate":"500","extrachildrate":"500","number_adults":"2","number_children":"1","ExtraChild_Age":"2","Title":"","First_Name":"ABC","Last_Name":"Joy","Gender":"","SpecialRequest":""}},"check_in_date":"2021-02-22","check_out_date":"2021-02-23","Booking_Payment_Mode":"","Email_Address":"abc@gmail.com","Source_Id":"","MobileNo":"","Address":"","State":"","Country":"","City":"","Zipcode":"","Fax":"","Device":"","Languagekey":"","paymenttypeunkid":""}

Response

NameData TypeDescriptionExample
ReservationNoStringUnique Reservatrion number266
SubReservationNoStringSub Reservation number is same as Res No for Single booking but If Group booking, It will show you sub number (1,2,3,…)266
InventoryModeStringMode of InventoryALLOCATED

Success

{"ReservationNo":"266","SubReservationNo":["266"],"Inventory_Mode":"ALLOCATED","lang_key":"en"}

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.
-1No Data found.
APIACCESSDENIEDYour property doesn’t have access to API integration or Key is incorrect. Please contact support for this.
ParametersMissingMissing parameters.
InvalidDataPlease check data passed.

Bookings

Retrieve Transaction Details

This API helps you to fetch booking details for specific transaction unique ID based on Room No, Guest, Identity No, Guest Email, Guest Mobile No, Guest Registration No. 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*VARCHAR(100)Request TypeGetTransactionDetails
TranunkId*VARCHAR(100)Transaction Id single/multiple (comma separated)xxxxx0000000000400
RoomNoVARCHAR(500)Room No (It is Optional)101
GuestVARCHAR(100)Guest Name (It is Optional)test
IdentityNoVARCHAR(255)Identity No (It is Optional)ASD43543
GuestEmailVARCHAR(255)Guest Email (It is Optional)abc@gmail.com
GuestMobileNoVARCHAR(255)Guest Mobile No (It is Optional)XXXXXXXXXX
GuestRegistrationNoVARCHAR(255)Guest Registration No (It is Optional)XXXXXX
HotelCode*INT(11)Unique Hotel codexxxx
AuthCode*VARCHAR(300)Unique Authentication codexxxxxxxxxx

Request 

{           
      "RES_Request": {
            "Request_Type": "GetTransactionDetails,"
.           "TranunkId": "xxxxx0000000000400",
            "RoomNo": "101",
            "Guest": "Joy T. Mnewy",          
            "IdentityNo": "ASD43543",              
            "GuestEmail": "XXXXXX@gmail.com",              
            "GuestMobileNo": "XXXXXXXXXX",  
            "GuestRegistrationNo": "XXXXXX", 
            "Authentication": {
                 "HotelCode": "XXXX",
                 "AuthCode": "XXXXXXXXXXXXXXXXXXX"
           } 
      }
}
 

Response

NameData TypeDescriptionExample
LocationIdINT(11)Hotel codexxxx
UniqueIDVARCHAR(255)Unique Booking id/ Reservation No10125, 86436, B4525 etc
BookedByVARCHAR(255)Information regarding Booked byBooking.com etc
Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo.VARCHAR(255)Here * denotes guest information like Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo.shown in JSON response below.
SourceVARCHAR(1000)Booking generated sourceBooking.com etc
PaymentMethodVARCHAR(255)Payment Mode selected by guestCash, Credit, CityLedger etc
IsChannelBookingINT(1)Is booking comes from channel [0 or 1]1 : Booking from the channel.0: Booking not from the channel.0 or 1
BookingTran. SubBookingIdVARCHAR(255)Sub booking Id138
BookingTran. TransactionIdINT(20)Booking Transaction ID112500000000000163
BookingTran. StatusVARCHAR(100)Booking StatusNew or Modify or Cancel.
BookingTran.IsConfirmedINT(1)Booking Confirmation Flag. [1 or 0]1 : Confirmed0 : Not Confirmed1 or 0.
BookingTran.CurrentStatusVARCHAR(100)Booking Current StatusArrived, Checked Out, Cancel, Void, etc
BookingTran.VoucherNoVARCHAR(255)Booking Voucher No10203049/8512
BookingTran. PackageCodeINT(20)Package Code112500000000000001
BookingTran. PackageNameVARCHAR(1000)Package NameEuropean Plan etc
BookingTran. RateplanCodeINT(20)Unique RatePlan Code112500000000000006
BookingTran. RateplanNameSTRING(1000)RatePlan NameGrand Sea View Junior Suite
BookingTran. RoomTypeCodeINT(20)Unique RoomType Code112500000000000006
BookingTran. RoomTypeNameSTRING(1000)RoomType NameGarden View Studio Room
BookingTran.RoomIDINT(20)Unique RoomID112500000000000001
BookingTran. RoomNameSTRING(1000)Room Name101
BookingTran. StartDATECheck-in date[Format : yyyy-mm-dd]2017-12-25
BookingTran. EndDATECheck-out date [Format : yyyy-mm-dd]2017-12-27
BookingTran.TotalRateDECIMAL(19,4)Rate on room in amount1500.43
BookingTran.TotalDiscountDECIMAL(19,4)Discount on room in amount500
BookingTran. TotalExtraChargeDECIMAL(19,4)Extra charges in amount(if any)300
BookingTran.*Here * denotes guest informations like Salutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo,IdentityType, IdentityNo, ExpiryDate.
BookingTran. TransportationModeVARCHAR(100)Mode of transportationBus, car etc
BookingTran. VehicleVARCHAR(255)Detail of vehicle
BookingTran. PickupDateDATEPickup date[Format : yyyy-mm-dd]2017-12-25 etc
BookingTran. PickupTimeTIMEPickup time
BookingTran. SourceVARCHAR(1000)Booking generated sourceBooking.com
BookingTran. CommentVARCHAR(1000)Additional Information or comment.
BookingTran. AffiliateNameVARCHAR(1000)Booking Affiliate Name
BookingTran.AffiliateCodeVARCHAR(1000)Booking Affiliate Code
BookingTran.*Here * denotes Credit Card Informations like CCLink, CCNo, CCType, CardHolderName, CCExpiryDate,CCLink in encoded with base64_encode.
BookingTran.RentalInfo.RoomIDINT(20)Unique RoomID112500000000000001
BookingTran.RentalInfo. RoomNameSTRING(1000)Room Name101
BookingTran.RentalInfo.EffectiveDateDATETIMEBooking details for particular effective date2017-12-25 etc
BookingTran.RentalInfo.PackageCodeINT(20)Package code112500000000000001
BookingTran.RentalInfo.PackageNameVARCHAR(1000)Package NameEuropean Plan
BookingTran.RentalInfo.RoomTypeCodeINT(20)Unique RoomType Code112500000000000006
BookingTran.RentalInfo.RoomTypeNameSTRING(1000)RoomType NameGrand Sea View Junior Suite
BookingTran.RentalInfo.AdultINT(11)No. of Adults2,3,4 etc
BookingTran. RentalInfo.ChildINT(11)No. of Child2,3,4 etc
BookingTran. RentalInfo.RentDECIMAL(19,4)Room rental amount1500.43
BookingTran. RentalInfo.DiscountDECIMAL(19,4)Discount on rental room in amount500
BookingTran.Sharer.*Here * denotes Sharer informations like Salutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Nationality,Zip Code, Phone, Mobile, Fax, Email,RegistrationNo,IdentityTypeID, IdentityNo, ExpiryDate.
Errors.ErrorCodeResponse Error Code104, 404 etc
Errors.ErrorMessageGenerate Response MessageUnauthorized Request. etc

Success

{
  "Reservations": {
    "Reservation": [
      {
        "BookingTran": [
          {
            "SubBookingId": "11241254",
            "TransactionId": "112400000000001902",
            "Createdatetime": "2019-09-04 11:40:30",
            "Modifydatetime": "2019-09-04 11:40:30",
            "Status": "New",
            "IsConfirmed": "1",
            "CurrentStatus": "Arrived",
            "VoucherNo": "single1276/1",
            "PackageCode": "112400000000000001",
            "PackageName": "European Plan",
            "RateplanCode": "112400000000000001",
            "RateplanName": "Sea View Deluxe Room",
            "RoomTypeCode": "112400000000000001",
            "RoomTypeName": "Sea View Deluxe Room",
            "RoomID": "112400000000000001",           
            "RoomName": "101",
            "Start": "2019-09-26",
            "End": "2019-09-28",
            "ArrivalTime": "12:00:00",
            "DepartureTime": "11:00:00",
            "CurrencyCode": "USD",
            "TotalAmountAfterTax": "976.00",
            "TotalAmountBeforeTax": "800.00",
            "TotalTax": "176.00",
            "TotalDiscount": "0.00",
            "TotalExtraCharge": "0.00",
            "TotalPayment": "0.00",
            "TACommision": "0.00",
            "Salutation": "Ms.",
            "FirstName": "Test",
            "LastName": "One",
            "Gender": "Female",
            "DateOfBirth": "",
            "SpouseDateOfBirth": "",
            "WeddingAnniversary": "",
            "Address": "",
            "City": " Brockway",
            "State": "CA",
            "Country": "USA",
            "Nationality": "Malta",
            "Zipcode": "95730",
            "Phone": "",
            "Mobile": "3534",
            "Fax": "564564",
            "Email": "LarryLForney@rhyta.com",
            “RegistrationNo” : "", 
            "IdentityType": "Pan card",
            "IdentityNo": "12345667765",
            "ExpiryDate": "",
            "TransportationMode": "",
            "Vehicle": "car",
            "PickupDate": "",
            "PickupTime": "",
            "Source": "BookingEye",
            "Comment": "",
            "AffiliateName": "",
            "AffiliateCode": "",
            "CCLink": "",
            "CCNo": "",
            "CCType": "",
            "CCExpiryDate": "",
            "CardHoldersName": "",
            "TaxDeatil": [
              {
                "TaxCode": "AA",
                "TaxName": "VAT @ 12%",
                "TaxAmount": "96.0000"
              },
              {
                "TaxCode": "LT",
                "TaxName": "Luxury @ 10%",
                "TaxAmount": "80.0000"
              }
            ],
            "RentalInfo": [
              {
                "RoomID": "112400000000000001",   
                "RoomName": "101",
                "EffectiveDate": "2019-09-26",
                "PackageCode": "112400000000000001",
                "PackageName": "European Plan",
                "RoomTypeCode": "112400000000000001",
                "RoomTypeName": "Sea View Deluxe Room",
                "Adult": "4",
                "Child": "2",
                "RentPreTax": "550.00",
                "Rent": "671.00",
                "Discount": "0.00"
              },
              {
                 "RoomID": "112400000000000001",   
                 "RoomName": "101",
                "EffectiveDate": "2019-09-27",
                "PackageCode": "112400000000000001",
                "PackageName": "European Plan",
                "RoomTypeCode": "112400000000000001",
                "RoomTypeName": "Sea View Deluxe Room",
                "Adult": "4",
                "Child": "2",
                "RentPreTax": "250.00",
                "Rent": "305.00",
                "Discount": "0.00"
              }
            ],
        "Sharer": [               
               {
                "Salutation": "Ms.",
                "FirstName": "Test",
                "LastName": "One",
                "Gender": "Female",
                "DateOfBirth": "",
                "SpouseDateOfBirth": "",
                "WeddingAnniversary": "",
                "Address": "",
                "City": " Brockway",
                "State": "CA",
                "Country": "USA",
                "Nationality": "Malta",
                "Zipcode": "95730",
                "Phone": "",
                "Mobile": "3534",
                "Fax": "564564",
                "Email": "LarryLForney@rhyta.com",
                "RegistrationNo" : "",  
                "IdentityTypeID": "894300000000000003",
                "IdentityNo": "12345667765",
                "ExpiryDate": "",
              },
              {
                "Salutation": "Ms.",
                "FirstName": "Test",
                "LastName": "One",
                "Gender": "Female",
                "DateOfBirth": "",
                "SpouseDateOfBirth": "",
                "WeddingAnniversary": "",
                "Address": "",
                "City": " Brockway",
                "State": "CA",
                "Country": "USA",
                "Nationality": "Malta",
                "Zipcode": "95730",
                "Phone": "",
                "Mobile": "3534",
                "Fax": "564564",
                "Email": "LarryLForney@rhyta.com",
                "Registration No" : "",  
                "IdentityTypeID": "894300000000000003",
                "IdentityNo": "12345667765",
                "ExpiryDate": "",
              }
            ] 
          }
        ],
        "LocationId": "1124",
        "UniqueID": "11241254",
        "BookedBy": "BookingEye",
        "Salutation": "Ms.",
        "FirstName": "Larry",
        "LastName": "Forney",
        "Gender": "Female",
        "Address": "",
        "City": "Brockway",
        "State": "CA",
        "Country": "USA",
        "Zipcode": "95730",
        "Phone": "",
        "Mobile": "3534",
        "Fax": "564564",
        "Email": "LarryLForney@rhyta.com",
        "Source": "BookingEye",
        "PaymentMethod": "Cash",
        "IsChannelBooking": "1"
      }
    ]
  }
}

Error Codes

Error CodeError Name
100Missing required parameters.
101Hotel Code is missing
102Authentication Code is missing
201Unauthorized request. (Request Type) the request is not valid for this hotel code OR OpenAPI platform is deactive
202Unauthorized request. Hotel code is not active
203Missing Parameter OR Invalid Parameter: TranunkId
301Unauthorized Request. Please check hotel code and authentication code
303Auth Code is inactive.
500Error occurred during processing
502Request Type is missing
503No Reservation Found.

Bookings

Retrieve List of Bills

This API will fetch the folio related billing information for particular reservation no. like folio no, due amount, total amount, total paid amount, guest name, billing person name 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
HotelCode*INT(11)Unique Hotel codexxxx
AuthCode*VARCHAR(300)Unique Authentication codexxxxxxxxxx
Request_Type*VARCHAR(100)Request TypeRetrieveListofBills
BookingId*VARCHAR(100)Reservation No.11-1  or 12

Request 

{
     "RES_Request": {
             "Request_Type": "RetrieveListofBills",
             "Authentication": {
             "HotelCode": "xxxx",
             "AuthCode": "xxxxxxxxxxxxxxxx",
             "BookingId": "7" 
             }
      }
}

Response

NameData TypeDescription Example
FolioList->folionoIntegerFolio no302
FolioList->BillToContactvarcharName of billing personBaiju
FolioList->GuestNamevarcharName of guest who booked reservationWinsent Lobo
FolioList->CurrencyCodevarcharCurrency CodeINR
FolioList->TotalChargesfloatTotal charges of folio500.00
FolioList->PaidAmofloatTotal paid amount of folio200.00
FolioList->DueAmountfloatTotal due amount of folio300.00

Success

{
    "Success": {
       "FolioList": [
            {
                "foliono": "297",
                "BillToContact": "max",
                "GuestName": "max",
                "CurrencyCode": "INR",
                "TotalCharges": "500.00",
                "PaidAmount": "-200.00",
                "DueAmount": "300.00"
            },
            {
                "foliono": "298",
                "BillToContact": "max",
                "GuestName": "max",
                "CurrencyCode": "INR",
                "TotalCharges": "600.00",
                "PaidAmount": "-200.00",
                "DueAmount": "400.00"
            }            
        ]
    },
    "Errors":{
        "ErrorCode": "0",
        "ErrorMessage": "Success"
    }  
}

Error

{
   "Errors": {
        "ErrorCode": "203",
        "ErrorMessage": "Reservation is not found for booking 25"
    }
}

Error Codes

Error CodeError Name
100Missing required parameter – BookingId
500Error occurred during processing
502Request Type is missing
101Hotel Code is missing
102Authentication Code is missing
103Booking ID is missing
104Invalid parameter for bookingId
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
203Reservation is not found for booking
204Reservation is cancelled, noshow or void for booking

Bookings

Guest Check Out

This API helps you to check out your reservation. The API can return data in JSON formats. The web service responds to HTTP POST requests.

Note: Maximum Five checkout will be allowed at a time.

End Point URL

Header

Content-Type: application/json

Parameter

NameData TypeDescriptionExample
HotelCode*INT(11)Unique Hotel codexxxx
AuthCode*VARCHAR(300)Unique Authentication codexxxxxxxxxx
Request_Type*VARCHAR(100)Request TypeGuestCheckOut
Reservation->
BookingId*
VARCHAR(150)Unique Booking Id/Reservation No456 or RES-456

Request 

1.For Single Booking Request

{
         "RES_Request": {
                "Request_Type": "GuestCheckOut",
                "Authentication": {
                       "HotelCode": "xxxxx",
                       "AuthCode": "xxxxxxxxxxxxxxxxxxxxxxx"
                },
                "Reservation": [
                {
                       "BookingId": "575"
                }
                ]
         }
}

2.For Multiple Booking Request

{
         "RES_Request": {
                "Request_Type": "GuestCheckOut",
                "Authentication": {
                       "HotelCode": "xxxxx",
                       "AuthCode": "xxxxxxxxxxxxxxxxxxxxxxx"
                },
                "Reservation": [
                {
                       "BookingId": "575"
                },
                {
                       "BookingId": "576"
                },
                ]
         }
}

Response

NameData TypeDescription Example
Success->
SuccessMsg
StringSuccess MessageSuccessfully Done
Success->
Invoices->
BookingId
StringBooking Id575
Success->
Invoices->
InvoiceNo
StringInvoice Number65
Errors->ErrorCodeintegerError Code0
Errors->ErrorMessageStringError MessageSuccess

Success

1.Full operation is successfully completed
{
    "Success": {
        "SuccessMsg": "Guest Check Out is successfully done for Booking 575",
        "Invoices": [
         {
               "BookingId": "575",
               "InvoiceNo": "65"
         }
         ]
    },
    "Errors": [
     {
        "ErrorCode": "0",
        "ErrorMessage": "Success"
     }
    ]
}


2.Full operation is successfully completed for multiple booking
{
    "Success": {
        "SuccessMsg": "Guest Check Out is successfully done for Booking 575,576",
        "Invoices": [
         {
               "BookingId": "575",
               "InvoiceNo": "65"
         },
         {
               "BookingId": "576",
               "InvoiceNo": "66"
         }
         ]
    },
    "Errors": [
     {
        "ErrorCode": "0",
        "ErrorMessage": "Success"
    }
    ]
}

3.In case some bookings are successfully checked out and some have errors for multiple bookings
{
       "Success": {
              "SuccessMsg": "Guest Check Out is successfully done for Booking 575,576",
              "Invoices": [
              {
                     "BookingId": "575",
                     "InvoiceNo": "65"
              },
              {
                     "BookingId": "576",
                     "InvoiceNo": "66"
              }
             ]
      },
      "Error": [
       {
            "ErrorCode": 118,
            "ErrorMessage": "Booking status has been checked out for Booking 524"
       }
       ]
}

Error

{ 
      "Error": [
       {
            "ErrorCode": 100,
            "ErrorMessage": "Missing required parameters."
       }
       ]
}

Error Codes

Error CodeError Name
100Missing required parameters.
500Error occurred during processing
501Error occurred during CheckIn processing
502Request Type is missing
600Something went wrong!
101Hotel Code is missing
102Authentication Code is missing
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
110Booking ID is missing in Reservation block
113We don’t find this reservation in our system. So guest check out not performed for booking.
114Folio pending on reservation. So guest check out is not performed for Booking
115Reservation is not yet checked in. So guest check out is not performed for Booking
116Today is not a check out date. So guest check out is not performed for Booking
117Booking status has been cancelled, noshow or void.
So guest check out is not performed for Booking
118Booking status has been checked out for Booking
119Late checkout charge is posted on Folio. So folio is pending on reservation and guest check out is not performed for Booking
129You are not allowed to check out for more than five bookings

Bookings

Room Assignment

This API helps you to Assign Room to your reservation. The API can return data in JSON formats. The web service responds to HTTP POST requests.

Note: Maximum Five bookings will be processed at a time.

End Point URL

Header

Content-Type: application/json
 
NameData TypeDescriptionExample
HotelCode*INT(11)Unique Hotel codexxxx
AuthCode*VARCHAR(300)Unique Authentication codexxxxxxxxxxxx
Request_Type*VARCHAR(100)Request TypeAssignRoom
RoomAssign->BookingId*VARCHAR(100)Reservation No.RES101,RES112-1
RoomAssign->RoomTypeID*BIGINT(20)Unique RoomType ID1234500000000000001
Please check API Retrieve Room Information to get RoomTypeID
https://api.ezeetechnosys.com/?#519
RoomAssign->RoomID*BIGINT(20)Unique Room ID1234500000000000001
Please check API Retrieve Room Information to get RoomID
https://api.ezeetechnosys.com/?#519

Request 

{
     "RES_Request": {
             "Request_Type": "AssignRoom",
             "Authentication": {
             "HotelCode": "xxxx",
             "AuthCode": "xxxxxxxxxxxx"
             },
             "RoomAssign": [{
                  "BookingId": "RES101",
                  "RoomTypeID": "1234500000000000001",
                  "RoomID": "1234500000000000001"
            },
            {
                 "BookingId": "RES112-1",
                 "RoomTypeID": "1234500000000000002",
                 "RoomID": "1234500000000000002"
           }]
      }
}

Response

NameData TypeDescriptionExample
Success->SuccessMsgStringSuccess MessageSuccessfully Done
Errors->ErrorCodeIntegerError Code100
Errors->ErrorMessageStringError MessageSuccess

Success

{       
   "Success": {
        "SuccessMsg": "Room Assignment is successfully done for Booking RES101,RES112-1. "
    },
    "Errors": {
        "ErrorCode": "0",
        "ErrorMessage": "Success"
    }
}

Only 1 Room Assigned Success

{       
    "Success": {
        "SuccessMsg": "Room Assignment is successfully done for Booking RES101"
    },
    "Errors": {
        "ErrorCode": "111",
        "ErrorMessage": "Room ID does not belongs to Room Type ID for Booking RES112-1 "
    }
}

Error

 {         
    "Errors": {
        "ErrorCode": "301",
        "ErrorMessage": "Unauthorized Request. Please check hotel code and authentication code"
     }
}

Error Codes

Error CodeError Name
100Missing required parameters
500Error occurred during processing.
502Request Type is missing
101Hotel Code is missing
102Authentication Code is missing
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
108Booking ID is missing
110Room ID is missing for Booking
111Room ID does not belongs to Room Type ID for Booking
112You are not allowed to room assign for more than five
113Booking Id does not exist OR Booking status is void/ cancel/ noshow 
114Room Type ID is missing for Booking
115Room Type ID does not exist for Booking
116Room Type ID is not matching with Booking
118Invalid Parameter for Booking
127Booking Status is not confirmed. so, there is not possible to assign room to Booking
129Room has already assigned to Booking
130Booking status is checked out. so, there is not possible to assign room to Booking 
131Room has been already assigned to other booking. So, room assignment is not possible on Booking

Bookings

Guest Check In

This API helps you to check in to your reservation. The API can return data in JSON formats. The web service responds to HTTP POST requests.

Note: Maximum Five bookings will be processed at a time.

End Point URL

Header

Content-Type: application/json

Parameter

NameData TypeDescriptionExample
HotelCode*INT(11)Unique Hotel codexxxx
AuthCode*VARCHAR(300)Unique Authentication codexxxxxxxxxx
Request_Type*VARCHAR(100)Request TypeGuestCheckIn
Reservation->
BookingId*
VARCHAR(150)Unique Booking Id/Reservation No456 or RES-456
Reservation->
GuestName *
VARCHAR(250)Guest Name (same as booking Guest Name)Yasir P Wayde
Reservation->
Email *
VARCHAR(250)Guest Email (same as booking Guest Email)xxxxxx@example.com
Reservation->
Address *
VARCHAR(250)Guest AddressStreet – 5, Sector-10, Main road, Mumbai
Reservation->
Phone *
VARCHAR(25)Guest Phone number91XXXXXXXXXX
Reservation->
Mobile *
VARCHAR(25)Guest Mobile number91XXXXXXXXXX
Reservation->
IdentityTypeID
BIGINT(20)Identity Unique Id1234500000000000001
(To get this ID, please check API [Retrieve Identity Type])
https://api.ezeetechnosys.com/#2059
Reservation->
IdentityNo
VARCHAR(25)Identity type number123456789
Reservation->
IdentityImage
TEXTIdentity image (Encoded Image String)iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAAA3NCSVQICAjb4U/gAAAAEHRFWHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQAAAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==
Reservation->
GuestImage
TEXTGuest image (Encoded Image String)iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAAA3NCSVQICAjb4U/gAAAAEHRFWHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQAAAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==
Reservation->
GuestSignature
TEXTGuest Signature image (Encoded Image String)iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAAA3NCSVQICAjb4U/gAAAAEHRFWHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQAAAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==
Reservation->
TaxationId
VARCHAR(155)Registration number123456789

Request 

1.For Single Booking Request

{
"RES_Request": {
      "Request_Type": "GuestCheckIn",
      "Authentication": {
          "HotelCode": "xxxx",
          "AuthCode": "xxxxxxxxxxxxxxxxxxxxxxx"
       },
      "Reservation": [
      {
          "BookingId": "331",
          "GuestName": "XXXXXXXXX",
          "Email": "xxxxxx@example.com",
          "Address": "XXXXX road",
          "Phone": "xxxxxxxxx",
          "Mobile": "xxxxxxxxx",
          "IdentityTypeID": "1234500000000000001",
          "IdentityNo": "xxxxxx",
          "IdentityImage": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAAA 3NCSVQICAjb4U/gAAAAEHRF WHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQA AAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==",
          "GuestImage": "iVBORw0KGgoAAAANSUhEUgAAABMAAA AWCAIAAACt/zAoAAAAA3NCSVQICAjb4U/gAAAAEHRFWHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQAAAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==",
          "GuestSignature": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAAA3NC SVQICAjb4U/gAAAAEHRFWHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQAAAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==",
          "TaxationId": "xxxxx"
      }
      ]
    }
}

2.For Multiple Booking Request

{
"RES_Request": {
      "Request_Type": "GuestCheckIn",
      "Authentication": {
          "HotelCode": "xxxx",
          "AuthCode": "xxxxxxxxxxxxxxxxxxxxxxx"
       },
      "Reservation": [
      {
          "BookingId": "333-1",
          "GuestName": "XXXXXXXXX",
          "Email": "xxxxxx@example.com",
          "Address": "XXXXX road",
          "Phone": "xxxxxxxxx",
          "Mobile": "xxxxxxxxx",
          "IdentityTypeID": "1234500000000000001",
          "IdentityNo": "xxxxxx",
          "IdentityImage": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAAA 3NCSVQICAjb4U/gAAAAEHRF WHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQA AAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==",
          "GuestImage": "iVBORw0KGgoAAAANSUhEUgAAABMAAA AWCAIAAACt/zAoAAAAA3NCSVQICAjb4U/gAAAAEHRFWHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQAAAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==",
          "GuestSignature": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAAA3NC SVQICAjb4U/gAAAAEHRFWHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQAAAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==",
          "TaxationId": "xxxxx"
      },
      {
           "BookingId": "333-2",
           "GuestName": "XXXXXXXXX",
           "Email": "xxxxxx@example.com",
           "Address": "XXXXXXXXX road",
           "Phone": "xxxxxxxxx",
           "Mobile": "xxxxxxxxx",
           "IdentityTypeID": "1234500000000000001",
           "IdentityNo": "xxxxxx",
           "IdentityImage": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAAA 3NCSVQICAjb4U/gAAAAEHRF WHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQA AAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==",
           "GuestImage": "iVBORw0KGgoAAAANSUhEUgAAABMAAA AWCAIAAACt/zAoAAAAA3NCSVQICAjb4U/gAAAAEHRFWHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQAAAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==",
           "GuestSignature": "iVBORw0KGgoAAAANSUhEUgAAABMAAAAWCAIAAACt/zAoAAAAA3NC SVQICAjb4U/gAAAAEHRFWHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQAAAFRJREFUOMtj/Pr1KwNZgImBXDBSdLLglz5268P0PY+fvf/1+ccfYnX+/fd/xt4nCw89I9m15x98xqMNn85Fh5+RGUK3nn8lU+e7r39G09CoTtrqBAB1MiHSwHyEmgAAAABJRU5ErkJggg==",
           "TaxationId": "xxxxx"
      }
      ]
    }
}

Response

NameData TypeDescription Example
Success->
SuccessMsg
StringSuccess MessageSuccessfully Done
Success->
GuestRegistrationCards->
BookingId
StringBooking Id331
Success->
GuestRegistrationCards->
GRCardNo
StringGR Card Number34
Errors->ErrorCodeintegerError Code0
Errors->ErrorMessageStringError MessageSuccess

Success

1.Full operation is successfully completed
{
    "Success": {
        "SuccessMsg": "Guest Check In successfully for Booking 331",
        "GuestRegistrationCards": [
         {
               "BookingId": "331",
               "GRCardNo": "34"
         }
         ]
    },
    "Errors": [
     {
        "ErrorCode": "0",
        "ErrorMessage": "Success"
     }
    ]
}


2.Full operation is successfully completed for multiple booking
{
    "Success": {
        "SuccessMsg": "Guest Check In successfully for Booking 333-1,333-2",
        "GuestRegistrationCards": [
         {
               "BookingId": "333-1",
               "GRCardNo": "34"
         },
         {
               "BookingId": "333-2",
               "GRCardNo": "35"
         }
         ]
    },
    "Errors": [
     {
        "ErrorCode": "0",
        "ErrorMessage": "Success"
    }
    ]
}

3.In case some bookings are successfully checked in and some have errors for multiple bookings
{
       "Success": {
              "SuccessMsg": "Guest Check In successfully for Booking 331-2,332",
              "GuestRegistrationCards": [
              {
                     "BookingId": "331-2",
                     "GRCardNo": "34"
              },
              {
                     "BookingId": "332",
                     "GRCardNo": "35"
              }
             ]
      },
      "Error": [
       {
            "ErrorCode": 128,
            "ErrorMessage": "Guest has already checked in. So guest check in not performed for Booking 331-1"
       }
       ]
}

Error

{ 
      "Error": [
       {
            "ErrorCode": 100,
            "ErrorMessage": "Missing required parameters."
       }
       ]
}

Error Codes

Error CodeError Name
100Missing required parameters.
500Error occurred during processing
501Error occurred during CheckIn processing
502Request Type is missing
600Something went wrong!
101Hotel Code is missing
102Authentication Code is missing
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
110Booking ID is missing in Reservation block
111Identity Image string should be in base64_encoded format, So Identity Image not uploaded for booking
112Booking Details : GuestName, Address, Email, Phone, Mobile is mandatory to process your checkin request. So guest check in not performed for booking
113We don’t find this reservation in our system. So guest check in not performed for booking.
114Guest Image string should be in base64_encoded format, So Guest Image not uploaded for booking
115Guest Signature string should be in base64_encoded format, So Guest Signature not uploaded for booking
116Room is not assigned, so guest check in not performed for booking
117Room is dirty, so guest check in not performed for booking
118Invalid Fields
119Invalid Email address For Booking
120<Fields> – Compulsory Fields in order to process for check in
121Guest Data is not updated For Booking
122The IdentityTypeID is not matching with Hotel Data for Booking
123Guest Identity Image is not uploaded For Booking
124Guest Image is not uploaded For Booking
125Guest Signature is not uploaded For Booking
126Today is not a check in date. So guest check in not performed for Booking
127Booking Status is not confirmed. So guest check in not performed for Booking
128Guest has already checked in. So guest check in not performed for Booking
129You are not allowed to check in for more than five bookings.
130Booking status is check out. So guest check in not performed for Booking
133Room is occupied or not checked-out

Bookings

Add Guest Profile to Bookings

This API helps you to Add Sharer data (name, phone, mobile, email, etc). The API can return data in JSON formats. The web service responds to HTTP POST requests.

Note : Maximum Five sharers  will only be processed at a time.

End Point URL

Header

Content-Type: application/json

Parameter

NameData TypeDescriptionExample
HotelCode*INT(11)Unique Hotel codexxxx
AuthCode*VARCHAR(300)Unique Authentication codexxxxxxxxxx
Request_Type*VARCHAR(100)Request TypeAddSharer
Sharers->BookingId*VARCHAR(255)Unique Booking Id/Reservation No456
Sharers->SalutationVARCHAR(100)SalutationMr.
Sharers->FirstName*VARCHAR(500)First Namexxxxxx
Sharers->LastName*VARCHAR(500)Last Namexxxxxx
Sharers->Gender*VARCHAR(25)Male/FemaleMale/Female
Sharers->Type*VARCHAR(25)For Update Type (Adult/Child)Adult
Sharers->DateOfBirthDATEDate Of Birthformat: YYYY-MM-DD1985-05-05
Sharers->SpouseDateOfBirthDATESpouse date of birthformat: YYYY-MM-DD1987-01-25
Sharers->WeddingAnniversaryDATEWedding anniversary dateformat: YYYY-MM-DD1987-10-05
Sharers->AddressVARCHAR(1000)Address500 Kingston
Sharers->CityVARCHAR(100)Name of cityToronto
Sharers->StateVARCHAR(100)State nameOntario
Sharers->CountryVARCHAR(100)Country nameCanada
(for country 
https://api.ezeetechnosys.com/#589
Sharers->NationalityVARCHAR(100)NationalityIndia
(for country 
https://api.ezeetechnosys.com/#589)
Sharers->ZipcodeInteger(11)zip code123456
Sharers->PhoneInteger(20)Phone number1234567890
Sharers->MobileInteger(20)Mobile number1234567890
Sharers->FaxInteger(20)Fax number1234567890
Sharers->Email*VARCHAR(255)Email id abc@xyz.com
Sharers->RegistratioNoVARCHAR(255)Registration number12345
Sharers->IdentityIdBIGINT(20)Identity unique Id1234500000000000001
Sharers->IdentityNoVARCHAR(255)Identity type number123456789
Sharers->ExpiryDateDATEExpiry dateformat: YYYY-MM-DD2022-05-02

Request 

1.For Single Booking Request
{
   "RES_Request": {
         "Request_Type": "AddSharer",
         "Authentication": {
               "HotelCode": "xxxx",
               "AuthCode": "xxxxxxxxxxxx"
           },
         "Sharers": [{
                "BookingId": "RES101",  
                "Salutation": "Ms.",
                "FirstName": "Hexvi.S.", 
                "LastName": "Shaby", 
                "Gender": "Female", 
                "Type": "Adult",         
                "DateOfBirth": "",
                "SpouseDateOfBirth": "",
                "WeddingAnniversary": "",
                "Address": "",
                "City": " Brockway",
                "State": "CA",
                "Country": "Germany",
                "Nationality": "Malta",
                "Zipcode": "95730",
                "Phone": "",
                "Mobile": "3534",
                "Fax": "564564",
                "Email": "LarryLForney@rhyta.com", 
                "RegistrationNo": "",
                "IdentityTypeID": "894300000000000003",
                "IdentityNo": "12345667765",
                "ExpiryDate": ""
           }
           ]
       }
 }

2.For Multiple Booking Request
{
  "RES_Request": {
        "Request_Type": "AddSharer",
        "Authentication": {
               "HotelCode": "xxxx",
               "AuthCode": "xxxxxxxxxxxx"
         },
        "Sharers": [{
               "BookingId": "RES102", 
               "Salutation": "Ms.",
               "FirstName": "Willi", 
               "LastName": "Crooswoth", 
               "Gender": "Female", 
               "Type": "Adult",         
               "DateOfBirth": "",
               "SpouseDateOfBirth": "",
               "WeddingAnniversary": "",
               "Address": "",
               "City": " Brockway",
               "State": "CA",
               "Country": "Germany",
               "Nationality": "Malta",
               "Zipcode": "95730",
               "Phone": "",
               "Mobile": "3534",
               "Fax": "564564",
               "Email": "LarryLForney@rhyta.com",  
               "RegistrationNo": "",
               "IdentityTypeID": "2700000000000001",
               "IdentityNo": "12345667765",
               "ExpiryDate": ""
          },
          {
               "BookingId": "RES112",
               "Salutation": "Ms.",
               "FirstName": "Test",
               "LastName": "One",
               "Gender": "Female",
               "Type": "Adult",
               "DateOfBirth": "",
               "SpouseDateOfBirth": "",
               "WeddingAnniversary": "",
               "Address": "",
               "City": " Brockway",
               "State": "CA",
               "Country": "Germany",
               "Nationality": "Malta",
               "Zipcode": "95730",
               "Phone": "",
               "Mobile": "3534",
               "Fax": "564564",
               "Email": "LarryLForney@rhyta.com",
               "RegistrationNo": "",
               "IdentityTypeID": "2700000000000001",
               "IdentityNo": "12345667765",
               "ExpiryDate": ""

          }
           ]
      }
 }

             
 

Response

NameData TypeDescription Example
Success->SuccessMsgStringSuccess MessageSuccessfully Done
Errors->ErrorCodeintegerError Code100
Errors->ErrorMessageStringError MessageSuccess

Success

1.Full operation is successfully completed
{
    "Success": {
        "SuccessMsg": "Sharer is successfully added for Booking RES101"
    },
    "Errors": {
        "ErrorCode": "0",
        "ErrorMessage": "Success"
    }
}


2.Full operation Is successfully completed for multiple booking
{
        "Success": {
              "SuccessMsg": "Sharer is successfully added for Booking RES101,RES112"
        },
        "Errors": {
             "ErrorCode": "0",
             "ErrorMessage": "Success"
        }
}
3.In case some booking are successfully added and some have errors for multiple bookings
{
    "Success": {
        "SuccessMsg": "Sharer is successfully added for Booking RES101"
    },
    "Errors": [
        {
            "ErrorCode": "114",
            "ErrorMessage": 
                "Country not properly added, it should be according to our database for Booking : RES112"
        }
    ]
}

Error

{
    "Errors": {
        "ErrorCode": "615",
        "ErrorMessage": "Unauthorized Request: This request is not valid."
    }
}

Error Codes

Error CodeError Name
100Missing required parameters
500Error occurred during processing.
502Invalid Request Type
101Hotel Code is missing
102Authentication Code is missing
303Auth Code is inactive
201Unauthorized request.(Request Type) request is not valid for this hotel code
202Unauthorized request. Hotel code is not active
615Unauthorized Request: This request is not valid.
600Something went wrong. please try again. Booking
110BookingId is missing
111You cannot add more sharers as the maximum limit for adults reached for the type of room offered, so adding Sharer failed for Booking
112You cannot add more sharers as the maximum limit for children reached for the type of room offered, so adding Sharer failed for Booking
121Either firstname/lastName or Email is mandatory to process your request for Booking
114Country/Nationality is not properly added, it should be according to our database for Booking
115Invalid field <field> for Booking
116Invalid value “<value>” for field “<field name>” for Booking
113We don’t find this reservation in our system. So you can’t add guest for Booking
117Reservation is canceled,noshow or void. So you can’t add guest for Booking
118Reservation is past checked out. So you can’t add guest for Booking
120Maximum five sharers will be processed at a time
122Mandatory field(s) IdentityTypeID/IdentityNo are missing for Reservation

Bookings

Add Payment

This API will post  the payment with cash/bank type paymethods to a particular single or multiple  reservation no. The API can return data in JSON formats. The web service responds to HTTP POST requests.

End Point URL

Header

Content-Type: application/json
NameData TypeDescriptionExample
HotelCode*INT(11)Unique Hotel codexxxx
AuthCode*VARCHAR(300)Unique Authentication codexxxxxxxxxx
Request_Type*VARCHAR(100)Request TypeAddPayment
Reservation->BookingId*VARCHAR(100)Reservation No.11-1  or 12
Reservation->PaymentId*INT(20)Payment Unique id
(Click here to get PaymentID)
https://api.ezeetechnosys.com/#2048
123400000000000007
Reservation->CurrencyId*INT(20)Currency Unique id
(Click here to get CurrencyId)
https://api.ezeetechnosys.com/#2048
123400000000000001
Reservation->Payment*DECIMAL(19,4)Amount to pay100.00
Reservation->CommentVARCHAR(100)Comment is optionalPayment for room charges
Receipt->FolioNoINT(20)FolioNo is optional302

Request 

{
     "RES_Request": {
             "Request_Type": "AddPayment",
             "Authentication": {
             "HotelCode": "1234",
             "AuthCode": "xxxxxxxxxxxxxxxx"
             },
             "Reservation": [{
                  "BookingId": "11-1",
                  "FolioNo": "",  //Optional
                  "PaymentId": "123400000000000007",
                  "CurrencyId": "123400000000000001",
                  "Payment": "70",
                  "Comment": "payment"
            },
            {
                 "BookingId": "12",
                 "FolioNo": "302",  //Optional
                 "PaymentId": "123400000000000007",
                 "CurrencyId": "123400000000000001",
                 "Payment": "200",
                 "Comment": "payment"
           }]
      }
}

Parameter

Response

NameData TypeDescription Example
Receipt->BookingIdvarcharReservation No.12
Receipt->ReceiptNoIntegerReceipt No.230

Success

{
    "Success": {
        "SuccessMsg": "Payment done successfully for booking 11-1, 12",
        "Receipt": [
            {
                "BookingId": "11-1",
                "ReceiptNo": "1521,1524"
            },
            {
               "BookingId": "12",
               "ReceiptNo": "1522,1523"
            }
        ]
    },
    "Errors":[ {
            "ErrorCode": "0",
            "ErrorMessage": "Success"
        } 
    ]   
}

Success/Error:

{
    "Success": {
        "SuccessMsg": "Payment done successfully for booking 12",
        "Receipt": [
            {
                "BookingId": "12",
                "ReceiptNo": "232"
            }
        ]
    },
    "Errors": [
        {
            "ErrorCode": "113",
            "ErrorMessage": "We don't find this reservation in our system. So payment not processed for booking 13"
        }
    ]
}

Error

{
    "Errors": [
        {
            "ErrorCode": "106",
            "ErrorMessage": "Payment amount is missing or invalid payment amount for booking 11-1"
        }
    ]
}

Error Codes

Error CodeError Name
100Missing required parameters
500Error occurred during processing.
502Request Type is missing
101Hotel Code is missing
102Authentication Code is missing
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
103Booking ID is missing
104Payment Id  is missing for booking
105Currency Id is missing for booking
106Payment amount is missing or invalid payment amount for booking
108Error in folio.
109Maximum 10 bookings are allowed at a time.
110Payment ID not valid
114Currency is not valid for booking
115Amount is exceeded than folio balance for booking
116Invalid parameter for booking
113We don’t find this reservation in our system. So payment not processed for booking
117Reservation is void. So payment not processed for booking
118Reservation is past checked out. So payment not processed for booking
119Invalid folio no for booking

Bookings

Guest Data Update

This API helps you to update guest data (name, phone, mobile, email, etc) and upload documents (guest identity, guest signature, guest image, and voucher image). 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
HotelCode*INT(11)Unique Hotel codexxxx
AuthCode*VARCHAR(300)Unique Authentication codexxxxxxxxxx
Request_Type*VARCHAR(100)Request TypeUploadDocument
BookingId*VARCHAR(255)Unique Booking Id/Reservation No456
FirstName*VARCHAR(500)First NameTorben
LastName*VARCHAR(500)Last NameL. Schou
Email*VARCHAR(255)Email Idabc@xyz.com
UpdateSinglebookingINT(11)It is an optional field but please set 1 If you want to update guest data for a single booking.Value : 1 or 0
For ex:
Group Booking: 150
No of Booking: 2
ResNo = 150-1 | Guest = Mr Sanjay
ResNo = 150-2 | Guest = Mr Sanjay

-> If you want to update ResNo = 150-2 and Mr. Sanjay to Mr. Bharat, you can do it using this parameter.
UpdateGuestData->SalutationVARCHAR(100)SalutationMr
UpdateGuestData->FirstNameVARCHAR(500)For Update First NameTorben
UpdateGuestDat->LastNameVARCHAR(500)For Update Last NameL. Schou
UpdateGuestData->GenderVARCHAR(25)For Update GenderMale
UpdateGuestData->TypeFor Update Type (Adult/Child)Aduit
UpdateGuestData->DateOfBirthDATEDate Of Birth1985-05-05
UpdateGuestData->SpouseDateOfBirthDATESpouse Date Of Birth1987-01-25
UpdateGuestData->WeddingAnniversaryDATEWedding Anniversary Date1987-10-05
UpdateGuestData->AddressVARCHAR(4000)Address500 Kingston
UpdateGuestData->CityVARCHAR(255)Name of CityToronto
UpdateGuestData->StateVARCHAR(255)State nameOntario
UpdateGuestData->CountryVARCHAR(255)Country nameCanada
(for country https://api.ezeetechnosys.com/#589)
UpdateGuestData->NationalityVARCHAR(255)NationalityIndia
(for country https://api.ezeetechnosys.com/#589)
UpdateGuestData->ZipcodeInteger(11)zip code123456
UpdateGuestData->PhoneInteger(20)Phone number1234567890
UpdateGuestData->MobileInteger(20)Mobile Number1234567890
UpdateGuestData->FaxInteger(20)Fax number1234567890
UpdateGuestData->EmailVARCHAR(255)Email id abc@xyz.com
UpdateGuestData->RegistrationNoVARCHAR(255)Registration Number12345
UpdateGuestData->IdentityTypeIDBIGINT(20)Identity Unique Id1234500000000000001
(To get this ID, please check API [Retrieve Identity Type])
https://api.ezeetechnosys.com/#2059
UpdateGuestData->IdentityNoVARCHAR(255)Identity type number123456789
UpdateGuestData->ExpiryDateDATEExpiry Date2022-05-02
Documents->TypeInteger(1)Type Of Document Upload1 = Identity, 2 = Signature, 3 = Guest Image, 4 = Guest Vouchers
Documents->ImagesStringEncoded Image StringAlpha-numeric String

Request 

1.For Single Booking Request
{
        "RES_Request": {
        "Request_Type": "UploadDocument",
        "Authentication": {
                "HotelCode": "xxxx",
                "AuthCode": "xxxxxxxxxxxx"
        },
        "Reservation": [
            {
                "BookingId": "123",  
                "GuestDetails": [
                    {
                        "FirstName": "Torben",
                        "LastName": "L. Schou",
                        "Email": "abc@xyz.com",
                        "UpdateSinglebooking":0, //Optional
                        "UpdateGuestData": [
                            {
                                "Salutation": "Mr.",
                                "FirstName": "Torben",
                                "LastName": "L. Schou",
                                "Gender": "Male",
                                "Type": "Adult",
                                "DateOfBirth": "1985-05-05",
                                "SpouseDateOfBirth": "1987-05-05",
                                "WeddingAnniversary": "1987-10-05",
                                "Address": "500 Kingston",
                                "City": " Toronto",
                                "State": "Ontario",
                                "Country": "Canada",
                                "Nationality": "India",
                                "Zipcode": "123456",
                                "Phone": "1234567890",
                                "Mobile": "1234567890",
                                "Fax": "1234567890",
                                "Email": "abc@xyz.com",
                                "RegistrationNo": "12345",
                                "IdentityTypeID": "1234500000000000001",
                                "IdentityNo": "123456789",
                                "ExpiryDate": "2012-12-02"
                            }
                        ],
                        "Documents": [
                            {
                                "Type": "1", 
                                "Images": "iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAIAAAC1JZyVAAAAA3NCSVQICAjb4U/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAAGtJREFUSIlj/P//PwPtARMd7Bi1ZtSaUWtGrRlm1rAwzr5FkgYFNmZjAbYcQyEHOW7idTEyzLpJosugYLeblIs8D5GKyQ+0aeffEa+YfGvOf/xND2se/PpLD2tIAqPWjFozas2oNaPWDFZrAAbVESQbyOtmAAAAAElFTkSuQmCC"  
                           },
                           {
                                "Type": "2",
                                "Images": "iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAIAAAC1JZyVAAAAA3NCSVQICAjb4U/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAAGtJREFUSIlj/P//PwPtARMd7Bi1ZtSaUWtGrRlm1rAwzr5FkgYFNmZjAbYcQyEHOW7idTEyzLpJosugYLeblIs8D5GKyQ+0aeffEa+YfGvOf/xND2se/PpLD2tIAqPWjFozas2oNaPWDFZrAAbVESQbyOtmAAAAAElFTkSuQmCC"
                           },
                           {
                                "Type": "3",
                                "Images": "iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAIAAAC1JZyVAAAAA3NCSVQICAjb4U/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAAGtJREFUSIlj/P//PwPtARMd7Bi1ZtSaUWtGrRlm1rAwzr5FkgYFNmZjAbYcQyEHOW7idTEyzLpJosugYLeblIs8D5GKyQ+0aeffEa+YfGvOf/xND2se/PpLD2tIAqPWjFozas2oNaPWDFZrAAbVESQbyOtmAAAAAElFTkSuQmCC"
                           },
                           {
                                "Type": "4",
                                "Images": "iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAIAAAC1JZyVAAAAA3NCSVQICAjb4U/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAAGtJREFUSIlj/P//PwPtARMd7Bi1ZtSaUWtGrRlm1rAwzr5FkgYFNmZjAbYcQyEHOW7idTEyzLpJosugYLeblIs8D5GKyQ+0aeffEa+YfGvOf/xND2se/PpLD2tIAqPWjFozas2oNaPWDFZrAAbVESQbyOtmAAAAAElFTkSuQmCC"
                           }
                       ]
                    }
                ]
            }
        ]
     }
}

2.For Multiple Booking Request
{
        "RES_Request": {
        "Request_Type": "UploadDocument",
        "Authentication": {
                "HotelCode": "xxxx",
                "AuthCode": "xxxxxxxxxxxx"
        },
        "Reservation": [
            {
                "BookingId": "123",  
                "GuestDetails": [
                    {
                        "FirstName": "Torben",
                        "LastName": "L. Schou",
                        "Email": "abc@xyz.com",
                        "UpdateSinglebooking":1, //Optional
                        "UpdateGuestData": [
                            {
                                "Salutation": "Mr.",
                                "FirstName": "Torben",
                                "LastName": "L. Schou",
                                "Gender": "Male",
                                "Type": "Adult",
                                "DateOfBirth": "1994-03-25",
                                "SpouseDateOfBirth": "1996-05-05",
                                "WeddingAnniversary": "1997-10-18",
                                "Address": "500 Kingston",
                                "City": " Toronto",
                                "State": "Ontario",
                                "Country": "Canada",
                                "Nationality": "India",
                                "Zipcode": "123456",
                                "Phone": "1234567890",
                                "Mobile": "1234567890",
                                "Fax": "1234567890",
                                "Email": "abc@xyz.com",
                                "RegistrationNo": "12345",
                                "IdentityTypeID": "1234500000000000001",
                                "IdentityNo": "123456789",
                                "ExpiryDate": "2021-05-02"
                            }
                        ],
                        "Documents": [
                            {
                                "Type": "1", 
                                "Images": "iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAIAAAC1JZyVAAAAA3NCSVQICAjb4U/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAAGtJREFUSIlj/P//PwPtARMd7Bi1ZtSaUWtGrRlm1rAwzr5FkgYFNmZjAbYcQyEHOW7idTEyzLpJosugYLeblIs8D5GKyQ+0aeffEa+YfGvOf/xND2se/PpLD2tIAqPWjFozas2oNaPWDFZrAAbVESQbyOtmAAAAAElFTkSuQmCC"  
                            },
                            {
                                "Type": "2", 
                                "Images": "iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAIAAAC1JZyVAAAAA3NCSVQICAjb4U/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAAGtJREFUSIlj/P//PwPtARMd7Bi1ZtSaUWtGrRlm1rAwzr5FkgYFNmZjAbYcQyEHOW7idTEyzLpJosugYLeblIs8D5GKyQ+0aeffEa+YfGvOf/xND2se/PpLD2tIAqPWjFozas2oNaPWDFZrAAbVESQbyOtmAAAAAElFTkSuQmCC" 
                            }
                        ]
                    }
                ]
           },
           {
                "BookingId": "456",
                "Guest Details": [
                    {
                        "FirstName": "Daryl",
                        "LastName": "S. Coleman",
                        "Email": "pqr@xyz.com",
                        "UpdateSinglebooking":0, //Optional
                        "UpdateGuestData": [
                            {
                                "Salutation": "Mr.",
                                "FirstName": "Daryl",
                                "LastName": "S. Coleman",
                                "Gender": "Male",
                                "Type": "Adult",
                                "DateOfBirth": "1998-10-21",
                                "SpouseDateOfBirth": "2000-07-10",
                                "WeddingAnniversary": "2001-01-20",
                                "Address": "500 Kingston",
                                "City": " Balimo",
                                "State": "Papua",
                                "Country": "Indonesia",
                                "Nationality": "India",
                                "Zipcode": "123456",
                                "Phone": "1234567890",
                                "Mobile": "1234567890",
                                "Fax": "1234567890",
                                "Email": "pqr@xyz.com",
                                "RegistrationNo": "12345",
                                "IdentityTypeID": "1234500000000000001",
                                "IdentityNo": "123456789",
                                "ExpiryDate": "2023-07-12"
                            }
                        ],
                        "Documents": [
                            {
                                "Type": "1", 
                                "Images": "iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAIAAAC1JZyVAAAAA3NCSVQICAjb4U/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAAGtJREFUSIlj/P//PwPtARMd7Bi1ZtSaUWtGrRlm1rAwzr5FkgYFNmZjAbYcQyEHOW7idTEyzLpJosugYLeblIs8D5GKyQ+0aeffEa+YfGvOf/xND2se/PpLD2tIAqPWjFozas2oNaPWDFZrAAbVESQbyOtmAAAAAElFTkSuQmCC" 
                            },
                            {
                                "Type": "2",
                                "Images": "iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAIAAAC1JZyVAAAAA3NCSVQICAjb4U/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAAGtJREFUSIlj/P//PwPtARMd7Bi1ZtSaUWtGrRlm1rAwzr5FkgYFNmZjAbYcQyEHOW7idTEyzLpJosugYLeblIs8D5GKyQ+0aeffEa+YfGvOf/xND2se/PpLD2tIAqPWjFozas2oNaPWDFZrAAbVESQbyOtmAAAAAElFTkSuQmCC" 
                            },
                            {
                                "Type": "3",
                                "Images": "iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAIAAAC1JZyVAAAAA3NCSVQICAjb4U/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAAGtJREFUSIlj/P//PwPtARMd7Bi1ZtSaUWtGrRlm1rAwzr5FkgYFNmZjAbYcQyEHOW7idTEyzLpJosugYLeblIs8D5GKyQ+0aeffEa+YfGvOf/xND2se/PpLD2tIAqPWjFozas2oNaPWDFZrAAbVESQbyOtmAAAAAElFTkSuQmCC"
                            },
                            {
                                "Type": "4",
                                "Images": "iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAIAAAC1JZyVAAAAA3NCSVQICAjb4U/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO/PgAAAGtJREFUSIlj/P//PwPtARMd7Bi1ZtSaUWtGrRlm1rAwzr5FkgYFNmZjAbYcQyEHOW7idTEyzLpJosugYLeblIs8D5GKyQ+0aeffEa+YfGvOf/xND2se/PpLD2tIAqPWjFozas2oNaPWDFZrAAbVESQbyOtmAAAAAElFTkSuQmCC"
                            }
                        ]
                    }
                ]
            }
        ]
    }
 }

Response

NameData TypeDescription Example
Success->SuccessMsgStringSuccess MessageSuccessfully Done
Errors>ErrorCodeintegerError Code100
Errors>ErrorMessageStringError MessageSuccess

Success

1.Full Operation Is Successfully Completed
{
    "Success": {
        "SuccessMsg": "Guest Data/Document successfully uploaded for Booking : 123"
    },
    "Error": {
        "ErrorCode": "0",
        "ErrorMessage": "Success"
    }
}
2.Full Operation Is Successfully Completed For Multiple Booking
{
    "Success": {
        "SuccessMsg": "Guest Data/Document successfully uploaded for Booking : 123,456"
    },
    "Error": {
        "ErrorCode": "0",
        "ErrorMessage": "Success"
    }
}

Error

 {    
      "Errors": {
        "ErrorCode": "301",
        "ErrorMessage": "Unauthorized Request. Please check hotel code and authentication code"
    }
}

Error Codes

Error CodeError Name
100Missing required parameters
500Error occurred during processing.
502Request Type is missing
101Hotel Code is missing
102Authentication Code is missing
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
110Booking ID is missing
111Guest Identity Image String should be in base64_encoded format, So Document is not uploaded for BookingId : 123, Guest name : Torben L. Schou
Guest Signature Image String should be in base64_encoded format, So Document is not uploaded for BookingId : 123, Guest name : Torben L. Schou
Guest Image String should be in base64_encoded format, So Document is not uploaded for BookingId : 123, Guest name : Torben L. Schou
Guest Voucher Image String should be in base64_encoded format, So Document is not uploaded for BookingId : 123, Guest name : Torben L. Schou
112Identity Information (Type, No) is compulsory to process your request
113Either First Name/Last Name or Email is mandatory to process your request
115The Identity Type ID is not matching with Hotel Data for BookingId : 123, Guest name : Torben L. Schou
116Invalid BookingId
117Guest Email : abc@xyz.com Not Exist For BookingId : 123, Guest name : Torben L. Schou
Guest Name : Torben L. Schou is not exist For BookingId : 123
118Guest Data is not updated For BookingId : 123
119Missing Parameter OR Invalid Parameter : UpdateGuestData For BookingId : 123
Missing Parameter OR Invalid Parameter : GuestDetails For BookingId : 123
120Invalid Date Format. Please enter YYYY-MM-DD For BookingId : 123, Guest name : Torben L. Schou
121Invalid Fields : Cities,States For BookingId : 123, Guest name : Torben L. Schou
122Country Name is not matched with our given country name for BookingId : 123, Guest name : Torben L. Schou
123Nationality Name is not matched with our given country name for BookingId : 123, Guest name : Torben L. Schou
124Maximum 5 booking data update for single request
125Please Contact to reception for update profile For BookingId : 123
126Invalid Email address For BookingId : 123, Guest name : Torben L. Schou
127Given BookingId : 123 is checkout booking
Given BookingId : 123 is void booking
Given BookingId : 123 is cancelled booking
Given BookingId : 123 is no show booking
128Guest name : Torben L. Schou AND Customer Email : abc@xyz.com is repeat same profile multiple times For BookingId : 123

Bookings

Autosync Future Bookings and its modifications

With this push mechanism, we will be sending the latest booking updates to your end point. We will be calling your end point every 5 minutes based on bookings inflow you have in your property. The data will be sent in XML format.

This mechanism is basically used to keep your revenue management systems updated. So after syncing historical bookings for the first time, you can get this mechanism activated so our system will keep pushing you latest timely updates thereby keeping your system up-to date.

Push bookings data will be in below format

NameData TypeDescriptionExample
LocationIdINT(11)Hotel codexxxx
UniqueIDVARCHAR(255)Unique Booking id10125, 86436, B4525 etc
BookedByVARCHAR(255)Information regarding Booked byBooking.com etc
Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email.VARCHAR(255)Here * denotes guest information like Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email.shown in JSON response below.
BusinessSourceVARCHAR(100)Business Source NameBooking.com
SourceVARCHAR(1000)Booking generated sourceExpedia
PaymentMethodVARCHAR(255)Payment Mode selected by guestCash, Credit, CityLedger etc
IsChannelBookingINT(1)Is booking comes from channel [0 or 1]
1 : Booking from the channel.
0: Booking not from the channel.
0 or 1
BookingTran. SubBookingIdVARCHAR(255)Sub booking Id138
BookingTran. TransactionIdINT(20)Booking Transaction ID112500000000000163
BookingTran. StatusVARCHAR(1000)Booking StatusNew or Modify or Cancel.
BookingTran.I sConfirmedINT(1)Booking Confirmation Flag. [1 or 0]
1 : Confirmed
0 : Not Confirmed
1 or 0.
BookingTran. VoucherNoVARCHAR(255)Booking Voucher No10203049/8512
BookingTran. PackageCodeINT(20)Package Code112500000000000001
BookingTran. PackageNameVARCHAR(1000)Package NameEuropean Plan etc
BookingTran. RateplanCodeINT(20)Unique RatePlan Code112500000000000006
BookingTran. RateplanNameSTRING(1000)RatePlan NameGrand Sea View Junior Suite
BookingTran. RoomTypeCodeINT(20)Unique RoomType Code112500000000000006
BookingTran. RoomTypeNameSTRING(1000)RoomType NameGarden View Studio Room
BookingTran. StartDATECheck-in date[Format : yyyy-mm-dd]2017-12-25
BookingTran. EndDATECheck-out date [Format : yyyy-mm-dd]2017-12-27
BookingTran.TotalRateDECIMAL(19,4)Rate on room in amount1500.43
BookingTran.DECIMAL(19,4)Discount on room in500
TotalDiscountamount
BookingTran. TotalExtraChargeDECIMAL(19,4)Extra charges in amount(if any)300
BookingTran. TotalPaymentDECIMAL(19,4)Payment for room in amount2500.54
BookingTran.*Here * denotes guest informations like Salutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,IdentityType, IdentityNo, ExpiryDate.
BookingTran. TransportationModeVARCHAR(100)Mode of transportationBus, car etc
BookingTran. VehicleVARCHAR(255)Detail of vehicle
BookingTran. PickupDateDATEPickup date[Format : yyyy-mm-dd]2017-12-25 etc
BookingTran. PickupTimeTIMEPickup time
BookingTran. SourceVARCHAR(1000)Booking generated sourceExpedia
BookingTran. CommentVARCHAR(1000)Additional Information or comment.
BookingTran. AffiliateNameVARCHAR(1000)Booking Affiliate Name
BookingTran.AffiliateCodeVARCHAR(1000)Booking Affiliate Code
BookingTran.*Here * denotes Credit Card Informations like CCLink, CCNo, CCType,CardHolderName, CCExpiryDate,
BookingTran.RentalInfo.EffectiveDateDATETIMEBooking details for particular effective date2017-12-25 etc
BookingTran.RentalInfo.PackageCodeINT(20)Package code112500000000000001
BookingTran.RentalInfo.PackageNameVARCHAR(1000)Package NameEuropean Plan
BookingTran.RentalInfo.R oomTypeCodeINT(20)Unique RoomType Code112500000000000006
BookingTran.RentalInfo.R oomTypeNameTEXTRoomType NameGrand Sea View Junior Suite
BookingTran.RentalInfo.AdultINT(11)No. of Adults2,3,4 etc
BookingTran. RentalInfo.ChildINT(11)No. of Childs2,3,4 etc
BookingTran. RentalInfo.RentDECIMAL(19,4)Room rental amount1500.43
BookingTran. RentalInfo.DiscountDECIMAL(19,4)Discount on rental room in amount500
Errors.ErrorCodeResponse Error Code104, 404 etc
Errors.ErrorMessageGenerate Response MessageUnauthorized Request. etc

Booking XML

<?xml version="1.0" encoding="UTF-8"?>
<RES_Response>
  <Reservations>
    <Reservation>
      <BookByInfo>
        <LocationId>1088</LocationId>
        <UniqueID>4001</UniqueID>
        <BookedBy>Expedia</BookedBy>
        <Salutation />
        <FirstName>Guest</FirstName>
        <LastName>Bhuyan</LastName>
        <Gender />
        <Address />
        <City />
        <State />
        <Country />
        <Zipcode />
        <Phone />
        <Mobile />
        <Fax />
        <Email />
        <BusinessSource>Booking.com</BusinessSource>
        <Source>Expedia</Source>
        <IsChannelBooking>1</IsChannelBooking>
        <BookingTran>
          <SubBookingId>4001</SubBookingId>
          <TransactionId>1088000000000059</TransactionId>
          <Createdatetime>2019-07-23 1245:21</Createdatetime>
          <Modifydatetime>2019-07-23 1245:21</Modifydatetime>
          <Status>New</Status>
          <IsConfirmed>1</IsConfirmed>
          <VoucherNo>12563894/1</VoucherNo>
          <PackageCode>12</PackageCode>
          <PackageName>EP Single</PackageName>
          <RateplanCode>31</RateplanCode>
          <RateplanName>Elite Single Room</RateplanName>
          <RoomTypeCode>01</RoomTypeCode>
          <RoomTypeName>Elite Room</RoomTypeName>
          <Start>2019-07-23</Start>
          <End>2019-07-27</End>
          <CurrencyCode>INR</CurrencyCode>
          <TotalRate>15245.60</TotalRate>
          <TotalAmountAfterTax>15245.60</TotalAmountAfterTax>
          <TotalAmountBeforeTax>12920.00</TotalAmountBeforeTax>
          <TotalTax>2325.60</TotalTax>
          <TotalDiscount>0.00</TotalDiscount>
          <TotalExtraCharge>0.00</TotalExtraCharge>
          <TotalPayment>0.00</TotalPayment>
          <TACommision>0.00</TACommision>
          <Salutation />
          <FirstName>Pranjit</FirstName>
          <LastName>Bhuyan</LastName>
          <Gender>Other</Gender>
          <DateOfBirth />
          <SpouseDateOfBirth />
          <WeddingAnniversary />
          <Nationality />
          <Address />
          <City />
          <State />
          <Country />
          <Zipcode />
          <Phone />
          <Mobile />
          <Fax />
          <Email />
          <IdentiyType />
          <IdentityNo />
          <ExpiryDate />
          <TransportationMode />
          <Vehicle />
          <PickupDate />
          <PickupTime />
          <Source>Expedia</Source>
          <Comment>Reservation : Reservation : Cancellation Policy Free cancellation if cancelled between 365 days prior to checkin and 1 days prior to checkinNon-Refundable between 1 days prior to checkin or in case of NO SHOWPay at Hotel: False</Comment>
          <AffiliateName />
          <AffiliateCode />
          <CCLink />
          <CCNo />
          <CCType />
          <CCExpiryDate />
          <CardHoldersName />
          <RentalInfo>
            <EffectiveDate>2019-07-23</EffectiveDate>
            <PackageCode>12</PackageCode>
            <PackageName>EP Single</PackageName>
            <RoomTypeCode>01</RoomTypeCode>
            <RoomTypeName>Elite Room</RoomTypeName>
            <Adult>2</Adult>
            <Child>0</Child>
            <Rent>3811.40</Rent>
            <RentBeforeTax>3230.00</RentBeforeTax>
            <Discount>0.00</Discount>
          </RentalInfo>
          <RentalInfo>
            <EffectiveDate>2019-07-24</EffectiveDate>
            <PackageCode>12</PackageCode>
            <PackageName>EP Single</PackageName>
            <RoomTypeCode>01</RoomTypeCode>
            <RoomTypeName>Elite Room</RoomTypeName>
            <Adult>2</Adult>
            <Child>0</Child>
            <Rent>3811.40</Rent>
            <RentBeforeTax>3230.00</RentBeforeTax>
            <Discount>0.00</Discount>
          </RentalInfo>
          <RentalInfo>
            <EffectiveDate>2019-07-25</EffectiveDate>
            <PackageCode>12</PackageCode>
            <PackageName>EP Single</PackageName>
            <RoomTypeCode>01</RoomTypeCode>
            <RoomTypeName>Elite Room</RoomTypeName>
            <Adult>2</Adult>
            <Child>0</Child>
            <Rent>3811.40</Rent>
            <RentBeforeTax>3230.00</RentBeforeTax>
            <Discount>0.00</Discount>
          </RentalInfo>
          <RentalInfo>
            <EffectiveDate>2019-07-26</EffectiveDate>
            <PackageCode>12</PackageCode>
            <PackageName>EP Single</PackageName>
            <RoomTypeCode>01</RoomTypeCode>
            <RoomTypeName>Elite Room</RoomTypeName>
            <Adult>2</Adult>
            <Child>0</Child>
            <Rent>3811.40</Rent>
            <RentBeforeTax>3230.00</RentBeforeTax>
            <Discount>0.00</Discount>
          </RentalInfo>
        </BookingTran>
      </BookByInfo>
    </Reservation>    
  </Reservations>
  <Errors>
    <ErrorCode>0</ErrorCode>
    <ErrorMessage>Success</ErrorMessage>
  </Errors>
</RES_Response>

You need to send us booking received notification in below format

NameData TypeDescriptionExample
BookingIdINT(11)Unique Booking id10125, 86436, B4525 etc
PMS_BookingIdINT(11)PMS Booking id10125, 86436, B4525 etc

Success

<?xml version="1.0" encoding="UTF-8"?>
<RES_Response>
  <Success>
    <Booking>
        <BookingId>[Booking Id]</BookingId>
        <PMS_BookingId>[PMS Booking Id]</PMS_BookingId>
    </Booking>
  </Success>  
  <Errors>
    <ErrorCode>200</ErrorCode>
    <ErrorMessage>Success</ErrorMessage>
  </Errors>
</RES_Response>

Error

<?xml version="1.0" encoding="UTF-8"?>
<RES_Response>   
  <Errors>
    <ErrorCode>500</ErrorCode>
    <ErrorMessage>Booking not inserted</ErrorMessage>
  </Errors>
</RES_Response>

Bookings

Cancel a Booking

This API helps you to cancel bookings 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]&ResNo=[ResNo]

Header

Parameter

NameData TypeDescriptionExample
[BaseUrl] *Live server URLhttps://live.ipms247.com/
[Request_Type] *Use Keyword “CancelBooking”
[Hotel_Code] *INT(11)Unique Hotel codeXXXX
[API_KEY] *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
[ResNo] *INT(11)Reservation number1
SubNoINT(11)SubReservation Unique number1
[LANGUAGE]VARCHAR(20)[Optional] Default is en. 

Pass language code. Language codes are available here.
en

Request 

https://live.ipms247.com/booking/reservation_api/listing.php?request_type=CancelBooking&HotelCode=xxxx&APIKey=xxxxxxxxxxxxxxxx&language=en&ResNo=167&SubNo=&language=en

Response

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

Success

{“status”:”Successful”}

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.
CheckDateCheck out date should be greater than Check in date
DBConnectErrorDatabase not connected.
InvalidDataPlease check data passed.
-1No Data found.
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.
InvalidHotelCodeInvalid Hotel code.Please check your property code.
BadRequestBad request type.
ReservationNotExistReservation No. does not exist. Please check.

Bookings

Read a Booking

This API helps you to read booking details for a given booking ID. 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]&ResNo=[ResNo]

Header

Parameter

NameData TypeDescriptionExample
[BaseUrl] *Live server URLhttps://live.ipms247.com/
[Request_Type] *Use Keyword “ReadBooking”
[Hotel_Code] *INT(11)Unique Hotel codeXXXX
[API_KEY] *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
[ResNo] *INT(11)Reservation number1

Request 

https://live.ipms247.com/booking/reservation_api/listing.php?request_type=ReadBooking&HotelCode=XXXX&APIKey=XXXXXXXXXXXXXXXXX&language=en&ResNo=3

Response

NameData TypeDescriptionExample
ReservationNoInteger(11)Reservation Unique number1
Subreservation_NoInteger(11)Sub Reservation Numberxxxx
Transaction_IdInteger(20)Unique Transaction idxxxxxxxxxxx
StatusUnkIdInteger(20)Status unique id. Status description is available here.xxxx
BusinesssourceStringSource of businessweb
MarketString
TravelagentString
PaymentTypeStringType of paymentCash
AddressStringAddress
CityStringName of CityNew York
StateStringState nameNew York
CountryStringCountry nameUSA
ZipcodeInteger(11)zipcode123456
PhoneInteger(20)Phone number1234567890
MobileInteger(20)Mobile Number1234567890
FaxInteger(20)Fax number1234567890
EmailStringEmail id abc@xyz.com
VehicleNoStringVehicle number1234
PickupDatetimeDateTimeDateTime of Pickup2020-05-05 12:12:00
IdentityTypeStringType of Identity proofPassport
IdentityNoStringIdentity type number 123456789
NationalityStringNationality of guestAmerican
BirthDateDateDate of Birth1980-05-05
ExpiryDateDateExpiry Date2022-05-02
ArrivalByStringArrival bycar
DepartureByStringDeparture bycar
DropOffDatetimeDatetimeDrop of datetime2020-02-020 12:12:00
DeptVehicleNoStringDeparture vehicle numberAbc-8989
OwnershipInteger(1)Owernership 0 or 1
GroupIdInteger(20)Group idXxxxxxxxxxxx
ArrivalDateDateDate of arrival2020-01-01
DepartureDateDate Departure date2020-01-05
No_of_NightsIntegerNo of night3
SalutationStringSalutationMr
First_NameStringFirst nameJhon
Last_NameStringLast nametye
Room_TypeStringType of roomsuite
Rate_TypeStringType of ratedaily
ReservationGuaranteeStringGuarantee of reservationConfirm reservation
AdultInteger(11)Number of adult2
ChildInteger(11)Number of child0
TotalDecimalTotal amount25500
GuestunkidInteget(20)Guest unique Idxxxxxxxxxxxx
Confirmed_TypeInteger(1)Confirm type1

Success

[{
"Reservation_No": "KHT822",
"Subreservation_No": "",
"Transaction_Id": "110600000000000880",
"StatusUnkId": "6",
"Businesssource": "",
"Market": "",
"Travelagent": "",
"PaymentType": null,
"Address": "Surat",
"City": "Surat",
"State": "Gujarat",
"Zipcode": "960050",
"Country": "India",
"Phone": "9825230",
"Mobile": "9856741230",
"Fax": "968572202",
"Email": "",
"VehicleNo": "CAR",
"PickupDatetime": "2018-01-16 03:00:00",
"IdentityType": "Passport",
"IdentityNo": "963852",
"Nationality": "India",
"BirthDate": "1998-01-01 00:00:00",
"ExpiryDate": "2021-01-01 00:00:00",
"ArrivalBy": "car",
"DepartureBy": "car",
"DropOffDatetime": "2018-01-18 03:30:00",
"DeptVehicleNo": "CAR",
"Ownership": "0",
"GroupId": "0",
"ArrivalDate": "2018-01-05 10:00:00",
"DepartureDate": "2018-01-06 12:00:00",
"No_of_Nights": "1",
"Salutation": "Jn.",
"First_Name": "45435",
"Last_Name": "",
"Room_Type": "Penthouse",
"Rate_Type": "weekly",
"ReservationGuarantee": "Confirm Booking",
"Adult": "1",
"Child": "0",
"Total": "0.0000",
"Guestunkid": "110600000000000558",
"Confirmed_Type": "1"
}]

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.
CheckDateCheck out date should be greater than Check in date
DBConnectErrorDatabase not connected.
InvalidDataPlease check data passed.
-1No Data found.
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.
InvalidHotelCodeInvalid Hotel code.Please check your property code.
BadRequestBad request type.
ReservationNotExistReservation No. does not exist. Please check.

Bookings

Retrieve a Booking Based on Parameters

This API provides you current room stats and booking information based on reservation date or arrival dates. 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]&created_ from=[CREATED_FROM]&created_to=[CREATED_TO]&EmailId=[Email]

Header

Parameter

NameData TypeDescriptionExample
[BaseUrl] *Live server URLhttps://live.ipms247.com/
[Request_Type] *Use Keyword “BookingList”
[Hotel_Code] *INT(11)Unique Hotel codeXXXX
[API_KEY] *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
[CREATED_FROM] *DateDate Fromformat(yyyy-mm-dd)2020-05-23
[CREATED_TO] *DateDate Toformat(yyyy-mm-dd)2020-05-30
ArrivalFromDateArrivalDate fromformat(yyyy-mm-dd)2020-05-22
ArrivalToDateArrivalDate Toformat(yyyy-mm-dd)2020-05-30
[Email] *VARCHAR(100)Booking EmailIdxxxxxx@xyz.com

Request 

https://live.ipms247.com/booking/reservation_api/listing.php?request_type=BookingList&HotelCode=XXX&APIKey=XXX&arrival_from
=XXX&arrival_to=XXX&EmailId=

Response

NameData TypeDescriptionExample
ReservationNoInteger(11)Reservation Unique number1
GuestNameStringName of GuestMr.Jhonson
ArrivalDateDateDate of arrival2020-02-20
DepartureDateDateDate of Departure2020-02-22
CancelDateDateDate when Reservation is cancel2020-02-10
ReservationDateDateDate when Reservation is created2020-02-05
RoomStringRoom NameDelux
ReservationGuaranteeStringGuarantee of reservationConfirm booking
SourceStringSource of reservationweb
VoucherNoInteger(11)Voucher number1
DueAmountDecimalDue Amount12500
DepositDecimalDeposit amount0
StatusStringStatus of bookingActive
BookingStatusStringCurrent Status of bookingConfirmed Reservation
Transaction StatusStringStatus of transactionComplete Booking
Total TaxDecimalTotal Tax amount500
TotalInclusiveTaxDecimalTotal Inclusive Tax Amount1500
TotalExclusivTaxDecimalTotal Exclusive Amount1000
OtherRevenueExclusiveTaxDecimalOther Revenue tax exclusive amount1200
OtherRevenueInclusiveTaxDecimalOther Revenue tax inclusive amount1500
FolioNoStringFolio NUmberA123

BaseRateExclusiveTax, BaseRateInclusiveTax
TransactionDateDateDate of transaction
ChargeNameStringName of charge
ChargeAmountDecimalCharge amount

Success

{
    "SearchCriteria": {
        "arrival_from": "2020-03-15",
        "arrival_to": "2020-05-30"
    },
    "RoomList": {
        "TotalActiveRoomInHotel": 1155,
        "TotalBlockRooms": 0,
        "TotalOccupiedRooms": 8
    },
    "BookingList": [
        {
            "ReservationNo": "RV506",
            "GuestName": "Mr. Anis",
            "ArrivalDate": "2020-05-08",
            "DepartureDate": "2020-05-12",
            "CancelDate": "",
            "ReservationDate": "2020-05-08",
            "Room": "Garden View",
            "RoomShortCode": "GV",
            "ReservationGuarantee": "Confirm Booking",
            "Source": "Ajay Tours and Travels",
            "VoucherNo": "-",
            "Mobile": "-",
            "Address": "",
            "Email": "nishit.vankawala@ezeetechnosys.com",
            "Country": "India",
            "Adult": "1",
            "Child": "0",
            "Phone": "-",
            "NoOfGuest": 1,
            "NoOfNights": "4",
            "salutation": "Mr.",
            "FirstName": "Anis",
            "LastName": "",
            "DueAmount": 13200,
            "Deposit": 0,
            "Status": "Active",
            "BookingStatus": "Confirmed Reservation",
            "TransactionStatus": "Complete Booking",
            "Total Tax": 1345.44,
            "TotalInclusiveTax": 13200,
            "TotalExclusivTax": 11854.56,
            "OtherRevenueExclusiveTax": 2000,
            "OtherRevenueInclusiveTax": 2360,
            "FolioNo": "GF759",
            "BaseRateExclusiveTax": {
                "2020-05-08": 2463.64,
                "2020-05-09": 2463.64,
                "2020-05-10": 2463.64,
                "2020-05-11": 2463.64
            },
            "BaseRateInclusiveTax": {
                "2020-05-08": 2710,
                "2020-05-09": 2710,
                "2020-05-10": 2710,
                "2020-05-11": 2710
            },
            "ExtraCharges": {
                "2020-05-08": [
                    {
                        "TransactionDate": "2020-05-08",
                        "ChargeName": "Pool's",
                        "ChargeAmount": "500.0000"
                    },
                    {
                        "TransactionDate": "2020-05-08",
                        "ChargeName": "CGST@6%",
                        "ChargeAmount": "90.0000"
                    }
                ],
                "2020-05-09": [
                    {
                        "TransactionDate": "2020-05-09",
                        "ChargeName": "Pool's",
                        "ChargeAmount": "500.0000"
                    },
                    {
                        "TransactionDate": "2020-05-09",
                        "ChargeName": "CGST@6%",
                        "ChargeAmount": "90.0000"
                    }
                ],
                "2020-05-10": [
                    {
                        "TransactionDate": "2020-05-10",
                        "ChargeName": "Pool's",
                        "ChargeAmount": "500.0000"
                    },
                    {
                        "TransactionDate": "2020-05-10",
                        "ChargeName": "CGST@6%",
                        "ChargeAmount": "90.0000"
                    }
                ],
                "2020-05-11": [
                    {
                        "TransactionDate": "2020-05-11",
                        "ChargeName": "Pool's",
                        "ChargeAmount": "500.0000"
                    },
                    {
                        "TransactionDate": "2020-05-11",
                        "ChargeName": "CGST@6%",
                        "ChargeAmount": "90.0000"
                    }
                ]
            }
        }
    ]
}

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.
CheckDateCheck out date should be greater than Check in date
DBConnectErrorDatabase not connected.
BookingListLimitExceedYou can not request data of more than 365 days.
-1No Data found.
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.
InvalidHotelCodeInvalid Hotel code.Please check your property code.
BadRequestBad request type.
getBookingListErrorBooking List error

Bookings

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.

Bookings

Pull Historical Bookings

This API provides you all historical bookings information based on reservation dates of both past and future as per your needs. The API can return data in XML formats. The web service responds to HTTP POST requests.

End Point URL

Header

Content-Type: application/xml

Parameter

NameData TypeDescriptionExample
Request_Type *VARCHAR(250)Use Keyword “Booking”
HotelCode *INT(11)Unique Hotel codeXXXX
AuthCode *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
FromDate *DATETo send a from date2020-07-05
ToDate *DATETo send a to date2020-07-06
Note – The difference between the start date and end date should not be more than 2 days.

Request 

<RES_Request>   
<Request_Type>Booking</Request_Type>
    <Authentication>
       <HotelCode>xxxx</HotelCode>
       <AuthCode>xxxxxxxxxx</AuthCode>
    </Authentication>
    <FromDate>2020-03-05</FromDate>
    <ToDate>2020-03-06</ToDate>
</RES_Request>

Response

NameData TypeDescriptionExample
LocationIdINT(11)Hotel codexxxx
UniqueIDVARCHAR(255)Unique Booking id10125, 86436, B4525 etc
BookedByVARCHAR(255)Information regarding Booked byBooking.com etc
Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email.VARCHAR(255)Here * denotes guest information likeSalutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email.shown in JSON response below.
BusinessSourceVARCHAR(100)Business Source Name
SourceVARCHAR(1000)Booking generated sourceBooking.com etc
IsChannelBookingINT(1)Is booking comes from channel [0 or 1]1 : Booking from the channel.0: Booking not from the channel.0 or 1
BookingTran. SubBookingIdVARCHAR(255)Sub booking Id138
BookingTran. TransactionIdINT(20)Booking Transaction ID112500000000000163
BookingTran.CreatedatetimeDATETIMEBooking created date time2020-03-16 12:00:58
BookingTran.ModifydatetimeDATETIMEBooking modified date time2020-03-16 12:00:58
BookingTran. StatusVARCHAR(1000)Booking StatusNew or Modify.
BookingTran.IsConfirmedINT(1)Booking Confirmation Flag. [1 or 0]
1 : Confirmed0 : Not Confirmed
1 or 0.
BookingTran.CurrentStatusVARCHAR(100)Booking Current Status
EX : Confirm, Check-In, Check-Out, etc
Check-In
BookingTran. VoucherNoVARCHAR(255)Booking Voucher No10203049/8512
BookingTran. PackageCodeINT(20)Package Code112500000000000001
BookingTran. PackageNameVARCHAR(1000)Package NameEuropean Plan etc
BookingTran. RateplanCodeINT(20)Unique RatePlan Code112500000000000006
BookingTran. RateplanNameSTRING(1000)RatePlan NameGrand Sea View Junior Suite
BookingTran. eZeePMSRoomidINT(20)eZee PMS Room Id106
BookingTran. RoomTypeCodeINT(20)Unique RoomType Code112500000000000006
BookingTran. RoomTypeNameSTRING(1000)RoomType NameGarden View Studio Room
BookingTran. StartDATETIMECheck-in date
[Format : yyyy-mm-dd]
2017-12-25
BookingTran. EndDATETIMECheck-out date [Format : yyyy-mm-dd]2017-12-27
BookingTran. CurrencyCodeVARCHAR(255)Currency codeINR
BookingTran.TotalRateDECIMAL(19,4)Rate on room in amount1500.43
BookingTran.TotalAmountAfterTaxDECIMAL(19,4)Total amount after tax1500.43
BookingTran.TotalAmountBeforeTaxDECIMAL(19,4)Total amount before tax1200
BookingTran.TotalTaxDECIMAL(19,4)Total tax300.43
BookingTran. TotalDiscountDECIMAL(19,4)Discount on room in amount500
BookingTran. TotalExtraChargeDECIMAL(19,4)Extra charges in amount(if any)300
BookingTran. TotalPaymentDECIMAL(19,4)Payment for room in amount2500.54
BookingTran.*Here * denotes guest informations likeSalutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,IdentityType,
IdentityNo, ExpiryDate.
BookingTran. TransportationModeVARCHAR(100)Mode of transportationBus, car etc
BookingTran. VehicleVARCHAR(255)Detail of vehicle
BookingTran. PickupDateDATETIMEPickup date
[Format : yyyy-mm-dd]
2017-12-25 etc
BookingTran. PickupTimeDATETIMEPickup time
BookingTran. SourceVARCHAR(1000)Booking generated sourceBooking.com
BookingTran. CommentVARCHAR(1000)Additional Information or comment.
BookingTran. AffiliateNameVARCHAR(1000)Booking Affiliate Name
BookingTran.AffiliateCodeVARCHAR(1000)Booking Affiliate Code
BookingTran.*Here * denotes information like Credit Card Informations likeCCLink, CCNo, CCType,CardHolderName, CCExpiryDate,
BookingTran.ExtraCharge .*here * denotes ChargeDate,ChargeCode,
ChargeName,
ChargeDesc,Remark,Quantity,
AmountBeforeTax,Amount
BookingTran.RentalInfo.EffectiveDateDATETIMEBooking details for particular effective date2017-12-25 etc
BookingTran.RentalInfo.PackageCodeINT(20)Package code112500000000000001
BookingTran.RentalInfo.PackageNameVARCHAR(1000)Package NameEuropean Plan
BookingTran.RentalInfo.R oomTypeCodeINT(20)Unique RoomType Code112500000000000006
BookingTran.RentalInfo.R oomTypeNameSTRING(1000)RoomType NameGrand Sea View Junior Suite
BookingTran.RentalInfo.AdultINT(11)No. of Adults2,3,4 etc
BookingTran. RentalInfo.ChildINT(11)No. of Childs2,3,4 etc
BookingTran. RentalInfo.RentDECIMAL(19,4)Room rental amount1500.43
BookingTran. RentalInfo.DiscountDECIMAL(19,4)Discount on rental room in amount500
BookingTran. Sharer. *Here * denotes informations likeSalutation,
FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth,
WeddingAnniversary, Nationality,
Address, City, State,
Country, Zip Code, Phone, Mobile, Fax, Email,IdentityType,
IdentityNo, ExpiryDate.
Errors.ErrorCodeResponse Error Code104, 404 etc
Errors.ErrorMessageGenerate Response MessageUnauthorized Request. etc

Success

<?xml version="1.0" encoding="UTF-8"?><RES_Response>
    <Reservations>
        <Reservation>
            <BookByInfo>
                <LocationId>8943</LocationId>
                <UniqueID>11</UniqueID>
                <BookedBy>Joy Smith</BookedBy>
                <Salutation>Mr.</Salutation>
                <FirstName>Joy</FirstName>
                <LastName>Smith</LastName>
                <Gender>Male</Gender>
                <Address></Address>
                <City></City>
                <State></State>
                <Country>India</Country>
                <Zipcode></Zipcode>
                <Phone></Phone>
                <Mobile></Mobile>
                <Fax></Fax>
                <Email></Email>
                <BusinessSource>Booking.com</BusinessSource>
                <Source>PMS</Source>
                <IsChannelBooking>0</IsChannelBooking>
                <BookingTran>
                    <SubBookingId>11</SubBookingId>
                    <TransactionId>894300000000000010</TransactionId>
                    <Createdatetime>2020-03-05 12:00:58</Createdatetime>
                    <Modifydatetime>2020-03-16 12:00:58</Modifydatetime>
                    <Status>New</Status>
                    <IsConfirmed>1</IsConfirmed>
                    <CurrentStatus>Check-In</CurrentStatus>
                    <VoucherNo></VoucherNo>
                    <PackageCode>894300000000000002</PackageCode>
                    <PackageName>All Inclusive</PackageName>
                    <RateplanCode>894300000000000013</RateplanCode>
                    <RateplanName>Studio All Inclusive</RateplanName>
                    <eZeePMSRoomid>106</eZeePMSRoomid>
                    <RoomTypeCode>894300000000000001</RoomTypeCode>
                    <RoomTypeName>Studio</RoomTypeName>
                    <Start>2020-03-17</Start>
                    <End>2020-03-20</End>
                    <CurrencyCode>INR</CurrencyCode>
                    <TotalRate>8850.00</TotalRate>
                    <TotalAmountAfterTax>8850.00</TotalAmountAfterTax>
                    <TotalAmountBeforeTax>7500.00</TotalAmountBeforeTax>
                    <TotalTax>1350.00</TotalTax>
                    <TotalDiscount>0.00</TotalDiscount>
                    <TotalExtraCharge>15.00</TotalExtraCharge>
                    <TotalPayment>8865.00</TotalPayment>
                    <PayAtHotel>false</PayAtHotel>
                    <TACommision>0.00</TACommision>
                    <Salutation>Mr.</Salutation>
                    <FirstName>Joy</FirstName>
                    <LastName>Smith</LastName>
                    <Gender>Male</Gender>
                    <DateOfBirth></DateOfBirth>
                    <SpouseDateOfBirth></SpouseDateOfBirth>
                    <WeddingAnniversary></WeddingAnniversary>
                    <Nationality></Nationality>
                    <Address></Address>
                    <City></City>
                    <State></State>
                    <Country>India</Country>
                    <Zipcode></Zipcode>
                    <Phone></Phone>
                    <Mobile></Mobile>
                    <Fax></Fax>
                    <Email></Email>
                    <IdentiyType>Aadhar card</IdentiyType>
                    <IdentityNo>12315346546</IdentityNo>
                    <ExpiryDate></ExpiryDate>
                    <TransportationMode></TransportationMode>
                    <Vehicle></Vehicle>
                    <PickupDate></PickupDate>
                    <PickupTime></PickupTime>
                    <Source>PMS</Source>
                    <Comment></Comment>
                    <AffiliateName></AffiliateName>
                    <AffiliateCode></AffiliateCode>
                    <CCLink></CCLink>
                    <CCNo></CCNo>
                    <CCType></CCType>
                    <CCExpiryDate></CCExpiryDate>
                    <CardHoldersName></CardHoldersName>
                    <ExtraCharge>
                        <ChargeDate>2020-03-18</ChargeDate>
                        <ChargeCode></ChargeCode>
                        <ChargeName>Call Charges</ChargeName>
                        <ChargeDesc></ChargeDesc>
                        <Remark></Remark>
                        <Quantity>15</Quantity>
                        <AmountBeforeTax>15.00</AmountBeforeTax>
                        <Amount>15.00</Amount>
                    </ExtraCharge>
                    <RentalInfo>
                        <EffectiveDate>2020-03-18</EffectiveDate>
                        <PackageCode>894300000000000002</PackageCode>
                        <PackageName>All Inclusive</PackageName>
                        <RoomTypeCode>894300000000000001</RoomTypeCode>
                        <RoomTypeName>Studio</RoomTypeName>
                        <Adult>2</Adult>
                        <Child>2</Child>
                        <Rent>2950.00</Rent>
                        <RentBeforeTax>2500.00</RentBeforeTax>
                        <Discount>0.00</Discount>
                    </RentalInfo>
                    <RentalInfo>
                        <EffectiveDate>2020-03-19</EffectiveDate>
                        <PackageCode>894300000000000002</PackageCode>
                        <PackageName>All Inclusive</PackageName>
                        <RoomTypeCode>894300000000000001</RoomTypeCode>
                        <RoomTypeName>Studio</RoomTypeName>
                        <Adult>2</Adult>
                        <Child>2</Child>
                        <Rent>2950.00</Rent>
                        <RentBeforeTax>2500.00</RentBeforeTax>
                        <Discount>0.00</Discount>
                    </RentalInfo>
                    <Sharer>
                        <Salutation>Mam.</Salutation>
                        <FirstName>Maya</FirstName>
                        <LastName></LastName>
                        <Gender>Female</Gender>
                        <DateOfBirth></DateOfBirth>
                        <SpouseDateOfBirth></SpouseDateOfBirth>
                        <WeddingAnniversary></WeddingAnniversary>
                        <Nationality>India</Nationality>
                        <Address></Address>
                        <City></City>
                        <State></State>
                        <Country>India</Country>
                        <Zipcode></Zipcode>
                        <Phone></Phone>
                        <Mobile></Mobile>
                        <Fax></Fax>
                        <Email></Email>
                        <IdentiyType>Aadhar card</IdentiyType>
                        <IdentityNo>789456123</IdentityNo>
                        <ExpiryDate></ExpiryDate>
                    </Sharer>
                </BookingTran>
            </BookByInfo>
        </Reservation>
        <CancelReservation>
             <LocationId>8943</LocationId>
             <UniqueID>206-1</UniqueID>
             <Remark>Cancel,Guest want to cancel reservation through Agoda</Remark>
             <VoucherNo>12314986/1</VoucherNo>
        </CancelReservation>
        <CancelReservation>
             <LocationId>8943</LocationId>
             <UniqueID>206-2</UniqueID>
             <Remark>Cancel,Guest want to cancel reservation through Agoda</Remark>
             <VoucherNo>12314944/2</VoucherNo>
         </CancelReservation>
         <CancelReservation>
              <LocationId>8943</LocationId>
              <UniqueID>207</UniqueID>
              <Remark>Cancel,Guest want to cancel reservation through Agoda</Remark>
              <VoucherNo>123149844/1</VoucherNo>
         </CancelReservation>
         <CancelReservation>
              <LocationId>8943</LocationId>
              <UniqueID>200</UniqueID>
              <Remark>Cancel,Guest want to cancel reservation through Agoda</Remark>
              <VoucherNo>123149444</VoucherNo>
          </CancelReservation>
    </Reservations>
    <Errors>
        <ErrorCode>0</ErrorCode>
        <ErrorMessage>Success</ErrorMessage>
    </Errors>
</RES_Response>

Error Codes

Error CodeError Name
114Missing from date in some request
115Missing to date in some request
117From Date is not valid date
118To Date is not valid date
119Please check From and To date. To Date should be greater than From Date
113Missing roomtype id in some request
400Invalid Request Format
302Authentication failed
303Auth Code is inactive.
301Unauthorized request. Request is not valid for this hotel code
202Unauthorized request. Hotel code is not active
111Invalid Request
204Duplicate request. Please try again after 1 minute.

Bookings

Reservation Details of a Room

This API provides basic booking information for a room. The API can return data in JSON formats. The web service responds to HTTP POST requests.

End Point URL

Note: You need set Authcode in Header.

Header

Content-Type: application/json; AUTH_CODE: XXXXXXXXXXXXXXXXX

Parameter

NameData TypeDescription Example
request_type *VARCHAR(150)Use Keyword “get_reservation”
hotel_id *INT(11)Property IDXXXX
reservation_id *INT(20)To get the details of the reserved room 25

Request 

{   
"request_type": "get_reservation",
    "body": {
            "hotel_id": "XXXX",
            "reservation_id": "25"
    }
}

Response

NameData TypeDescription Example
statusStringFailure or success of the request
Values: Success, Error
Success
data.hotel_idIntegerID of Hotelxxxx
data.hotel_nameStringName of HotelHotel
data.room_idIntegerID of Room1234500000000002
data.room_nameStringName of RoomSuper Deluxe
data.reservation_idIntegerReservation IDRES124
data.guest_nameStringName of the GuestIon Morgal
data.check_inDateCheck-in DateRES123
data.check_outDateCheck-out Date2020-03-30 11:00:00
data.total_amountLongTotal Booking amount2950
data.currencyStringCurrencyINR
data.channelStringChannel name & channel hotel code from where a booking has been come in below formatname_channelHotelCode
data.payment_typeStringPayment Type Values : PayAtHotel, AgencyCollectPay At Hotel
errorCodeError code in case of failure105
errorMessageError Message in case of failureInvalid Reservation ID

Success

{ "status": "success",
 "data": [
  {
   "hotel_id": "xxxx",
   "hotel_name": "Hotel",
   "room_id": "1234500000000000004",
   "room_name": "Delux",
   "room_code": "101",
   "reservation_id": "25",
   "booking_status": "Confirmed Reservation",
   "guest_name": "Mr. Ion Morgal",
   "check_in": "2020-03-29 12:00:00",
   "check_out": "2020-03-30 11:00:00",
   "remark": "",
   "total_amount": 2950,
   "currency": "INR",
   "channel": "",
   "payment_type": "Pay At Hotel"
  }
 ]
}

Error Codes

Error CodeError Name
101Invalid Hotel Id
102Invalid Authentication
103Blank Request
104Invalid Request Format
105Missing Required Parameter
106Invalid Reservation ID
107Invalid Date Format
108Invalid Date Range
109Currently Data can be requested for max 15 days
110Invalid Room Id
111IP Address is not Authorised
112Invalid Request Method
113Hotel Code is not Active
114Invalid Room Code or not associated with supplied room ID
115Internal Problem

Bookings

Todays CheckIn-Checkout

This API provides supplied room information for  today’s arrival-departure like reservation no, room no and arrival-departure date-time . The API can return data in JSON formats. The web service responds to HTTP POST requests.

End Point URL

Note: You need set Authcode in Header.

Header

Content-Type: application/json; AUTH_CODE: xxxxxxxxxxxxx

Parameter

NameData TypeDescription Example
request_type *VARCHAR(150)Use Keyword “get_calendar”
hotel_id *INT(11)Unique Hotel codeXXXX
report_type *VARCHAR(150)3 types of values can be passed with this parameter,
checkin – To get today’s Arrivals
checkout – To get today’s departure
both – To get today’s arrivals & departures
both

Request 

{    "request_type": "get_calendar",
    "body": {
            "hotel_id": "xxxx",
            "report_type":"both"
    }
}

Response

NameData TypeDescription Example
statusStringFailure or success of the request
Values: Success, Error
Success
data.*IntegerHere * means property IDxxxx
data.*.arrivals and/or data.*.departuresStringarrivals or departures parameter will be available according to the value of report_type sent in requestarrivals
data.*.arrivals.reservation_idIntegerReservation ID938
data.*.arrivals.room_codeStringRoom no. of particular roomL3
data.*.arrivals.arrival_date_timeDateArrival-departure date & time in the below format.
YYYY-MM-DD HH:MM:SS
2020-03-29 12:00:00
error_codeError code in case of failure101
error_messageError Message in case of failureInvalid Authentication Data

Success

{ 
"status": "success",
 "data": {
  "12345": {
   "arrivals": [
    {
     "reservation_id": "32",
     "room_code": "125",
     "arrival_date_time": "2020-05-09 12:00:00"
    }
   ]
  }
 }
}

Error Codes

Error CodeError Name
101Invalid Hotel Id
102Invalid Authentication
103Blank Request
104Invalid Request Format
105Missing Required Parameter
106Invalid Reservation ID
107Invalid Date Format
108Invalid Date Range
109Currently Data can be requested for max 15 days
110Invalid Room Id
111IP Address is not Authorised
112Invalid Request Method
113Hotel Code is not Active
114Invalid Room Code or not associated with supplied room ID
115Internal Problem

Bookings

Retrieve Physical Rooms

This API provides physical room information for your property. The API can return data in JSON formats. The web service responds to HTTP POST requests.

End Point URL

Note: You need set Authcode in Header.

Header

Content-Type: application/json; AUTH_CODE: xxxxxxxxxxxxx

Parameter

NameData TypeDescription Example
request_type *VARCHAR(150)Use Keyword “get_rooms”
hotel_id *INT(11)Unique Hotel codeXXXX

Request 

{   
"request_type": "get_rooms",
    "body": {
        "hotel_id": "xxxx"
    }
}

Response

NameData TypeDescription Example
statusStringFailure or success of the request
Values: Success, Error
Success
data.rooms.room_idIntegerRoom Id1234500000000000001
data.rooms.room_nameStringName of roomStudio Room
data.rooms.room_codeStringRoom codes 106
error_codeError code in case of failure105
error_messageError Message in case of failureInvalid Reservation ID

Success

{ "status": "success",
 "data": {
  "rooms": [
   {
    "room_id": "1234500000000000001",
    "room_name": "Studio",
    "rooms": "106",
    "room_code": "106 : Active"
   },
   {
    "room_id": "1234500000000000002",
    "room_name": "Double Bedroom Suite",
    "rooms": "107,111,112,113",
    "room_code": "107 : Active,111 : Active,112 : Active,113 : Active"
   },
   ]
 }
}

Error Codes

Error CodeError Name
101Invalid Hotel Id
102Invalid Authentication
103Blank Request
104Invalid Request Format
105Missing Required Parameter
106Invalid Reservation ID
107Invalid Date Format
108Invalid Date Range
109Currently Data can be requested for max 15 days
110Invalid Room Id
111IP Address is not Authorised
112Invalid Request Method
113Hotel Code is not Active
114Invalid Room Code or not associated with supplied room ID
115Internal Problem

Bookings

Reserved Rooms Calendar

This API helps you to populate a stayview calendar with needful information for specific date ranges on your selected rooms. The API can return data in JSON formats. The web service responds to HTTP POST requests.

End Point URL

Note: You need set Authcode in Header.

Header

Content-Type: application/json; AUTH_CODE: XXXXXXXXXXXXXXXXX

Parameter

NameData TypeDescription Example
request_type *VARCHAR(150)Use Keyword “get_calendar”
hotel_id *INT(11)Unique Hotel codeXXXX
room_id *INT(20)List of room Ids(If a date range is same for all Room IDs then all Ids will be listed in a single block else separate block will be there for a different date range) 1234500000000001, 1234500000000002
room_code *INT(20)List of room codes“102”, “104”,”108″
from_date *DateStart date of calendar information is to be requested
Format: YYYY-MM-DD
2020-06-15
to_date *DateEnd date of calendar information is to be requested
Format: YYYY-MM-DD
2020-07-15

Request 

{    "request_type": "get_calendar",
    "body": {

        "hotel_id": "xxxx",
        "rooms": [{
                "room_id": ["1234500000000000002", "1234500000000000003"],
           "room_code": ["107", "111", "112", "113"],
                "from_date": "2020-04-15",
                "to_date": "2020-05-15"
            },
            {
                "room_id": ["1234500000000000007"],
                "room_code": ["125","126"],
                "from_date": "2020-04-15",
                "to_date": "2020-05-15"
            }
        ]
    }
}

Response

NameData TypeDescription Example
statusStringFailure or success of the request
Values: Success, Error
Success
data.*IntegerHere * means Room type ID1234500000000001
data.*.room_nameStringName of RoomSuper Deluxe
data.*.room_name.dateDateCalendar DateFormat: YYYY-MM-DD2020-03-01
data.*.room_name.statusStringStatus of the roomValues : Reserved: If book is BookedBlocked: If sell is stopped for particular reasonReserved
data.*.room_name.reservation_infoIf Room status is blocked then the Value of this Parameter will be blank else if room is booked, then reservation details will be supplied. 
data.*.room_name.reservation_info.reservation_idStringReservation Id
data.*.room_name.reservation_info.channelStringChannel name & channel hotel code from where a booking has been come in below formatname_channelHotelCode
data.*.room_name.reservation_info.guest_nameStringName of guestGuest Name
data.*.room_name.reservation_info.check_inDateDate of Check-in2020-04-01 12:00:00
data.*.room_name.reservation_info.check_outDateDate of Check-Our2020-05-03 12:00:00
error_codeError code in case of failure101
error_messageError Message in case of failureInvalid Authentication Data

Success

{ "status": "success",
 "data": {
  "1234500000000000002": {
   "room_info": "No Booking/Blocks are available for supplied Date Range"
  },
  "1234500000000000003": {
   "room_info": "No Booking/Blocks are available for supplied Date Range"
  },
  "1234500000000000007": {
   "room_name": "Stander",
   "room_info": [
    {
     "room_code": "125",
     "date": "2020-05-09",
     "status": "Reserved",
     "reservation_info": {
      "folios": {
       "33": {
        "Room Charges": "450.0000",
        "Service Tax": "100.0000",
        "All in Package [Qty -2.0000]": "300.0000"
       }
      },
      "reservation_id": "32",
      "guest_name": "Mam. Daya",
      "channel": "",
      "remark": "",
      "check_in": "2020-05-09 12:00:00",
      "check_out": "2020-05-10 11:00:00",
      "booking_status": "Confirmed Reservation",
      "total_amount": 850,
      "currency": "INR",
      "payment_type": "Pay At Hotel"
     }
    }
   ]
  }
 }
}

Error Codes

Error CodeError Name
101Invalid Hotel Id
102Invalid Authentication
103Blank Request
104Invalid Request Format
105Missing Required Parameter
106Invalid Reservation ID
107Invalid Date Format
108Invalid Date Range
109Currently Data can be requested for max 15 days
110Invalid Room Id
111IP Address is not Authorised
112Invalid Request Method
113Hotel Code is not Active
114Invalid Room Code or not associated with supplied room ID
115Internal Problem

Bookings

Room Sales Data

This API provides you sales information for rooms for a specific period. The API can return data in JSON formats. The web service responds to HTTP POST requests.

End Point URL

Note: You need set Authcode in Header.

Header

Content-Type: application/json; AUTH_CODE: XXXXXXXXXXXXXXXXX

Parameter

NameData TypeDescription Example
request_type *VARCHAR(150)Use Keyword “get_sales_report”
hotel_id *INT(11)Unique Hotel codeXXXX
room_id *INT(20)List of room Ids (If a date range is same for all Room IDs then all Ids will be listed in a single block else separate block will be there for a different date range) 1234500000000001, 1234500000000002
from_date *DateStart date of calendar information is to be requested
Format: YYYY-MM-DD
2020-06-25
to_date *DateEnd date of calendar information is to be requested
Format: YYYY-MM-DD
2020-07-10

Request 

{   
"request_type": "get_sales_report",
    "body": {
        "hotel_id": "xxxx",
        "rooms": [{
            "room_id": ["1234500000000000001", "1234500000000000002"],
            "from_date": "2020-04-25",
            "to_date": "2020-05-08"
        }]
    }
}

Response

NameData TypeDescription Example
statusStringFailure or success of the request
Values: Success, Error
Success
data.hotel_idIntegerID of Hotelxxxx
data.hotel_nameStringName of HotelHotel Name
data.Report.*StringHere * means Room type ID1234500000000001
data.Report.*.room_nameStringName of RoomSuper Deluxe
data.Report.*.#StringHere # means Room CodeL01
data.Report.*.#.room_nightsIntegerTotal available rooms for the month.
7
data.Report.*.#.room_soldIntegerNo. of room sold only. (not included complimentary)5
data.Report.*.#.complementaryStringComplimentary
data.Report.*.#.occupancyIntegerOccupancy of room4
data.Report.*.#.adrStringAverage Daily rate950
data.Report.*.#.paxStringNo. of pax in Room4
data.Report.*.#.room_chargesLongRoom Charges85
data.Report.*.#.extra_chargesLongExtra Charged4
data.Report.*.#.channelStringChannel name & channel hotel codename_channelHotelCode (Which are mapped with this room type)Booking.com_11111
error_codeError code in case of failure105
error_messageError Message in case of failureInvalid Reservation ID

Success

{  "status": "success",
  "data": {
    "hotel_id": "xxxx",
    "hotel_name": "Hotel Name",
    "report": [
      {
        "1234500000000000001": {
          "106": {
            "room_nights": 14,
            "room_sold": 0,
            "complementary": 0,
            "occupancy": 0,
            "adr": 0,
            "pax": 0,
            "room_charges": 0,
            "extra_charges": 0,
            "channel": ""
          },
          "room_name": "Studio"
        }
      },
      {
        "1234500000000000002": {
          "107": {
            "room_nights": 14,
            "room_sold": 0,
            "complementary": 0,
            "occupancy": 0,
            "adr": 0,
            "pax": 0,
            "room_charges": 0,
            "extra_charges": 0,
            "channel": ""
          },
          "111": {
            "room_nights": 14,
            "room_sold": 0,
            "complementary": 0,
            "occupancy": 0,
            "adr": 0,
            "pax": 0,
            "room_charges": 0,
            "extra_charges": 0,
            "channel": ""
          },
          "112": {
            "room_nights": 14,
            "room_sold": 0,
            "complementary": 0,
            "occupancy": 0,
            "adr": 0,
            "pax": 0,
            "room_charges": 0,
            "extra_charges": 0,
            "channel": ""
          },
          "113": {
            "room_nights": 14,
            "room_sold": 0,
            "complementary": 0,
            "occupancy": 0,
            "adr": 0,
            "pax": 0,
            "room_charges": 0,
            "extra_charges": 0,
            "channel": ""
          },
          "room_name": "Double Bedroom Suite"
        }
      }
    ]
  }
}

Error Codes

Error CodeError Name
101Invalid Hotel Id
102Invalid Authentication
103Blank Request
104Invalid Request Format
105Missing Required Parameter
106Invalid Reservation ID
107Invalid Date Format
108Invalid Date Range
109Currently Data can be requested for max 15 days
110Invalid Room Id
111IP Address is not Authorised
112Invalid Request Method
113Hotel Code is not Active
114Invalid Room Code or not associated with supplied room ID
115Internal Problem

Bookings

Retrieve Post to Room Information for specific room

This API provides in-house room/folio for your property for a specific room on which you wish to post the charges in context to charge post API. The API can return data in XML formats. The web service responds to HTTP POST requests.

End Point URL

Header

Content-Type: application/xml

Parameter

NameData TypeDescription Example
auth *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
oprn *VARCHAR(150)Use Keyword “roomquery”
room *INT(11)Need to provide Room Id 106

Request 

<?xml version="1.0" standalone="yes"?>
<request>
<auth>xxxxxxxxxxxxxxxxxxxxxxx</auth>
<oprn>roomquery</oprn>
<room>106</room>
</request>

Response

NameData TypeDescription Example
statusStringStatus value will be provided Values: ok, errorok
softwaredateDateDate will be provided2020-03-19
msgStringMessage result will be provided Values:inhouseinhouse
guestnameStringGuest Name will be providedMr. Joy
arrivalDateIt is giving arrival date2020-03-17
departureDateIt is giving departure date2020-03-20
masterfolioIntegerMasterfolio no will be provided10
roomStringIt is giving room name/number106
roomtypeStringIt is giving room typeStudio
ratetypeStringIt is giving rate typeAll Inclusive
resnoIntegerIt is giving reservation no.11

Success

<?xml version='1.0' standalone='yes'?>
<response>
    <status>ok</status>
    <msg>inhouse</msg>
    <softwaredate>2020-03-19</softwaredate>
    <guestname>Mr.U K Shah</guestname>
    <arrival>2020-03-17</arrival>
    <departure>2020-03-20</departure>
    <room>106</room>
    <masterfolio>10</masterfolio>
    <roomrows>
        <row>
            <guestname>Mr. Joy</guestname>
            <arrival>2020-03-17</arrival>
            <departure>2020-03-20</departure>
            <masterfolio>10</masterfolio>
            <room>106</room>
            <roomtype>Studio</roomtype>
            <ratetype>All Inclusive</ratetype>
            <resno>11</resno>
        </row>
    </roomrows>
</response>

Error

<?xml version='1.0' standalone='yes'?>
<response>
    <status>error</status>
    <msg>Invalid Authentication</msg>
</response>

Error Codes

ErrorsDescription
Hotel Code In-ActiveThe Property has been deactivated
API Authkey is deactivatedThe Authcode/Key has been deactivated
Invalid AuthenticationInvalid data
Bad RequestInvalid Request Parameter
Invalid API Request. Don’t have this API accessInvalid Request Method
Room not found

Bookings

Retrieve Post to Room Information

This API provides in-house rooms/folios for your property on which you wish to post the charges in context to charge post API. The API can return data in XML formats. The web service responds to HTTP POST requests.

End Point URL

Header

Content-Type: application/xml

Parameter

NameData TypeDescription Example
auth *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
oprn *VARCHAR(150)Use Keyword “roomlist”

Request 

<?xml version="1.0" standalone="yes"?>
<request>
<auth>xxxxxxxxxxxxxxxxxxxxxxx</auth>
<oprn>roomlist</oprn>
</request>

Response

NameData TypeDescription Example
statusStringStatus value will be provided Values: ok, errorok
softwaredateDateDate will be provided2020-03-19
msgStringMessage result will be provided Values:inhouseinhouse
guestnameStringGuest Name will be providedMr. Joy
arrivalDateIt is giving arrival date2020-03-17
departureDateIt is giving departure date2020-03-20
masterfolioIntegerMasterfolio no will be provided10
roomStringIt is giving room name/number106
roomtypeStringIt is giving room typeStudio
ratetypeStringIt is giving rate typeAll Inclusive
remarksStringIt is giving remarks
resnoIntegerIt is giving reservation no.11

Success

<?xml version='1.0' standalone='yes'?>
<response>
    <status>ok</status>
    <msg>inhouse</msg>
    <softwaredate>2020-03-19</softwaredate>
    <roomrows>
        <row>
            <guestname>Mr. Joy</guestname>
            <arrival>2020-03-17</arrival>
            <departure>2020-03-20</departure>
            <masterfolio>10</masterfolio>
            <room>106</room>
            <roomtype>Studio</roomtype>
            <ratetype>All Inclusive</ratetype>
            <remarks></remarks>
            <resno>11</resno>
        </row>
        <row>
            <guestname>Mrs Sophia</guestname>
            <arrival>2020-03-18</arrival>
            <departure>2020-03-21</departure>
            <masterfolio>22</masterfolio>
            <room>109</room>
            <roomtype>Single Bedroom Suite</roomtype>
            <ratetype>Daily</ratetype>
            <remarks></remarks>
            <resno>21</resno>
        </row>
        <row>
            <guestname>Mr.Denial Mark</guestname>
            <arrival>2020-03-19</arrival>
            <departure>2020-03-21</departure>
            <masterfolio>8</masterfolio>
            <room>101</room>
            <roomtype>Delux</roomtype>
            <ratetype>Frequent Traveller</ratetype>
            <remarks></remarks>
            <resno>9</resno>
        </row>
    </roomrows>
</response>

Error

<?xml version='1.0' standalone='yes'?>
<response>
    <status>error</status>
    <msg>Invalid Authentication</msg>
</response>

Error Codes

ErrorsDescription
Hotel Code In-ActiveThe Property has been deactivated
API Authkey is deactivatedThe Authcode/Key has been deactivated
Invalid AuthenticationInvalid data
Bad RequestInvalid Request Parameter
Invalid API Request. Don’t have this API accessInvalid Request Method
In-House guest room list is empty

Bookings

Update POS Receipt No

This API allows you to update receipt no on a folio in context to charge post API. In case of any issues with receipt no, you can make use of this API to update the correct receipt no. The API can return data in XML formats. The web service responds to HTTP POST requests.

End Point URL

Header

Content-Type: application/xml

Parameter

NameData TypeDescription Example
auth *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
oprn *VARCHAR(150)Use Keyword “updatevoucherno”
voucherno *INT(11)Voucher No will be providedPOS245
requestid *INT(11)Request Id will be provided2804

Request 

<?xml version="1.0" standalone="yes"?> 
<request> 
<auth>xxxxxxxxxxxxxxxxxxxxxxx</auth>
<oprn>updatevoucherno</oprn> 
<voucherno>POS245</voucherno>
<requestid>2804</requestid>
</request>

Response

NameData TypeDescription Example
statusStringStatus value will be provided Values: ok, errorok
msgStringMessage result will be provided Values: already voided, voucher no. already present, voucher no. addedvoucher no. added

Success

<?xml version='1.0' standalone='yes'?>
<response>
    <status>ok</status>
    <msg> voucher no. added </msg>
</response>

Error

<?xml version='1.0' standalone='yes'?>
<response>
    <status>error</status>
    <msg>Invalid Authentication</msg>
</response>

Error Codes

ErrorsDescription
Hotel Code In-ActiveThe Property has been deactivated
API Authkey is deactivatedThe Authcode/Key has been deactivated
Invalid AuthenticationInvalid data
Bad RequestInvalid Request Parameter
Invalid API Request. Don’t have this API accessInvalid Request Method
Invalid request idProvided Request Id is invalid

Bookings

Void Charge on Room

This API allows you to void/delete the posted charges on a folio in context to charge post API. When you have asked the restaurant manager to post charge to room, but then you decide to pay straight away, so for deleting those charges from folio, you can make use of this API. The API can return data in XML formats. The web service responds to HTTP POST requests.

End Point URL

Header

Content-Type: application/xml

Parameter

NameData TypeDescription Example
auth *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
oprn *VARCHAR(150)Use Keyword “voidcharge”
requestid *INT(11)Need to send request id172

Request 

<?xml version="1.0" standalone="yes"?>
<request>
<auth>xxxxxxxxxxxxxxxxxxxxxxxx</auth>
<oprn>voidcharge</oprn>
<requestid>2804</requestid>
</request>

Response

NameData TypeDescription Example
statusStringStatus value will be provided Values: ok, errorok
msgStringMessage result will be provided Values: voided,already voidedvoided

Success

<?xml version='1.0' standalone='yes'?>
<response>
    <status>ok</status>
    <msg>voided</msg>
</response>

Error

<?xml version='1.0' standalone='yes'?>
<response>
    <status>error</status>
    <msg>Invalid Authentication</msg>
</response>

Error Codes

ErrorsDescription
Hotel Code In-ActiveThe Property has been deactivated
API Authkey is deactivatedThe Authcode/Key has been deactivated
Invalid AuthenticationInvalid data
Bad RequestInvalid Request Parameter
Invalid API Request. Don’t have this API accessInvalid Request Method
Invalid request idProvided Request Id is invalid
Invalid Operation

Bookings

Post Charge To Room

This API allows you to post charges on a folio. This is basically you take food in the restaurant and ask to do Room Post as you are staying in the same hotel, so you wish to pay finally on checkout. The API can return data in XML formats. The web service responds to HTTP POST requests.

End Point URL

Header

Content-Type: application/xml

Parameter

NameData TypeDescriptionExample
auth *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
oprn *VARCHAR(150)Use Keyword “chargepost”
room *VARCHAR(50)Room Name1401 A
folio *VARCHAR(50)Folio NoGF1120
table *VARCHAR(50)Table Nochargepost
outlet *VARCHAR(50)It is should be an Outlet name.OT
charge *VARCHAR(150)“Restaurant Charge” should be come.Breakfast
postingdate *DATEIt is a charge posting date.2020-07-02
trandate *DATEA date of charge posting to PMS.2020-07-02
amount *DECIMAL(10,2)The charging amount of Posting. It must be tax exclusive amount.7.57
tax *DECIMAL(10,2)It should be Tax amount, if tax applicable. Can take multiple2.00
gross_amount *DECIMAL(10,2)The charging amount of Posting. It must be tax inclusive amount.5.57
voucherno *VARCHAR(50)It should be receipt no.POS234
remarkVARCHAR(200)It should be remarks from POS.Outlet : OT,POS User : Admin
posuser *VARCHAR(50)POS user who does Posting to PMS.Admin

Request 

<request>
<auth>xxxxxxxxxxxxxxxxxxxxxxxxxxxxx</auth>
<oprn>chargepost</oprn>
<room>101</room>
<folio>8</folio>
<table>chargepost</table>
<outlet>OT</outlet>
<charge>Breakfast</charge>
<postingdate>2020-05-15</postingdate>
<trandate>2020-05-15</trandate>  
<amount>100</amount>
<tax>2.00</tax>
<gross_amount>5.57</gross_amount>
<voucherno>POS895</voucherno>
<remark>Outlet : OT,POS User : Admin</remark>
<posuser>Admin</posuser>
</request>

Response

NameData TypeDescription Example
statusStringStatus value will be providedValues: ok, errorok
msgStringMessage result will be providedValues: success or error messagesuccess
hotelnameStringName of HotelHotel
hotelcodeIntegerID of Roomxxxx

Success

<?xml version='1.0' standalone='yes'?>
<response>
    <status>ok</status>
    <msg>added in queue</msg>
    <requestid>2805</requestid>
</response>

Error

<?xml version='1.0' standalone='yes'?>
<response>
    <status>error</status>
    <msg>Invalid Authentication</msg>
</response>

Error Codes

ErrorsDescription
Hotel Code In-ActiveThe Property has been deactivated
API Authkey is deactivatedThe Authcode/Key has been deactivated
Invalid AuthenticationInvalid data
Bad RequestInvalid Request Parameter
Invalid API Request. Don’t have this API accessInvalid Request Method
You are not allowed to post charges to room. Reason: POS2PMS account is not setup at PMS end.
You are not allowed to post charges to room. Reason: Folio not found in PMS.
You are not allowed to post charges to the room. Reason: Credit Card details is not available on the booking.
You are not allowed to post charges to room. Reason: Credit limit set on folio says credit balance is less than posting amount.
You are not allowed to post charges to room. Reason: Credit limit set on folio says your credit limit for posting charges is over.
You are not allowed to post charges to room. Reason : Credit limit set on folio says your daily credit limit for posting charges is over.
Tax Mapping with PMS and POS are not in Sync

Bookings

Retrieve Departures

This API provides guest departures information based on departure dates of 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 *VARCHAR(250)Use Keyword “DepartureList”
BookingIdINT(11)Reservation No (It is Optional)12345
RoomNoVARCHAR(500)Room No (It is Optional)101
GuestVARCHAR(100)Guest Name (It is Optional)test
IdentityNoVARCHAR(255)Identity No (It is Optional)ASD43543
GuestEmailVARCHAR(255)Guest Email (It is Optional)abc@gmail.com
GuestMobileNoVARCHAR(255)Guest Mobile No (It is Optional)XXXXXXXXXX
GuestRegistrationNoVARCHAR(255)Guest Registration No (It is Optional)XXXXXX
HotelCode *INT(11)Unique Hotel codeXXXX
AuthCode *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
from_date *DATETo send a from date2020-06-05
to_date *DATETo send a to date2020-07-07

Request 

{
    "RES_Request": {
    "Request_Type": "DepartureList",
    "BookingId": "12345",
    "RoomNo": "101",
    "Guest": "Joy T. Mnewy",
    "IdentityNo": "ASD43543",
    "GuestEmail": "XXXXXX@gmail.com",
    "GuestMobileNo": "XXXXXXXXXX",
    "GuestRegistrationNo": "XXXXXX", 
    "Authentication": {
      "HotelCode": "xxxx",
      "AuthCode": "xxxxxxxxxxxxxxxxxxxxxxx"
    },
    "Date": {
    "from_date": "2020-10-05",
    "to_date": "2020-10-07"
    }
    }
}

Response

NameData TypeDescriptionExample
LocationIdINT(11)Hotel codexxxx
UniqueIDVARCHAR(255)Unique Booking id10125, 86436, B4525 etc
BookedByVARCHAR(255)Information regarding Booked byBooking.com etc
Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo.VARCHAR(255)Here * denotes guest information like Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo.shown in JSON response below.
SourceVARCHAR(1000)Booking generated sourceBooking.com etc
PaymentMethodVARCHAR(255)Payment Mode selected by guestCash, Credit, CityLedger etc
IsChannelBookingINT(1)Is booking comes from channel [0 or 1]
1 : Booking from the channel.
0: Booking not from the channel.
0 or 1
BookingTran. SubBookingIdVARCHAR(255)Sub booking Id138
BookingTran. TransactionIdINT(20)Booking Transaction ID123400000000000163
BookingTran. StatusVARCHAR(100)Booking StatusNew or Modify or Cancel.
BookingTran. IsConfirmedINT(1)Booking Confirmation Flag. [1 or 0]
1 : Confirmed
0 : Not Confirmed
1 or 0.
BookingTran. CurrentStatusVARCHAR(100)Booking Current StatusArrived, Checked Out, Cancel, Void, etc
BookingTran. VoucherNoVARCHAR(255)Booking Voucher No10203049/8512
BookingTran. PackageCodeINT(20)Package Code123400000000000001
BookingTran. PackageNameVARCHAR(1000)Package NameEuropean Plan etc
BookingTran. RateplanCodeINT(20)Unique RatePlan Code123400000000000006
BookingTran. RateplanNameSTRING(1000)RatePlan NameGrand Sea View Junior Suite
BookingTran. RoomTypeCodeINT(20)Unique RoomType Code123400000000000006
BookingTran. RoomTypeNameSTRING(1000)RoomType NameGarden View Studio Room
BookingTran. StartDATECheck-in date[Format : yyyy-mm-dd]2020-10-25
BookingTran. EndDATECheck-out date [Format : yyyy-mm-dd]2020-10-27
BookingTran.TotalRateDECIMAL(19,4)Rate on room in amount1500.43
BookingTran.DECIMAL(19,4)Discount on room in500
TotalDiscount
Amount
BookingTran. TotalExtraChargeDECIMAL(19,4)Extra charges in amount(if any)300
BookingTran. TotalPaymentDECIMAL(19,4)Payment for room in amount2500.54
BookingTran.*Here * denotes guest informations like Salutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo,IdentityType, IdentityNo, ExpiryDate.
BookingTran. TransportationModeVARCHAR(100)Mode of transportationBus, car etc
BookingTran. VehicleVARCHAR(255)Detail of vehicle
BookingTran. PickupDateDATEPickup date[Format : yyyy-mm-dd]2020-10-25 etc
BookingTran. PickupTimeTIMEPickup time
BookingTran. SourceVARCHAR(1000)Booking generated sourceBooking.com
BookingTran. CommentVARCHAR(1000)Additional Information or comment.
BookingTran. AffiliateNameVARCHAR(1000)Booking Affiliate Name
BookingTran.AffiliateCodeVARCHAR(1000)Booking Affiliate Code
BookingTran.*Here * denotes Credit Card Informations like CCLink, CCNo, CCType, CardHolderName, CCExpiryDate,
BookingTran.RentalInfo.
EffectiveDate
DATETIMEBooking details for particular effective date2020-10-25 etc
BookingTran.RentalInfo.
PackageCode
INT(20)Package code123400000000000001
BookingTran.RentalInfo.
PackageName
VARCHAR(100)Package NameEuropean Plan
BookingTran.RentalInfo.
RoomTypeCode
INT(20)Unique RoomType Code123400000000000006
BookingTran.RentalInfo.
RoomTypeName
STRING(100)RoomType NameGrand Sea View Junior Suite
BookingTran.RentalInfo.
RoomName
VARCHAR(100)Room Name/Number102
BookingTran.RentalInfo.AdultINT(11)No. of Adults2,3,4 etc
BookingTran. RentalInfo.ChildINT(11)No. of Childs2,3,4 etc
BookingTran. RentalInfo.RentDECIMAL(19,4)Room rental amount1500.43
BookingTran. RentalInfo.DiscountDECIMAL(19,4)Discount on rental room in amount500
BookingTran.Sharer.*Here * denotes Sharer informations like Salutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Nationality,Zip Code, Phone, Mobile, Fax, Email,RegistrationNo,IdentityTypeID, IdentityNo, ExpiryDate.
Errors.ErrorCodeResponse Error Code104, 404 etc
Errors.ErrorMessageGenerate Response MessageUnauthorized Request. etc

Success

{
"Reservations": {
     "Reservation": [
         {
             "BookingTran": [
                 {
                     "SubBookingId": "RES2233",
                     "TransactionId": "123400000000003264",
                     "Createdatetime": "2020-10-24 17:57:47",
                     "Modifydatetime": "2020-10-24 17:57:47",
                     "Status": "New",
                     "currentstatus": "Checked Out",
                     "IsConfirmed": "1",
                     "CurrentStatus": "Arrived",
                     "VoucherNo": "",
                     "PackageCode": "123400000000000003",
                     "PackageName": "Non Refundable",
                     "RateplanCode": "123400000000000010",
                     "RateplanName": "Seaview Deluxe RoomOnly",
                     "RoomTypeCode": "123400000000000004",
                     "RoomTypeName": "t1",
                     "Start": "2020-10-03",
                     "End": "2020-10-05",
                     "ArrivalTime": "17:48:00",
                     "DepartureTime": "17:48:00",
                     "CurrencyCode": "RS",
                     "TotalAmountAfterTax": "6939.97",
                     "TotalAmountBeforeTax": "5881.33",
                     "TotalTax": "1058.64",
                     "TotalDiscount": "0.00",
                     "TotalExtraCharge": "50.85",
                     "TotalPayment": "0.00",
                     "TACommision": "0.00",
                     "Salutation": "Miss.",
                     "FirstName": "Jia",
                     "LastName": "",
                     "Gender": "Male",
                     "DateOfBirth": "2020-10-01",
                     "SpouseDateOfBirth": "",
                     "WeddingAnniversary": "",
                     "Address": "",
                     "City": "",
                     "State": "",
                     "Country": "Romania",
                     "Nationality": "India",
                     "Zipcode": "",
                     "Phone": "",
                     "Mobile": "",
                     "Fax": "",
                     "Email": "",
                     “RegistrationNo” : "", 
                     "IdentiyType": "Master ID Card",
                     "IdentityNo": "43545",
                     "ExpiryDate": "",
                     "TransportationMode": "",
                     "Vehicle": "",
                     "PickupDate": "",
                     "PickupTime": "",
                     "Source": "WEB",
                     "Comment": "",
                     "AffiliateName": "",
                     "AffiliateCode": "",
                     "CCLink": "",
                     "CCNo": "",
                     "CCType": "",
                     "CCExpiryDate": "",
                     "CardHoldersName": "",
                     "TaxDeatil": [
                         {
                             "TaxCode": "CGST New",
                             "TaxName": "CGST New",
                             "TaxAmount": "263.9000"
                         },
                         {
                             "TaxCode": "CGST New",
                             "TaxName": "CGST New",
                             "TaxAmount": "265.4200"
                         },
                         {
                             "TaxCode": "SGST New",
                             "TaxName": "SGST New",
                             "TaxAmount": "263.9000"
                         },
                         {
                             "TaxCode": "SGST New",
                             "TaxName": "SGST New",
                             "TaxAmount": "265.4200"
                         }
                     ],
                     "ExtraCharge": [
                         {
                             "ChargeDate": "2020-10-03",
                             "ChargeCode": "Laundry",
                             "ChargeName": "Laundry",
                             "ChargeDesc": "Laundry",
                             "Remark": "Laundry",
                             "Quantity": "0",
                             "AmountBeforeTax": "16.95",
                             "AmountAfterTax": "20.01"
                         },
                         {
                             "ChargeDate": "2020-10-04",
                             "ChargeCode": "Laundry",
                             "ChargeName": "Laundry",
                             "ChargeDesc": "Laundry",
                             "Remark": "Laundry",
                             "Quantity": "0",
                             "AmountBeforeTax": "16.95",
                             "AmountAfterTax": "20.01"
                         },
                         {
                             "ChargeDate": "2020-10-05",
                             "ChargeCode": "Laundry",
                             "ChargeName": "Laundry",
                             "ChargeDesc": "Laundry",
                             "Remark": "Laundry",
                             "Quantity": "0",
                             "AmountBeforeTax": "16.95",
                             "AmountAfterTax": "20.01"
                         }
                     ],
                     "RentalInfo": [
                         {
                             "EffectiveDate": "2020-10-03",
                             "PackageCode": "123400000000000003",
                             "PackageName": "Non Refundable",
                             "RoomTypeCode": "123400000000000004",
                             "RoomTypeName": "t1",
                             "RoomName": "102",
                             "Adult": "5",
                             "Child": "1",
                             "RentPreTax": "2932.19",
                             "Rent": "3459.99",
                             "Discount": "0.00"
                         },
                         {
                             "EffectiveDate": "2020-10-04",
                             "PackageCode": "123400000000000003",
                             "PackageName": "Non Refundable",
                             "RoomTypeCode": "123400000000000004",
                             "RoomTypeName": "t1",
                             "RoomName": "102",
                             "Adult": "5",
                             "Child": "1",
                             "RentPreTax": "2949.14",
                             "Rent": "3479.98",
                             "Discount": "0.00"
                         }
                     ],
                 "Sharer": [               
                         {
                          "Salutation": "Ms.",
                          "FirstName": "Test",
                          "LastName": "One",
                          "Gender": "Female",
                          "DateOfBirth": "",
                          "SpouseDateOfBirth": "",
                          "WeddingAnniversary": "",
                          "Address": "",
                          "City": " Brockway",
                          "State": "CA",
                          "Country": "USA",
                          "Nationality": "Malta",
                          "Zipcode": "95730",
                          "Phone": "",
                          "Mobile": "3534",
                          "Fax": "564564",
                          "Email": "LarryLForney@rhyta.com",
                          "RegistrationNo" : "",  
                          "IdentityTypeID": "894300000000000003",
                          "IdentityNo": "12345667765",
                          "ExpiryDate": "",
                         },
                        {
                         "Salutation": "Ms.",
                         "FirstName": "Test",
                         "LastName": "One",
                         "Gender": "Female",
                         "DateOfBirth": "",
                         "SpouseDateOfBirth": "",
                         "WeddingAnniversary": "",
                         "Address": "",
                         "City": " Brockway",
                         "State": "CA",
                         "Country": "USA",
                         "Nationality": "Malta",
                         "Zipcode": "95730",
                         "Phone": "",
                         "Mobile": "3534",
                         "Fax": "564564",
                         "Email": "LarryLForney@rhyta.com",
                         "Registration No" : "",  
                         "IdentityTypeID": "894300000000000003",
                         "IdentityNo": "12345667765",
                         "ExpiryDate": "",
                        }
                      ]
                 }
             ],
             "LocationId": "27",
             "UniqueID": "RES2233",
             "BookedBy": "John",
             "Salutation": "Mr.",
             "FirstName": "John",
             "LastName": "",
             "Gender": "Male",
             "Address": "",
             "City": "",
             "State": "",
             "Country": "Romania",
             "Zipcode": "",
             "Phone": "",
             "Mobile": "",
             "Fax": "",
             "Email": "",
             "Source": "WEB",
             "PaymentMethod": "Abc",
             "IsChannelBooking": "1"
         },
     ]
}
}

Error Codes

Error CodeError Name
100Missing required parameters.
500Error occurred during processing
502Request Type is missing
101Hotel Code is missing
102Authentication Code is missing
105From Date is missing
107To Date is missing
109Please check From and To date. To Date should be greater than fromdate
303No Data Found.
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
106From Date is not a valid date
108To Date is not a valid date
112Error: Date range is too long. Please provide dates for 1 month.
503No Data Found.

Bookings

Retrieve Arrivals

This API provides guest arrival information based on arrival dates of 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 *VARCHAR(250)Use Keyword “ArrivalList”
BookingIdINT(11)Reservation No (It is Optional)12345
RoomNoVARCHAR(500)Room No (It is Optional)101
GuestVARCHAR(100)Guest Name (It is Optional)test
IdentityNoVARCHAR(255)Identity No (It is Optional)ASD43543
GuestEmailVARCHAR(255)Guest Email (It is Optional)abc@gmail.com
GuestMobileNoVARCHAR(255)Guest Mobile No (It is Optional)XXXXXXXXXX
GuestRegistrationNoVARCHAR(255)Guest Registration No (It is Optional)XXXXXX
HotelCode *INT(11)Unique Hotel codeXXXX
AuthCode *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
from_date *DATETo send a from date2020-06-05
to_date *DATETo send a to date2020-07-07

Request 

{
    "RES_Request": {
    "Request_Type": "ArrivalList",
    "BookingId": "12345",
    "RoomNo": "101",
    "Guest": "Joy T. Mnewy",
    "IdentityNo": "ASD43543",
    "GuestEmail": "XXXXXX@gmail.com",
    "GuestMobileNo": "XXXXXXXXXX",
    "GuestRegistrationNo": "XXXXXX",    
    "Authentication": {
      "HotelCode": "xxxx",
      "AuthCode": "xxxxxxxxxxxxxxxxxxxxxxx"
    },
    "Date": {
    "from_date": "2020-04-05",
    "to_date": "2020-04-07"
    }
    }
}

Response

NameData TypeDescriptionExample
LocationIdINT(11)Hotel codexxxx
UniqueIDVARCHAR(255)Unique Booking id10125, 86436,
B4525 etc
BookedByVARCHAR(255)Information regarding Booked byBooking.com etc
Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo.VARCHAR(255)Here * denotes guest information like Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo.shown in JSON response below.
SourceVARCHAR(1000)Booking generated sourceBooking.com etc
PaymentMethodVARCHAR(255)Payment Mode selected by guestCash, Credit, CityLedger etc
IsChannelBookingINT(1)Is booking comes from channel [0 or 1]
1 : Booking from the channel.
0: Booking not from the channel.
0 or 1
BookingTran. SubBookingIdVARCHAR(255)Sub booking Id138
BookingTran. TransactionIdINT(20)Booking Transaction ID123400000000000163
BookingTran. StatusVARCHAR(100)Booking StatusNew or Modify or Cancel.
BookingTran.IsConfirmedINT(1)Booking Confirmation Flag. [1 or 0]
1 : Confirmed
0 : Not Confirmed
1 or 0.
BookingTran. CurrentStatusVARCHAR(100)Booking Current StatusArrived, Checked Out, Cancel, Void, etc
BookingTran. VoucherNoVARCHAR(255)Booking Voucher No10203049/8512
BookingTran. PackageCodeINT(20)Package Code123400000000000001
BookingTran. PackageNameVARCHAR(1000)Package NameEuropean Plan etc
BookingTran. RateplanCodeINT(20)Unique RatePlan Code123400000000000006
BookingTran. RateplanNameSTRING(1000)RatePlan NameGrand Sea View Junior Suite
BookingTran. RoomTypeCodeINT(20)Unique RoomType Code123400000000000006
BookingTran. RoomTypeNameSTRING(1000)RoomType NameGarden View Studio Room
BookingTran. StartDATECheck-in date[Format : yyyy-mm-dd]2020-10-25
BookingTran. EndDATECheck-out date [Format : yyyy-mm-dd]2020-10-27
BookingTran.TotalRateDECIMAL(19,4)Rate on room in amount1500.43
BookingTran.DECIMAL(19,4)Discount on room in500
TotalDiscountAmount
BookingTran. TotalExtraChargeDECIMAL(19,4)Extra charges in amount(if any)300
BookingTran. TotalPaymentDECIMAL(19,4)Payment for room in amount2500.54
BookingTran.*Here * denotes guest informations like Salutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo,IdentityType, IdentityNo, ExpiryDate.
BookingTran. TransportationModeVARCHAR(100)Mode of transportationBus, car etc
BookingTran. VehicleVARCHAR(255)Detail of vehicle
BookingTran. PickupDateDATEPickup date[Format : yyyy-mm-dd]2020-10-25 etc
BookingTran. PickupTimeTIMEPickup time
BookingTran. SourceVARCHAR(1000)Booking generated sourceBooking.com
BookingTran. CommentVARCHAR(1000)Additional Information or comment.
BookingTran. AffiliateNameVARCHAR(1000)Booking Affiliate Name
BookingTran.AffiliateCodeVARCHAR(1000)Booking Affiliate Code
BookingTran.*Here * denotes Credit Card Informations like CCLink, CCNo, CCType,CardHolderName, CCExpiryDate,
BookingTran.RentalInfo.EffectiveDateDATETIMEBooking details for particular effective date2020-10-25 etc
BookingTran.RentalInfo.PackageCodeINT(20)Package code123400000000000001
BookingTran.RentalInfo.PackageNameVARCHAR(100)Package NameEuropean Plan
BookingTran.RentalInfo.
RoomTypeCode
INT(20)Unique RoomType Code123400000000000006
BookingTran.RentalInfo.
RoomTypeName
STRING(100)RoomType NameGrand Sea View Junior Suite
BookingTran.RentalInfo.AdultINT(11)No. of Adults2,3,4 etc
BookingTran. RentalInfo.ChildINT(11)No. of Childs2,3,4 etc
BookingTran. RentalInfo.RentDECIMAL(19,4)Room rental amount1500.43
BookingTran. RentalInfo.DiscountDECIMAL(19,4)Discount on rental room in amount500
BookingTran.Sharer.*Here * denotes Sharer informations like Salutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Nationality,Zip Code, Phone, Mobile, Fax, Email,RegistrationNo,IdentityTypeID, IdentityNo, ExpiryDate.
Errors.ErrorCodeResponse Error Code104, 404 etc
Errors.ErrorMessageGenerate Response MessageUnauthorized Request. etc

Success

{
"Reservations": {
     "Reservation": [
         {
             "BookingTran": [
                 {
                     "SubBookingId": "RES2370",
                     "TransactionId": "123400000000003428",
                     "Createdatetime": "2020-01-21 12:10:58",
                     "Modifydatetime": "2020-01-21 12:10:58",
                     "Status": "New",                     
                     "IsConfirmed": "1",
                     "CurrentStatus": "Arrived",
                     "VoucherNo": "",
                     "PackageCode": "123400000000000012",
                     "PackageName": "GV",
                     "RateplanCode": "123400000000000051",
                     "RateplanName": "Govt GV",
                     "RoomTypeCode": "123400000000000035",
                     "RoomTypeName": "Govt",
                     "Start": "2020-04-07",
                     "End": "2020-04-08",
                     "ArrivalTime": "12:10:00",
                     "DepartureTime": "12:10:00",
                     "CurrencyCode": "RS",
                     "TotalAmountAfterTax": "1356.00",
                     "TotalAmountBeforeTax": "1200.00",
                     "TotalTax": "156.00",
                     "TotalDiscount": "0.00",
                     "TotalExtraCharge": "0.00",
                     "TotalPayment": "580.00",
                     "TACommision": "0.00",
                     "Salutation": "Dr.",
                     "FirstName": "Maxwel",
                     "LastName": "Phil",
                     "Gender": "Male",
                     "DateOfBirth": "",
                     "SpouseDateOfBirth": "",
                     "WeddingAnniversary": "",
                     "Address": "",
                     "City": "",
                     "State": "",
                     "Country": "Romania",
                     "Nationality": "India",
                     "Zipcode": "",
                     "Phone": "",
                     "Mobile": "",
                     "Fax": "",
                     "Email": "",
                     “RegistrationNo” : "",                      
                     "IdentiyType": "",
                     "IdentityNo": "",
                     "ExpiryDate": "",
                     "TransportationMode": "",
                     "Vehicle": "",
                     "PickupDate": "",
                     "PickupTime": "",
                     "Source": "WEB",
                     "Comment": "",
                     "AffiliateName": "",
                     "AffiliateCode": "",
                     "CCLink": "",
                     "CCNo": "",
                     "CCType": "",
                     "CCExpiryDate": "",
                     "CardHoldersName": "",
                     "TaxDeatil": [
                         {
                             "TaxCode": "PDV 13%",
                             "TaxName": "PDV 13%",
                             "TaxAmount": "156.0000"
                         }
                     ],
                     "RentalInfo": [
                         {
                             "EffectiveDate": "2020-10-07",
                             "PackageCode": "123400000000000012",
                             "PackageName": "GV",
                             "RoomTypeCode": "123400000000000035",
                             "RoomTypeName": "Govt",
                             "RoomName": "102",
                             "Adult": "2",
                             "Child": "0",
                             "RentPreTax": "1200.00",
                             "Rent": "1356.00",
                             "Discount": "0.00"
                         }
                     ],
                 "Sharer": [               
                        {
                         "Salutation": "Ms.",
                         "FirstName": "Test",
                         "LastName": "One",
                         "Gender": "Female",
                         "DateOfBirth": "",
                         "SpouseDateOfBirth": "",
                         "WeddingAnniversary": "",
                         "Address": "",
                         "City": " Brockway",
                         "State": "CA",
                         "Country": "USA",
                         "Nationality": "Malta",
                         "Zipcode": "95730",
                         "Phone": "",
                         "Mobile": "3534",
                         "Fax": "564564",
                         "Email": "LarryLForney@rhyta.com",
                         "RegistrationNo" : "",  
                         "IdentityTypeID": "894300000000000003",
                         "IdentityNo": "12345667765",
                         "ExpiryDate": "",
                        },
                       {
                        "Salutation": "Ms.",
                        "FirstName": "Test",
                        "LastName": "One",
                        "Gender": "Female",
                        "DateOfBirth": "",
                        "SpouseDateOfBirth": "",
                        "WeddingAnniversary": "",
                        "Address": "",
                        "City": " Brockway",
                        "State": "CA",
                        "Country": "USA",
                        "Nationality": "Malta",
                        "Zipcode": "95730",
                        "Phone": "",
                        "Mobile": "3534",
                        "Fax": "564564",
                        "Email": "LarryLForney@rhyta.com",
                        "Registration No" : "",  
                        "IdentityTypeID": "894300000000000003",
                        "IdentityNo": "12345667765",
                        "ExpiryDate": "",
                       }
                     ]
                 }
             ],
             "LocationId": "27",
             "UniqueID": "RES2370",
             "BookedBy": "Joy Chistian",
             "Salutation": "Dr.",
             "FirstName": "Joy",
             "LastName": "Chistian",
             "Gender": "Male",
             "Address": "AB-12, Street-2",
             "City": "",
             "State": "",
             "Country": "Romania",
             "Zipcode": "",
             "Phone": "",
             "Mobile": "",
             "Fax": "",
             "Email": "",             
             "Source": "WEB",
             "PaymentMethod": "GreenTop2",
             "IsChannelBooking": "1"
         },
     ]
}
}

Error Codes

Error CodeError Name
100Missing required parameters.
500Error occurred during processing
502Request Type is missing
101Hotel Code is missing
102Authentication Code is missing
105From Date is missing
107To Date is missing
109Please check From and To date. To Date should be greater than fromdate
303No Data Found.
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
106From Date is not a valid date
108To Date is not a valid date
112Error: Date range is too long. Please provide dates for 1 month.
503No Data Found.

Bookings

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

Bookings

Retrieve a Booking

This API helps you to fetch booking details for specific booking ID based on Room No, Guest, Identity No, Guest Email, Guest Mobile No, Guest Registration No. 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*VARCHAR(100)Request TypeFetchSingleBooking
BookingId*INT(11)Reservation No12345
RoomNoVARCHAR(500)Room No (It is Optional)101
GuestVARCHAR(100)Guest Name (It is Optional)test
IdentityNoVARCHAR(255)Identity No (It is Optional)ASD43543
GuestEmailVARCHAR(255)Guest Email (It is Optional)abc@gmail.com
GuestMobileNoVARCHAR(255)Guest Mobile No (It is Optional)XXXXXXXXXX
GuestRegistrationNoVARCHAR(255)Guest Registration No (It is Optional)XXXXXX
HotelCode*INT(11)Unique Hotel codexxxx
AuthCode*VARCHAR(300)Unique Authentication codexxxxxxxxxx

Request 

{           
      "RES_Request": {
            "Request_Type": "FetchSingleBooking",
.           "BookingId": "12345",            
            "RoomNo": "101",
            "Guest": "Joy T. Mnewy",          
            "IdentityNo": "ASD43543",              
            "GuestEmail": "XXXXXX@gmail.com",              
            "GuestMobileNo": "XXXXXXXXXX",  
            "GuestRegistrationNo": "XXXXXX", 
            "Authentication": {
                 "HotelCode": "XXXX",
                 "AuthCode": "XXXXXXXXXXXXXXXXXXX"
           } 
      }
}
 

Response

NameData TypeDescriptionExample
LocationIdINT(11)Hotel codexxxx
UniqueIDVARCHAR(255)Unique Booking id/ Reservation No10125, 86436, B4525 etc
BookedByVARCHAR(255)Information regarding Booked byBooking.com etc
Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo.VARCHAR(255)Here * denotes guest information like Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo.shown in JSON response below.
SourceVARCHAR(1000)Booking generated sourceBooking.com etc
PaymentMethodVARCHAR(255)Payment Mode selected by guestCash, Credit, CityLedger etc
IsChannelBookingINT(1)Is booking comes from channel [0 or 1]1 : Booking from the channel.0: Booking not from the channel.0 or 1
BookingTran. SubBookingIdVARCHAR(255)Sub booking Id138
BookingTran. TransactionIdINT(20)Booking Transaction ID112500000000000163
BookingTran. StatusVARCHAR(100)Booking StatusNew or Modify or Cancel.
BookingTran.IsConfirmedINT(1)Booking Confirmation Flag. [1 or 0]1 : Confirmed0 : Not Confirmed1 or 0.
BookingTran.CurrentStatusVARCHAR(100)Booking Current StatusArrived, Checked Out, Cancel, Void, etc
BookingTran.VoucherNoVARCHAR(255)Booking Voucher No10203049/8512
BookingTran. PackageCodeINT(20)Package Code112500000000000001
BookingTran. PackageNameVARCHAR(1000)Package NameEuropean Plan etc
BookingTran. RateplanCodeINT(20)Unique RatePlan Code112500000000000006
BookingTran. RateplanNameSTRING(1000)RatePlan NameGrand Sea View Junior Suite
BookingTran. RoomTypeCodeINT(20)Unique RoomType Code112500000000000006
BookingTran. RoomTypeNameSTRING(1000)RoomType NameGarden View Studio Room
BookingTran.RoomIDINT(20)Unique RoomID112500000000000001
BookingTran. RoomNameSTRING(1000)Room Name101
BookingTran. StartDATECheck-in date[Format : yyyy-mm-dd]2017-12-25
BookingTran. EndDATECheck-out date [Format : yyyy-mm-dd]2017-12-27
BookingTran.TotalRateDECIMAL(19,4)Rate on room in amount1500.43
BookingTran.DECIMAL(19,4)Discount on room in500
TotalDiscountAmount
BookingTran. TotalExtraChargeDECIMAL(19,4)Extra charges in amount(if any)300
BookingTran.*Here * denotes guest informations like Salutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email,RegistrationNo,IdentityType, IdentityNo, ExpiryDate.
BookingTran. TransportationModeVARCHAR(100)Mode of transportationBus, car etc
BookingTran. VehicleVARCHAR(255)Detail of vehicle
BookingTran. PickupDateDATEPickup date[Format : yyyy-mm-dd]2017-12-25 etc
BookingTran. PickupTimeTIMEPickup time
BookingTran. SourceVARCHAR(1000)Booking generated sourceBooking.com
BookingTran. CommentVARCHAR(1000)Additional Information or comment.
BookingTran. AffiliateNameVARCHAR(1000)Booking Affiliate Name
BookingTran.AffiliateCodeVARCHAR(1000)Booking Affiliate Code
BookingTran.*Here * denotes Credit Card Informations like CCLink, CCNo, CCType, CardHolderName, CCExpiryDate,CCLink in encoded with base64_encode.
BookingTran.RentalInfo.RoomIDINT(20)Unique RoomID112500000000000001
BookingTran.RentalInfo. RoomNameSTRING(1000)Room Name101
BookingTran.RentalInfo.EffectiveDateDATETIMEBooking details for particular effective date2017-12-25 etc
BookingTran.RentalInfo.PackageCodeINT(20)Package code112500000000000001
BookingTran.RentalInfo.PackageNameVARCHAR(1000)Package NameEuropean Plan
BookingTran.RentalInfo.RoomTypeCodeINT(20)Unique RoomType Code112500000000000006
BookingTran.RentalInfo.RoomTypeNameSTRING(1000)RoomType NameGrand Sea View Junior Suite
BookingTran.RentalInfo.AdultINT(11)No. of Adults2,3,4 etc
BookingTran. RentalInfo.ChildINT(11)No. of Childs2,3,4 etc
BookingTran. RentalInfo.RentDECIMAL(19,4)Room rental amount1500.43
BookingTran. RentalInfo.DiscountDECIMAL(19,4)Discount on rental room in amount500
BookingTran.Sharer.*Here * denotes Sharer informations like Salutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Nationality,Zip Code, Phone, Mobile, Fax, Email,RegistrationNo,IdentityTypeID, IdentityNo, ExpiryDate.
Errors.ErrorCodeResponse Error Code104, 404 etc
Errors.ErrorMessageGenerate Response MessageUnauthorized Request. etc

Success

{
  "Reservations": {
    "Reservation": [
      {
        "BookingTran": [
          {
            "SubBookingId": "11241254",
            "TransactionId": "112400000000001902",
            "Createdatetime": "2019-09-04 11:40:30",
            "Modifydatetime": "2019-09-04 11:40:30",
            "Status": "New",
            "IsConfirmed": "1",
            "CurrentStatus": "Arrived",
            "VoucherNo": "single1276/1",
            "PackageCode": "112400000000000001",
            "PackageName": "European Plan",
            "RateplanCode": "112400000000000001",
            "RateplanName": "Sea View Deluxe Room",
            "RoomTypeCode": "112400000000000001",
            "RoomTypeName": "Sea View Deluxe Room",
            "RoomID": "112400000000000001",           
            "RoomName": "101",
            "Start": "2019-09-26",
            "End": "2019-09-28",
            "ArrivalTime": "12:00:00",
            "DepartureTime": "11:00:00",
            "CurrencyCode": "USD",
            "TotalAmountAfterTax": "976.00",
            "TotalAmountBeforeTax": "800.00",
            "TotalTax": "176.00",
            "TotalDiscount": "0.00",
            "TotalExtraCharge": "0.00",
            "TotalPayment": "0.00",
            "TACommision": "0.00",
            "Salutation": "Ms.",
            "FirstName": "Test",
            "LastName": "One",
            "Gender": "Female",
            "DateOfBirth": "",
            "SpouseDateOfBirth": "",
            "WeddingAnniversary": "",
            "Address": "",
            "City": " Brockway",
            "State": "CA",
            "Country": "USA",
            "Nationality": "Malta",
            "Zipcode": "95730",
            "Phone": "",
            "Mobile": "3534",
            "Fax": "564564",
            "Email": "LarryLForney@rhyta.com",
            “RegistrationNo” : "", 
            "IdentityType": "Pan card",
            "IdentityNo": "12345667765",
            "ExpiryDate": "",
            "TransportationMode": "",
            "Vehicle": "car",
            "PickupDate": "",
            "PickupTime": "",
            "Source": "BookingEye",
            "Comment": "",
            "AffiliateName": "",
            "AffiliateCode": "",
            "CCLink": "",
            "CCNo": "",
            "CCType": "",
            "CCExpiryDate": "",
            "CardHoldersName": "",
            "TaxDeatil": [
              {
                "TaxCode": "AA",
                "TaxName": "VAT @ 12%",
                "TaxAmount": "96.0000"
              },
              {
                "TaxCode": "LT",
                "TaxName": "Luxury @ 10%",
                "TaxAmount": "80.0000"
              }
            ],
            "RentalInfo": [
              {
                "RoomID": "112400000000000001",   
                "RoomName": "101",
                "EffectiveDate": "2019-09-26",
                "PackageCode": "112400000000000001",
                "PackageName": "European Plan",
                "RoomTypeCode": "112400000000000001",
                "RoomTypeName": "Sea View Deluxe Room",
                "Adult": "4",
                "Child": "2",
                "RentPreTax": "550.00",
                "Rent": "671.00",
                "Discount": "0.00"
              },
              {
                 "RoomID": "112400000000000001",   
                 "RoomName": "101",
                "EffectiveDate": "2019-09-27",
                "PackageCode": "112400000000000001",
                "PackageName": "European Plan",
                "RoomTypeCode": "112400000000000001",
                "RoomTypeName": "Sea View Deluxe Room",
                "Adult": "4",
                "Child": "2",
                "RentPreTax": "250.00",
                "Rent": "305.00",
                "Discount": "0.00"
              }
            ],
        "Sharer": [               
               {
                "Salutation": "Ms.",
                "FirstName": "Test",
                "LastName": "One",
                "Gender": "Female",
                "DateOfBirth": "",
                "SpouseDateOfBirth": "",
                "WeddingAnniversary": "",
                "Address": "",
                "City": " Brockway",
                "State": "CA",
                "Country": "USA",
                "Nationality": "Malta",
                "Zipcode": "95730",
                "Phone": "",
                "Mobile": "3534",
                "Fax": "564564",
                "Email": "LarryLForney@rhyta.com",
                "RegistrationNo" : "",  
                "IdentityTypeID": "894300000000000003",
                "IdentityNo": "12345667765",
                "ExpiryDate": "",
              },
              {
                "Salutation": "Ms.",
                "FirstName": "Test",
                "LastName": "One",
                "Gender": "Female",
                "DateOfBirth": "",
                "SpouseDateOfBirth": "",
                "WeddingAnniversary": "",
                "Address": "",
                "City": " Brockway",
                "State": "CA",
                "Country": "USA",
                "Nationality": "Malta",
                "Zipcode": "95730",
                "Phone": "",
                "Mobile": "3534",
                "Fax": "564564",
                "Email": "LarryLForney@rhyta.com",
                "Registration No" : "",  
                "IdentityTypeID": "894300000000000003",
                "IdentityNo": "12345667765",
                "ExpiryDate": "",
              }
            ] 
          }
        ],
        "LocationId": "1124",
        "UniqueID": "11241254",
        "BookedBy": "BookingEye",
        "Salutation": "Ms.",
        "FirstName": "Larry",
        "LastName": "Forney",
        "Gender": "Female",
        "Address": "",
        "City": "Brockway",
        "State": "CA",
        "Country": "USA",
        "Zipcode": "95730",
        "Phone": "",
        "Mobile": "3534",
        "Fax": "564564",
        "Email": "LarryLForney@rhyta.com",
        "Source": "BookingEye",
        "PaymentMethod": "Cash",
        "IsChannelBooking": "1"
      }
    ]
  }
}

Error Codes

Error CodeError Name
100Missing required parameters.
500Error occurred during processing
502Request Type is missing
101Hotel Code is missing
102Authentication Code is missing
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
212Missing Parameter OR Invalid Parameter
213Parameter is blank

Bookings

Retrieve all Bookings

This API will give you latest updates of bookings which are newly created, modified and canceled. The API can return data in JSON formats. The web service responds to HTTP POST requests.

We recommend periodically calling the API — every minute, so your system can remain in sync with our system thereby keeping your system up-to-date.

End Point URL

Header

Content-Type: application/json

Parameter

NameData TypeDescriptionExample
Request_Type *Use Keyword “Bookings”
HotelCode *INT(11)Unique Hotel codeXXXX
AuthCode *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX

Request 

 {
       "RES_Request": {
              "Request_Type": "Bookings",
              "Authentication": {
                      "HotelCode": "xxxx",
                      "AuthCode": "XXXXXXXXXXXXXXXXXXXXXXXX"
                }
        }
}

 

Response

NameData TypeDescriptionExample
LocationIdINT(11)Hotel codexxxx
UniqueIDVARCHAR(255)Unique Booking id10125, 86436, B4525 etc
BookedByVARCHAR(255)Information regarding Booked byBooking.com etc
Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email.VARCHAR(255)Here * denotes guest information like Salutation, FirstName, LastName, Gender, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email.shown in JSON response below.
SourceVARCHAR(1000)Booking generated sourceBooking.com etc
PaymentMethodVARCHAR(255)Payment Mode selected by guestCash, Credit, CityLedger etc
IsChannelBookingINT(1)Is booking comes from channel [0 or 1]
1 : Booking from the channel.
0: Booking not from the channel.
0 or 1
BookingTran. SubBookingIdVARCHAR(255)Sub booking Id138
BookingTran. TransactionIdINT(20)Booking Transaction ID112500000000000163
BookingTran. StatusVARCHAR(1000)Booking StatusNew or Modify or Cancel.
BookingTran.I sConfirmedINT(1)Booking Confirmation Flag. [1 or 0]
1 : Confirmed
0 : Not Confirmed
1 or 0.
BookingTran.CurrentStatusVARCHAR(100)Booking Current StatusArrived, Checked Out, Cancel, Void, etc
BookingTran. VoucherNoVARCHAR(255)Booking Voucher No10203049/8512
BookingTran. PackageCodeINT(20)Package Code112500000000000001
BookingTran. PackageNameVARCHAR(1000)Package NameEuropean Plan etc
BookingTran. RateplanCodeINT(20)Unique RatePlan Code112500000000000006
BookingTran. RateplanNameSTRING(1000)RatePlan NameGrand Sea View Junior Suite
BookingTran. RoomTypeCodeINT(20)Unique RoomType Code112500000000000006
BookingTran. RoomTypeNameSTRING(1000)RoomType NameGarden View Studio Room
BookingTran. StartDATECheck-in date[Format : yyyy-mm-dd]2017-12-25
BookingTran. EndDATECheck-out date [Format : yyyy-mm-dd]2017-12-27
BookingTran.TotalRateDECIMAL(19,4)Rate on room in amount1500.43
BookingTran.DECIMAL(19,4)Discount on room in500
TotalDiscount
Amount
BookingTran. TotalExtraChargeDECIMAL(19,4)Extra charges in amount(if any)300
BookingTran. TotalPaymentDECIMAL(19,4)Payment for room in amount2500.54
BookingTran.*Here * denotes guest informations like Salutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Zip Code, Phone, Mobile, Fax, Email, RegistrationNo, IdentityType, IdentityNo, ExpiryDate.
BookingTran. TransportationModeVARCHAR(100)Mode of transportationBus, car etc
BookingTran. VehicleVARCHAR(255)Detail of vehicle
BookingTran. PickupDateDATEPickup date[Format : yyyy-mm-dd]2017-12-25 etc
BookingTran. PickupTimeTIMEPickup time
BookingTran. SourceVARCHAR(1000)Booking generated sourceBooking.com
BookingTran. CommentVARCHAR(1000)Additional Information or comment.
BookingTran. AffiliateNameVARCHAR(1000)Booking Affiliate Name
BookingTran.AffiliateCodeVARCHAR(1000)Booking Affiliate Code
BookingTran.*Here * denotes Credit Card Informations like CCLink, CCNo, CCType, CardHolderName, CCExpiryDate,etcCCLink in encoded with base64_encode.
BookingTran.RentalInfo.EffectiveDateDATETIMEBooking details for particular effective date2017-12-25 etc
BookingTran.RentalInfo.PackageCodeINT(20)Package code112500000000000001
BookingTran.RentalInfo.PackageNameVARCHAR(1000)Package NameEuropean Plan
BookingTran.RentalInfo.R oomTypeCodeINT(20)Unique RoomType Code112500000000000006
BookingTran.RentalInfo.R oomTypeNameSTRING(1000)RoomType NameGrand Sea View Junior Suite
BookingTran.RentalInfo.AdultINT(11)No. of Adults2,3,4 etc
BookingTran. RentalInfo.ChildINT(11)No. of Childs2,3,4 etc
BookingTran. RentalInfo.RentDECIMAL(19,4)Room rental amount1500.43
BookingTran. RentalInfo.DiscountDECIMAL(19,4)Discount on rental room in amount500
BookingTran.Sharer.*Here * denotes Sharer informations like Salutation, FirstName, LastName, Gender, DateOfBirth, SpouseDateOfBirth, WeddingAnniversary, Nationality, Address, City, State, Country, Nationality,Zip Code, Phone, Mobile, Fax, Email,RegistrationNo,IdentityTypeID, IdentityNo, ExpiryDate.
Errors.ErrorCodeResponse Error Code104, 404 etc
Errors.ErrorMessageGenerate Response MessageUnauthorized Request. etc

Success

1.Single Booking
 {
  "Reservations": {
    "Reservation": [
      {
        "BookingTran": [
          {
            "SubBookingId": "12341254",
            "TransactionId": "123400000000001902",
            "Createdatetime": "2019-09-04 11:40:30",
            "Modifydatetime": "2019-09-04 11:40:30",
            "Status": "New",
            "IsConfirmed": "1",
            "CurrentStatus": "Arrived",
            "VoucherNo": "single1276/1",
            "PackageCode": "123400000000000001",
            "PackageName": "European Plan",
            "RateplanCode": "123400000000000001",
            "RateplanName": "Sea View Deluxe Room",
            "RoomTypeCode": "123400000000000001",
            "RoomTypeName": "Sea View Deluxe Room",
            "Start": "2019-09-26",
            "End": "2019-09-28",
            "ArrivalTime": "12:00:00",
            "DepartureTime": "11:00:00",
            "CurrencyCode": "USD",
            "TotalAmountAfterTax": "976.00",
            "TotalAmountBeforeTax": "800.00",
            "TotalTax": "176.00",
            "TotalDiscount": "0.00",
            "TotalExtraCharge": "0.00",
            "TotalPayment": "0.00",
            "TACommision": "0.00",
            "Salutation": "Ms.",
            "FirstName": "April",
            "LastName": "Myers",
            "Gender": "Female",
            "DateOfBirth": "",
            "SpouseDateOfBirth": "",
            "WeddingAnniversary": "",
            "Address": "",
            "City": "Decorah",
            "State": "Decorah",
            "Country": "IA",
            "Nationality": "Malta",
            "Zipcode": "52101",
            "Phone": "",
            "Mobile": "3534",
            "Fax": "564564",
            "Email": "AprilAMyers@jourrapide.com",
            "RegistrationNo" : "", 
            "IdentityType": "Pan card",
            "IdentityNo": "12345667765",
            "ExpiryDate": "",
            "TransportationMode": "",
            "Vehicle": "car",
            "PickupDate": "",
            "PickupTime": "",
            "Source": "BookingEye",
            "Comment": "",
            "AffiliateName": "",
            "AffiliateCode": "",
            "CCLink": "",
            "CCNo": "",
            "CCType": "",
            "CCExpiryDate": "",
            "CardHoldersName": "",
            "TaxDeatil": [
              {
                "TaxCode": "AA",
                "TaxName": "VAT @ 12%",
                "TaxAmount": "96.0000"
              },
              {
                "TaxCode": "LT",
                "TaxName": "Luxury @ 10%",
                "TaxAmount": "80.0000"
              }
            ],
            "RentalInfo": [
              {
                "EffectiveDate": "2019-09-26",
                "PackageCode": "112400000000000001",
                "PackageName": "European Plan",
                "RoomTypeCode": "112400000000000001",
                "RoomTypeName": "Sea View Deluxe Room",
                "Adult": "4",
                "Child": "2",
                "RentPreTax": "550.00",
                "Rent": "671.00",
                "Discount": "0.00"
              },
              {
                "EffectiveDate": "2019-09-27",
                "PackageCode": "112400000000000001",
                "PackageName": "European Plan",
                "RoomTypeCode": "112400000000000001",
                "RoomTypeName": "Sea View Deluxe Room",
                "Adult": "4",
                "Child": "2",
                "RentPreTax": "250.00",
                "Rent": "305.00",
                "Discount": "0.00"
              }
            ],
            "Sharer": [               
            {
                "Salutation": "Ms.",
                "FirstName": "Test",
                "LastName": "One",
                "Gender": "Female",
                "DateOfBirth": "",
                "SpouseDateOfBirth": "",
                "WeddingAnniversary": "",
                "Address": "",
                "City": " Brockway",
                "State": "CA",
                "Country": "USA",
                "Nationality": "Malta",
                "Zipcode": "95730",
                "Phone": "",
                "Mobile": "3534",
                "Fax": "564564",
                "Email": "LarryLForney@rhyta.com",
                "RegistrationNo" : "",  
                "IdentityTypeID": "894300000000000003",
                "IdentityNo": "12345667765",
                "ExpiryDate": "",
              },
              {
                "Salutation": "Ms.",
                "FirstName": "Test",
                "LastName": "Two",
                "Gender": "Female",
                "DateOfBirth": "",
                "SpouseDateOfBirth": "",
                "WeddingAnniversary": "",
                "Address": "",
                "City": " Brockway",
                "State": "CA",
                "Country": "USA",
                "Nationality": "Malta",
                "Zipcode": "95730",
                "Phone": "",
                "Mobile": "3534",
                "Fax": "564564",
                "Email": "LarryLForney@rhyta.com",
                "Registration No" : "",  
                "IdentityTypeID": "894300000000000003",
                "IdentityNo": "12345667765",
                "ExpiryDate": "",
              }
            ]
          }
        ],
        "LocationId": "1124",
        "UniqueID": "11241254",
        "BookedBy": "BookingEye",
        "Salutation": "Ms.",
        "FirstName": "Hae ",
        "LastName": " Giles ",
        "Gender": "Female",
        "Address": " Garfield Road ",
        "City": "Peoria",
        "State": " Peoria ",
        "Country": "IL",
        "Zipcode": "61614",
        "Phone": "",
        "Mobile": "3534",
        "Fax": "564564",
        "Email": "HaeWGiles@jourrapide.com",
        "Source": "BookingEye",
        "PaymentMethod": "Cash",
        "IsChannelBooking": "1"
      }
    ]
  }
}
 
2.Multiple booking :

{
  "Reservations": {
    "Reservation": [
      {
        "BookingTran": [
          {
            "SubBookingId": "11241254",
            "TransactionId": "112400000000001902",
            "Createdatetime": "2019-09-04 11:40:30",
            "Modifydatetime": "2019-09-04 11:40:30",
            "Status": "New",
            "IsConfirmed": "1",
            "VoucherNo": "single1276/1",
            "PackageCode": "112400000000000001",
            "PackageName": "European Plan",
            "RateplanCode": "112400000000000001",
            "RateplanName": "Sea View Deluxe Room",
            "RoomTypeCode": "112400000000000001",
            "RoomTypeName": "Sea View Deluxe Room",
            "Start": "2019-09-26",
            "End": "2019-09-28",
            "ArrivalTime": "12:00:00",
            "DepartureTime": "11:00:00",
            "CurrencyCode": "USD",
            "TotalAmountAfterTax": "976.00",
            "TotalAmountBeforeTax": "800.00",
            "TotalTax": "176.00",
            "TotalDiscount": "0.00",
            "TotalExtraCharge": "0.00",
            "TotalPayment": "0.00",
            "TACommision": "0.00",
            "Salutation": "Ms.",
            "FirstName": "Lilly",
            "LastName": "Harper",
            "Gender": "Female",
            "DateOfBirth": "",
            "SpouseDateOfBirth": "",
            "WeddingAnniversary": "",
            "Address": "",
            "City": " Peoria ",
            "State": "Peoria",
            "Country": "IL",
            "Nationality": "Malta",
            "Zipcode": "61614",
            "Phone": "",
            "Mobile": "3534",
            "Fax": "564564",
            "Email": "LillyJHarper@jourrapide.com",
            "RegistrationNo" : "", 
            "IdentiyType": "Pan card",
            "IdentityNo": "12345667765",
            "ExpiryDate": "",
            "TransportationMode": "",
            "Vehicle": "car",
            "PickupDate": "",
            "PickupTime": "",
            "Source": "BookingEye",
            "Comment": "",
            "AffiliateName": "",
            "AffiliateCode": "",
            "CCLink": "",
            "CCNo": "",
            "CCType": "",
            "CCExpiryDate": "",
            "CardHoldersName": "",
            "TaxDeatil": [
              {
                "TaxCode": "AA",
                "TaxName": "VAT @ 12%",
                "TaxAmount": "96.0000"
              },
              {
                "TaxCode": "LT",
                "TaxName": "Luxury @ 10%",
                "TaxAmount": "80.0000"
              }
            ],
            "RentalInfo": [
              {
                "EffectiveDate": "2019-09-26",
                "PackageCode": "112400000000000001",
                "PackageName": "European Plan",
                "RoomTypeCode": "112400000000000001",
                "RoomTypeName": "Sea View Deluxe Room",
                "Adult": "4",
                "Child": "2",
                "RentPreTax": "550.00",
                "Rent": "671.00",
                "Discount": "0.00"
              },
              {
                "EffectiveDate": "2019-09-27",
                "PackageCode": "112400000000000001",
                "PackageName": "European Plan",
                "RoomTypeCode": "112400000000000001",
                "RoomTypeName": "Sea View Deluxe Room",
                "Adult": "4",
                "Child": "2",
                "RentPreTax": "250.00",
                "Rent": "305.00",
                "Discount": "0.00"
              }
            ]
          }
        ],
         "LocationId": "1124",
        "UniqueID": "11241254",
        "BookedBy": "BookingEye",
        "Salutation": "Ms.",
        "FirstName": "Hae ",
        "LastName": " Giles ",
        "Gender": "Female",
        "Address": " Garfield Road ",
        "City": "Peoria",
        "State": " Peoria ",
        "Country": "IL",
        "Zipcode": "61614",
        "Phone": "",
        "Mobile": "3534",
        "Fax": "564564",
        "Email": "HaeWGiles@jourrapide.com",
        "Source": "BookingEye",
        "PaymentMethod": "Cash",
        "IsChannelBooking": "1" 
      },
      {
        "BookingTran": [
          {
            "SubBookingId": "11241255",
            "TransactionId": "123450000000001903",
            "Createdatetime": "2019-09-10 11:31:57",
            "Modifydatetime": "2019-09-10 11:31:57",
            "Status": "New",
            "IsConfirmed": "1",
            "CurrentStatus": "Arrived",
            "VoucherNo": "",
            "PackageCode": "12340000000000001",
            "PackageName": "European Plan",
            "RateplanCode": "123450000000000001",
            "RateplanName": "Sea View Deluxe Room",
            "RoomTypeCode": "123450000000000001",
            "RoomTypeName": "Sea View Deluxe Room",
            "Start": "2019-09-11",
            "End": "2019-09-12",
            "ArrivalTime": "12:00:00",
            "DepartureTime": "11:00:00",
            "CurrencyCode": "USD",
            "TotalAmountAfterTax": "6832.00",
            "TotalAmountBeforeTax": "5600.00",
            "TotalTax": "1232.00",
            "TotalDiscount": "0.00",
            "TotalExtraCharge": "0.00",
            "TotalPayment": "0.00",
            "TACommision": "0.00",
            "Salutation": "Dr.",
            "FirstName": "Ellen",
            "LastName": "Novak",
            "Gender": "Female",
            "DateOfBirth": "",
            "SpouseDateOfBirth": "",
            "WeddingAnniversary": "",
            "Address": "",
            "City": "",
            "State": "",
            "Country": "",
            "Nationality": "",
            "Zipcode": "",
            "Phone": "",
            "Mobile": "+123 456 7890",
            "Fax": "",
            "Email": "EllenDNovak@dayrep.com",
            "RegistrationNo" : "", 
            "IdentiyType": "",
            "IdentityNo": "",
            "ExpiryDate": "",
            "TransportationMode": "",
            "Vehicle": "",
            "PickupDate": "",
            "PickupTime": "",
            "Source": "Internet Booking Engine",
            "Comment": "",
            "AffiliateName": "",
            "AffiliateCode": "",
            "CCLink": "",
            "CCNo": "",
            "CCType": "",
            "CCExpiryDate": "",
            "CardHoldersName": "",
            "TaxDeatil": [
              {
                "TaxCode": "AA",
                "TaxName": "VAT @ 12%",
                "TaxAmount": "672.0000"
              },
              {
                "TaxCode": "LT",
                "TaxName": "Luxury @ 10%",
                "TaxAmount": "560.0000"
              }
            ],
            "RentalInfo": [
              {
                "EffectiveDate": "2019-09-11",
                "PackageCode": "123450000000000001",
                "PackageName": "European Plan",
                "RoomTypeCode": "123450000000000001",
                "RoomTypeName": "Sea View Deluxe Room",
                "Adult": "2",
                "Child": "0",
                "RentPreTax": "5600.00",
                "Rent": "6832.00",
                "Discount": "0.00"
              }
            ],
            "Sharer": [               
             {
                "Salutation": "Ms.",
                "FirstName": "Test",
                "LastName": "One",
                "Gender": "Female",
                "DateOfBirth": "",
                "SpouseDateOfBirth": "",
                "WeddingAnniversary": "",
                "Address": "",
                "City": " Brockway",
                "State": "CA",
                "Country": "USA",
                "Nationality": "Malta",
                "Zipcode": "95730",
                "Phone": "",
                "Mobile": "3534",
                "Fax": "564564",
                "Email": "LarryLForney@rhyta.com",
                "RegistrationNo" : "",  
                "IdentityTypeID": "894300000000000003",
                "IdentityNo": "12345667765",
                "ExpiryDate": "",
              },
              {
                "Salutation": "Ms.",
                "FirstName": "Test",
                "LastName": "Two",
                "Gender": "Female",
                "DateOfBirth": "",
                "SpouseDateOfBirth": "",
                "WeddingAnniversary": "",
                "Address": "",
                "City": " Brockway",
                "State": "CA",
                "Country": "USA",
                "Nationality": "Malta",
                "Zipcode": "95730",
                "Phone": "",
                "Mobile": "3534",
                "Fax": "564564",
                "Email": "LarryLForney@rhyta.com",
                "Registration No" : "",  
                "IdentityTypeID": "894300000000000003",
                "IdentityNo": "12345667765",
                "ExpiryDate": "",
              }
            ]
          }
        ],
        "LocationId": "1234",
        "UniqueID": "11241255",
        "BookedBy": "Internet Booking Engine",
        "Salutation": "Dr.",
        "FirstName": "Audrey",
        "LastName": "Manuel",
        "Gender": "",
        "Address": "",
        "City": "",
        "State": "",
        "Country": "",
        "Zipcode": "",
        "Phone": "",
        "Mobile": "+1234567890",
        "Fax": "",
        "Email": "AudreyJManuel@armyspy.com",
        "Source": "Internet Booking Engine",
        "IsChannelBooking": "0"
      }
    ],
    "CancelReservation": [
      {
        "LocationId": "1234",
        "UniqueID": "11241008-1",
        "Status": "Cancel",
        "Canceldatetime": "2019-05-08 14:21:16",
        "Remark": "Guest want to cancel reservation through Zenrooms",
        "VoucherNo": "100335/1"
      },
      {
        "LocationId": "1234",
        "UniqueID": "11241008-2",
        "Status": "Cancel",
        "Canceldatetime": "2019-05-08 14:21:27",
        "Remark": "Guest want to cancel reservation through Zenrooms",
        "VoucherNo": "100335/2"
      },
      {
        "LocationId": "1234",
        "UniqueID": "11241011",
        "Status": "Cancel",
        "Canceldatetime": "2019-05-08 14:18:57",
        "Remark": "Guest want to cancel reservation through Zenrooms",
        "VoucherNo": "1253911111/2"
      }
    ]
  }
}

3.Modify Booking :

{
  "Reservations": {
    "Reservation": [
      {
        "BookingTran": [
          {
            "SubBookingId": "12345254",
            "TransactionId": "123450000000001902",
            "Createdatetime": "2019-09-04 11:40:30",
            "Modifydatetime": "2019-09-04 11:40:30",
            "Status": "Modify",
            "IsConfirmed": "1",
            "VoucherNo": "single1276/1",
            "PackageCode": "123450000000000001",
            "PackageName": "European Plan",
            "RateplanCode": "112400000000000001",
            "RateplanName": "Sea View Deluxe Room",
            "RoomTypeCode": "123450000000000001",
            "RoomTypeName": "Sea View Deluxe Room",
            "Start": "2019-09-26",
            "End": "2019-09-28",
            "ArrivalTime": "12:00:00",
            "DepartureTime": "11:00:00",
            "CurrencyCode": "USD",
            "TotalAmountAfterTax": "976.00",
            "TotalAmountBeforeTax": "800.00",
            "TotalTax": "176.00",
            "TotalDiscount": "0.00",
            "TotalExtraCharge": "0.00",
            "TotalPayment": "0.00",
            "TACommision": "0.00",
             "Salutation": "Ms.",
            "FirstName": "Valentina",
            "LastName": "Riter",
            "Gender": "Female",
            "DateOfBirth": "",
            "SpouseDateOfBirth": "",
            "WeddingAnniversary": "",
            "Address": "",
            "City": " Peoria ",
            "State": "Peoria",
            "Country": "IL",
            "Nationality": "Malta",
            "Zipcode": "61614", 
            "Phone": "",
            "Mobile": "3534",
            "Fax": "564564",
            "Email": "ValentinaNRiter@jourrapide.com",
            "IdentiyType": "Pan card",
            "IdentityNo": "12345667765",
            "ExpiryDate": "",
            "TransportationMode": "",
            "Vehicle": "car",
            "PickupDate": "",
            "PickupTime": "",
            "Source": "BookingEye",
            "Comment": "",
            "AffiliateName": "",
            "AffiliateCode": "",
            "CCLink": "",
            "CCNo": "",
            "CCType": "",
            "CCExpiryDate": "",
            "CardHoldersName": "",
            "TaxDeatil": [
              {
                "TaxCode": "AA",
                "TaxName": "VAT @ 12%",
                "TaxAmount": "96.0000"
              },
              {
                "TaxCode": "LT",
                "TaxName": "Luxury @ 10%",
                "TaxAmount": "80.0000"
              }
            ],
            "RentalInfo": [
              {
                "EffectiveDate": "2019-09-26",
                "PackageCode": "123450000000000001",
                "PackageName": "European Plan",
                "RoomTypeCode": "123450000000000001",
                "RoomTypeName": "Sea View Deluxe Room",
                "Adult": "4",
                "Child": "2",
                "RentPreTax": "550.00",
                "Rent": "671.00",
                "Discount": "0.00"
              },
              {
                "EffectiveDate": "2019-09-27",
                "PackageCode": "112400000000000001",
                "PackageName": "European Plan",
                "RoomTypeCode": "112400000000000001",
                "RoomTypeName": "Sea View Deluxe Room",
                "Adult": "4",
                "Child": "2",
                "RentPreTax": "250.00",
                "Rent": "305.00",
                "Discount": "0.00"
              }
            ]
          }
        ],
        "LocationId": "1234",
        "UniqueID": "12345254",
        "BookedBy": "BookingEye",
        "Salutation": "Ms.",
        "FirstName": "Valentina",
        "LastName": "Riter",
        "Gender": "Female",
        "Address": "",
        "City": "Charlotte",
        "State": "Charlotte",
        "Country": "NC",
        "Zipcode": "28202",
        "Phone": "",
        "Mobile": "3534",
        "Fax": "564564",
        "Email": "ValentinaNRiter@jourrapide.com",
        "Source": "BookingEye",
        "PaymentMethod": "Cash",
        "IsChannelBooking": "1"
      }
    ]
  }
}

4.Cancel Booking :
{
  "Reservations": {
     "CancelReservation": [
      {
        "LocationId": "xxxx",
        "UniqueID": "12345228-1",
        "Status": "Cancel",
        "Canceldatetime": "2019-08-14 16:33:38",
        "Remark": "",
        "VoucherNo": ""
      },
      {
        "LocationId": "xxxx",
        "UniqueID": "12345228-2",
        "Status": "Cancel",
        "Canceldatetime": "2019-08-14 16:33:24",
        "Remark": "",
        "VoucherNo": ""
      }
    ]
  }
}

 
 

Error Codes

Error CodeError Name
100Missing required parameters.
500Error occurred during processing
502Request Type is missing
101Hotel Code is missing
102Authentication Code is missing
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

Bookings

Check Availability

This API helps you to check availability for a room. To check availability, you need to include certain fields in your request like room type, check in date, checkout date, no of rooms, no of nights, pax and many more to fulfill your needs.

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

End Point URL

[BaseUrl]booking/reservation_api/listing.php?request_type=[Request_Type]&HotelCode=[Hotel_Code]&APIKey=[API_KEY]&check_in_date=[CHECK_IN_DATE]&check_out_date=[CHECK_OUT_DATE]&num_nights=[NUMBER_NIGHTS]&number_adults=[NUMBER_ADULTS]&number_children=[NUMBER_CHILDREN]&num_rooms=[NUMBER_ROOMS]&promotion_code=[PROMOTION_CODE]&property_configuration_info=[PROPERTY_CONFIG_INFO]&showtax=[SHOW_TAX]&show_only_available_rooms=[SHOW_ONLY_AVAILABLE_ROOMS]&show_matched_minimum_nights_rateplans=[SHOW_MATCHED_MINIMUM_NIGHTS_RATEPLANS]&language=[LANGUAGE]&roomtypeunkid=[ROOMTYPE_ID]&packagefor=[PACKAGEFLAG]&promotionfor=[PROMOTIONFLAG]

Header

Parameter

NameData TypeDescriptionExample
[BaseUrl] *Live server URLhttps://live.ipms247.com/
[Request_Type] *Use Keyword “RoomList”
[Hotel_Code] *INT(11)Unique Hotel codeXXXX
[API_KEY] *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
check_in_date*DATECheck In date. [Format: yyyy-mm-dd]2020-05-20
check_out_dateDATECheck Out Date [Format: yyyy-mm-dd]2020-05-30
num_nightsINT(11)Defaults to 10 days after the start date.The date range is limited to the first 30 days from the check in date.1,5,10
number_adultsINT(11)No. of Adult(s). Default is 11,2
number_childrenINT(11)No.of Child(s). Default is 01,2
num_roomsINT(11)Total No. of Room(s). Rooms Default is 11,2
promotion_codeINT(11)Unique Promotion Code. Default is Empty112500000000000001
property_configuration_infoINT(11)It is based upon property booking engine settings. Default is 00,1
showtaxINT(11)Used for tax inclusive & exclusive rates. This is useful when data retrivation does not depend upon whole property configuration. This parameter is used when property_configuration_info is set to 0.0,1
show_only_available_roomsINT(11)It has two values 0 OR 1.1 will return all available rate plans only.This is useful while data retrivation is not depend upon the whole property configuration. This parameter is used when property_configuration_info is set to 0.Default value is 0.0,1
show_matched_minimum_nights_rateplansINT(11)0 – Display All without filtration without filtration on basis of nights 1 – Match with minimum nights criteria2 – Match Exactly with nights selectedThis is useful while data retrivation is not depend upon the whole property configuration. This parameter is used when property_configuration_info is set to 0.0,1,2
[LANGUAGE]VARCHAR(20)Pass language code. Language codes are available here.en
roomtypeunkidINT(20)Unique RoomType ID12500000000000001
packageforVARCHAR(20)This parameter is optional and also not mandatory to add but please take note that in this case it will give you desktop based package data only.
If you want package data according to desktop or mobile you have to pass parameters according to its value.
DESKTOP , MOBILE
promotionforVARCHAR(20)This parameter is optional and also not mandatory to add but please take note that in this case it will give you desktop based promotion data only.
If you want promotion data according to desktop or mobile you have to pass parameters according to its value.
DESKTOP , MOBILE

Request 

https://live.ipms247.com/booking/reservation_api/listing.php?request_type=RoomList&HotelCode=XX&APIKey=XXXXXX&check_in_date= 2015-07-13&check_out_date=&num_nights=2&number_adults=1 &number_children=0&num_rooms=1&promotion_code=&property_configuration_info=0&showtax=0&show_only_available_rooms=0&language=en&roomtypeunkid=XXXX&packagefor=DESKTOP&promotionfor=DESKTOP

Response

NameData TypeDescriptionExample
Room_NameVARCHAR(255)Name of RoomRoom1, Room2
Room_DescriptionVARCHAR(255)Room descriptionRoom with a Pool View
Roomtype_NameVARCHAR(255)Room TypeDeluxe
Package_DescriptionVARCHAR(255)Package DescriptionPackage Includes Breakfast and Lunch
Roomtype_Short_codeVARCHAR(255)Room Type short codeR1,R2
Specials_DescVARCHAR(255)Specials Details
specialconditionsVARCHAR(255)Special Conditions
specialhighlightinclusionVARCHAR(255)Special Highlight Inclusion
hotelcodeINT(11)Unique Hotel code given to propertyXX
roomtypeunkidINT(11)Room Type Unique Id114000000000000005
ratetypeunkidINT(11)Rate Type Unique Id114000000000000001
roomrateunkidINT(11)Rate Plan Unique Id114000000000000001
base_adult_occupancyINT(11)Base adult occupancy in room2,3
base_child_occupancyINT(11)Base child occupancy in room2,3
max_adult_occupancyINT(11)Maximum adult occupancy in room2,3
max_child_occupancyINT(11)Maximum child occupancy in room2,3
max_occupancyINT(11)Maximum Occupancy
inclusionVARCHAR(200)Inclusion
available_roomsINT(11)Room Inventory date wise array2,3
min_ava_roomsINT(11)Minimum Inventory from available rooms of each date2,3
room_rates_info
before_discount_inclusive_tax_adjustmentDECIMAL(19,4)Date wise strike rates with inclusive of tax & adjustment2000,1500
exclusive_taxDECIMAL(19,4)Per night room rates exclusive of tax2000,1500
taxDECIMAL(19,4)Per night room tax only2000,1500
adjustmentDECIMAL(19,4)Per night room rate adjustment only2000,1500
inclusive_tax_adjustmentDECIMAL(19,4)Per night room rate inclusive of tax & adjustment2000,1500
rack_rateDECIMAL(19,4)Room level rack rate2000,1500
totalprice_room_onlyDECIMAL(19,4)Total room rates exclusive of tax2000,1500
totalprice_inclusive_allDECIMAL(19,4)Total room price inclusive of all taxes & adjustment2000,1500
avg_per_night_before_discountDECIMAL(19,4)Average Per night rate without discount2000,1500
avg_per_night_after_discountDECIMAL(19,4)Average per night rate after discount2000,1500
avg_per_night_without_taxDECIMAL(19,4)Average per night without tax2000,1500
day_wise_baserackrateDECIMAL(19,4)Day wise base rack rate2000,1500
day_wise_beforediscountDECIMAL(19,4)Day wise before discount2000,1500
extra_adult_rates_info
exclusive_taxDECIMAL(19,4)Per night extra adult rates exclusive of tax2000,1500
taxDECIMAL(19,4)Per night extra adult rate tax only2000,1500
adjustmentDECIMAL(19,4)Per night extra adult rate adjustment only0,0.10
inclusive_tax_adjustmentDECIMAL(19,4)Per night extra adult rate inclusive of tax &adjustment2000,1500
rack_rateDECIMAL(19,4)Room level extra adult rack rate2000,1500
extra_child_rates_info
exclusive_taxDECIMAL(19,4)Per night extra child rates exclusive of tax1000,500
taxDECIMAL(19,4)Per night extra child rate tax only1000,500
adjustmentDECIMAL(19,4)Per night extra child rate adjustment only1000,500
inclusive_tax_adjus tmentDECIMAL(19,4)Per night extra child rate inclusive of tax & adjustment1000,500
exclusive_taxDECIMAL(19,4)Per night extra child rates exclusive of tax1000,500
rack_rateDECIMAL(19,4)Room level extra child rack rate1000,500
Avg_min_nightsINT(11)Avg minimum nights1
Min_nightsINT(11)Minimum stay for each night2,4
Avg_max_nightsINT(11)Avg maximum nights3
currency_codeVARCHAR(20)Currency Code USD
currency_signVARCHAR(20)Currency Sign $
RoomAmenitiesVARCHAR(2000)Room AmenitiesTV, refrigerator,AC
RoomImagesVARCHAR(255)Room Images
ShowPriceFormatDECIMAL(19,4)Show Rates Average Per Night Or Price for WholeStayShow Rates Average Per Night Or Price for WholeStay
DefaultDisplyCurrencyCodeVARCHAR(20)Default Currency CodeUSD
check_in_timeTIMEHotel Check in time12:00
check_out_timeTIMEHotel Check out time12:00
Hotel_amenitiesVARCHAR(2000)Hotel amenitiesAC, TV
TaxNameVARCHAR(2000)All Tax name which are applyTax1,Tax2

NOTES :

System will give you per room rates , for multiple rooms you have to calculate based upon above details.

System will not calculate any extra adult & child rate. That information too available in above response data.

Success

[  {
    "Room_Name": "Deluxe EP",
    "Room_Description": "Deluxe EP",
    "Roomtype_Name": "Deluxe",
    "Roomtype_Short_code": "DL",
    "Package_Description": "",
    "Specials_Desc": "",
    "specialconditions": "",
    "specialhighlightinclusion": "",
    "hotelcode": "XXXX",
    "roomtypeunkid": "114000000000000005",
    "ratetypeunkid": "114000000000000001",
    "roomrateunkid": "114000000000000011",
    "base_adult_occupancy": "2",
    "base_child_occupancy": "1",
    "max_adult_occupancy": "3",
    "max_child_occupancy": "2",
    "max_occupancy": "",
    "inclusion": "dsfsdf",
    "available_rooms": {
      "2020-11-01": "3",
      "2020-11-02": "3"
    },
    "min_ava_rooms": "3",
    "room_rates_info": {
      "before_discount_inclusive_tax_adjustment": [],
      "exclusive_tax": {
        "2020-11-01": "1300.0000",
        "2020-11-02": "1300.0000"
      },
      "exclusivetax_baserate": {
        "2020-11-01": "1300.0000",
        "2020-11-02": "1300.0000"
      },
      "tax": [],
      "adjustment": {
        "2020-11-01": 0,
        "2020-11-02": 0
      },
      "inclusive_tax_adjustment": {
        "2020-11-01": 1300,
        "2020-11-02": 1300
      },
      "rack_rate": "1300.0000",
      "totalprice_room_only": 2600,
      "totalprice_inclusive_all": 2600,
      "avg_per_night_before_discount": "",
      "avg_per_night_after_discount": 1300,
      "avg_per_night_without_tax": 1300,
      "day_wise_baserackrate": [
        "1300.0000",
        "1300.0000"
      ],
      "day_wise_beforediscount": [
        "1300.0000",
        "1300.0000"
      ]
    },
    "extra_adult_rates_info": {
      "exclusive_tax": {
        "2020-11-01": "800.0000",
        "2020-11-02": "800.0000"
      },
      "tax": [],
      "adjustment": {
        "2020-11-01": 0,
        "2020-11-02": 0
      },
      "inclusive_tax_adjustment": {
        "2020-11-01": 800,
        "2020-11-02": 800
      },
      "rack_rate": "800.0000"
    },
    "extra_child_rates_info": {
      "exclusive_tax": {
        "2020-11-01": "500.0000",
        "2020-11-02": "500.0000"
      },
      "tax": [],
      "adjustment": {
        "2020-11-01": 0,
        "2020-11-02": 0
      },
      "inclusive_tax_adjustment": {
        "2020-11-01": 500,
        "2020-11-02": 500
      },
      "rack_rate": "500.0000"
    },
    "min_nights": {
      "2020-11-01": 1,
      "2020-11-02": 1
    },
    "Hotel_amenities": "[]",
    "Avg_min_nights": 1,
    "max_nights": {
      "2020-11-01": "",
      "2020-11-02": ""
    },
    "Avg_max_nights": "",
    "check_in_time": "12:00",
    "check_out_time": "12:00",
    "TaxName": [],
    "ShowPriceFormat": "Average Per Night Rate",
    "DefaultDisplyCurrencyCode": null,
    "deals": "",
    "IsPromotion": false,
    "Promotion_Code": null,
    "Promotion_Description": null,
    "Promotion_Name": null,
    "Promotion_Id": null,
    "Package_Name": "",
    "Package_Id": "",
    "currency_code": "INR",
    "currency_sign": "₹",
    "localfolder": "shafinhotels",
    "CalDateFormat": "dd-mm-yy",
    "ShowTaxInclusiveExclusiveSettings": "1",
    "hidefrommetasearch": "",
    "prepaid_noncancel_nonrefundable": "0",
    "cancellation_deadline": "",
    "digits_after_decimal": "2",
    "visiblity_nights": "false",
    "BookingEngineURL": "<url>/booking/book-rooms-shafinhotels",
    "RoomAmenities": "Bed,TV,Refrigerator,AC",
    "room_main_image": ""
  },
] 

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.
NightsLimitExceededYou can not request for more then 30 nights.
CheckDateCheck out date should be greater than CheckYou can not request for more then 30 nights.
MaxAdultLimitReachRequested adults are greater then actual property configuration.
RoomListingErrorRoom List error
-1No Data found.
APIACCESSDENIEDYour property doesn’t have access of API integration or Key is incorrect. Please contact support for this.
ParametersMissingMissing parameters.
InvalidSearchCriteriaInvalid search criteria found.Check out date & No of nights can not be pass together.
DateNotvalidRequested date is past.
MaxChildLimitReachRequested child are greater then actual property configuration.

Click here to Register