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

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

Rates & Availability

Retrieve Room Rates

The API provides a room rates data for a specific date range, room type and rate type for a property. 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 “Rate” 
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-07

Request 

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

Response

NameData TypeDescriptionExample
RoomInfo.Source.RoomTypes.
RoomType.RoomTypeID
INT(11)Room Type Id1234500000000000001
RoomInfo.Source.RoomTypes.
RoomType.RateTypeID
INT(11)Rate Plan Id1234500000000000013
RoomInfo.Source.RoomTypes.
RoomType.FromDate
DATETIMEFrom date2020-05-01
RoomInfo.Source.RoomTypes.
RoomType.ToDate
DATETIMETo date2020-05-10
RoomInfo.Source.RoomTypes.
RoomType.RoomRate.Base
Decimal(11,4)Base Rate2500.0000
RoomInfo.Source.RoomTypes.
RoomType.RoomRate.ExtraAdult
Decimal(11,4)Extra Adult Rate500.0000
RoomInfo.Source.RoomTypes.
RoomType.RoomRate.ExtraChild
Decimal(11,4)Extra Child Rate200.0000
Errors.ErrorCodeResponse Error Code104, 404 etc
Errors.ErrorMessageGenerate Response MessageUnauthorized Request. etc

Success

<?xml version="1.0" encoding="UTF-8"?><RES_Response>
    <RoomInfo>
        <Source name="PMS">
            <RoomTypes>
                <RateType>
                    <RoomTypeID>1234500000000000001</RoomTypeID>
                    <RateTypeID>1234500000000000013</RateTypeID>
                    <FromDate>2020-03-14</FromDate>
                    <ToDate>2020-03-18</ToDate>
                    <RoomRate>
                        <Base>2500.0000</Base>
                        <ExtraAdult>500.0000</ExtraAdult>
                        <ExtraChild>200.0000</ExtraChild>
                    </RoomRate>
                </RateType>
            </RoomTypes>
        </Source>
        <Source name="Hotel Hilton - Web">
            <RoomTypes>
                <RateType>
                    <RoomTypeID>1234500000000000001</RoomTypeID>
                    <RateTypeID>1234500000000000001</RateTypeID>
                    <FromDate>2020-03-14</FromDate>
                    <ToDate>2020-03-15</ToDate>
                    <RoomRate>
                        <Base>750.0000</Base>
                        <ExtraAdult>350.0000</ExtraAdult>
                        <ExtraChild>50.0000</ExtraChild>
                    </RoomRate>
                </RateType>
            </RoomTypes>
        </Source>
    </RoomInfo>
</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

Rates & Availability

Retrieve Room Inventory

The API provides a room inventory data for a specific date range and room type for a property. 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 “Inventory” 
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-07

Request 

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

Response

NameData TypeDescriptionExample
RoomInfo.Source.RoomTypes.
RoomType.RoomTypeID
INT(11)Room Type Id1234500000000000001
RoomInfo.Source.RoomTypes.
RoomType.FromDate
DATETIMEFrom date2020-05-01
RoomInfo.Source.RoomTypes.
RoomType.ToDate
DATETIMETo date2020-05-10
RoomInfo.Source.RoomTypes.
RoomType.Availability
INT(11)No. Of room available4
Errors.ErrorCodeResponse Error Code104, 404 etc
Errors.ErrorMessageGenerate Response MessageUnauthorized Request. etc

Success

<?xml version="1.0" encoding="UTF-8"?><RES_Response>
    <RoomInfo>
        <Source name="Front">
            <RoomTypes>
                <RoomType>
                    <RoomTypeID>1234500000000000001</RoomTypeID>
                    <FromDate>2020-03-11</FromDate>
                    <ToDate>2020-03-16</ToDate>
                    <Availability>1</Availability>
                </RoomType>
                <RoomType>
                    <RoomTypeID>1234500000000000007</RoomTypeID>
                    <FromDate>2020-03-18</FromDate>
                    <ToDate>2020-03-18</ToDate>
                    <Availability>5</Availability>
                </RoomType>
            </RoomTypes>
        </Source>
    </RoomInfo>
</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

Rates & Availability

Update Close On Departure

This API helps you to apply close on departure restrictions for specific date ranges for a property. With this feature, you can restrict the availability of a room, by making a room unavailable to book if the guest checks out on a certain date.

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 “UpdateCOD”
HotelCode *INT(11)Unique Hotel codeXXXX
AuthCode *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
RatePlanID *INT(20)Unique Rate Plan ID123450000000000001
FromDate *DATETIMEUpdate From date. [Format: yyyy-mm-dd]2020-06-25
ToDate *DATETIMEUpdate To date [Format: yyyy-mm-dd]2020-06-27
COD *INT(1)COD oprvalue [1 or 0]
1: Enable COD
0: Disable COD
1 OR 0

Request 

 {   
     "RES_Request": {
        "Request_Type": "UpdateCOD",
        "Authentication": {
           "HotelCode": "xxxx",
          "AuthCode": "xxxxxxxxxxxxxxxxxxxx"
         },
        "RatePlan": [
        {
             "RatePlanID": "123450000000000001",
             "FromDate": "2019-06-21",
             "ToDate": "2019-06-22",
             "COD": "0"
         },
        {
            "RatePlanID": "123450000000000001",
            "FromDate": "2019-06-25",
            "ToDate": "2019-06-27",
            "COD": "0"
        }
       ]
     }
} 

Response

NameData TypeDescriptionExample
Success.SuccessMsgGenerate Success Response Message COD Successfully Updated
Errors.ErrorCodeResponse Error Code122, 127 etc
Errors.ErrorMessageGenerate Response Message COD value is missing

Success

{    "Success": {
        "SuccessMsg": "COD Successfully 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
105From Date is missing
106(From Date) – From Date is not a valid date
107To Date is missing
108(To Date) – To Date is not a valid date
109From Date (From Date) To Date : (To Date) – Please check From and To date. To Date should be greater than fromdate
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
122Rate Plan ID is missing
127COD value is missing
128Invalid COD value

Rates & Availability

Update Close On Arrival

This API helps you to apply close on arrival restrictions for specific date ranges for a property. With this feature, you can restrict the availability of a room, by making a room unavailable to book if the guest checks in on a certain date.

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 “UpdateCOA”
HotelCode *INT(11)Unique Hotel codeXXXX
AuthCode *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
RatePlanID *INT(20)Unique Rate Plan ID123450000000000001
FromDate *DATETIMEUpdate From date. [Format: yyyy-mm-dd]2020-06-25
ToDate *DATETIMEUpdate To date [Format: yyyy-mm-dd]2020-06-27
COA *INT(1)COA oprvalue [1 or 0]
1: Enable COA
0: Disable COA
1 OR 0

Request 

 {   
     "RES_Request": {
        "Request_Type": "UpdateCOA",
        "Authentication": {
           "HotelCode": "xxxx",
          "AuthCode": "xxxxxxxxxxxxxxxxxxxx"
         },
        "RatePlan": [
        {
             "RatePlanID": "123450000000000001",
             "FromDate": "2019-06-21",
             "ToDate": "2019-06-22",
             "COA": "0"
         },
        {
            "RatePlanID": "123450000000000001",
            "FromDate": "2019-06-25",
            "ToDate": "2019-06-27",
            "COA": "0"
        }
       ]
     }
} 

Response

NameData TypeDescriptionExample
Success.SuccessMsgGenerate Success Response MessageCOA Successfully Updated
Errors.ErrorCodeResponse Error Code122, 127 etc
Errors.ErrorMessageGenerate Response MessageCOA value is missing

Success

{    "Success": {
        "SuccessMsg": "COA Successfully 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
105From Date is missing
106(From Date) – From Date is not a valid date
107To Date is missing
108(To Date) – To Date is not a valid date
109From Date (From Date) To Date : (To Date) – Please check From and To date. To Date should be greater than fromdate
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
122Rate Plan ID is missing
127COA value is missing
128Invalid COA value

Rates & Availability

Update StopSell

This API helps you to open/close stop sell for specific date ranges for a property. With this feature, you can restrict the availability of a room, by making a room unavailable to book on a certain date.

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 “UpdateStopSell”
HotelCode *INT(11)Unique Hotel codeXXXX
AuthCode *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
RatePlanID *INT(20)Unique Rate Plan ID123450000000000001
FromDate *DATETIMEUpdate From date. [Format: yyyy-mm-dd]2020-06-25
ToDate *DATETIMEUpdate To date [Format: yyyy-mm-dd]2020-06-27
StopSell *INT(1)Stopsell oprvalue [1 or 0]
1: Enable StopSell
0: Disable Stopsell
1 OR 0

Request 

 {   
     "RES_Request": {
        "Request_Type": "UpdateStopSell",
        "Authentication": {
           "HotelCode": "xxxx",
          "AuthCode": "xxxxxxxxxxxxxxx"
         },
        "RatePlan": [
        {
            "RatePlanID": "123450000000000001",
             "FromDate": "2019-06-21",
             "ToDate": "2019-06-22",
             "StopSell": "0"
         },
        {
            "RatePlanID": "123450000000000001",
            "FromDate": "2019-06-25",
            "ToDate": "2019-06-27",
            "StopSell": "0"
        }
       ]
     }
} 

Response

NameData TypeDescriptionExample
Success.SuccessMsgGenerate Success Response MessageStopSell Successfully Updated
Errors.ErrorCodeResponse Error Code122, 127 etc
Errors.ErrorMessageGenerate Response Message StopSell value is missing

Success

{    "Success": {
        "SuccessMsg": "StopSell Successfully 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
105From Date is missing
106(From Date) – From Date is not a valid date
107To Date is missing
108(To Date) – To Date is not a valid date
109From Date (From Date) To Date : (To Date) – Please check From and To date. To Date should be greater than fromdate
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
122Rate Plan ID is missing
127StopSell value is missing
128Invalid StopSell value

Rates & Availability

Update Min Nights

This API helps you to update minimum nights for specific date ranges for a property. With this feature, you can restrict the availability of a room, by specifying a minimum length of stay if the reservation includes a certain date.

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 “UpdateMinNights”
HotelCode *INT(11)Unique hotel code generated in the systemXXXX
AuthCode *VARCHAR(300)Unique code to enable the interface.XXXXXXXXXXXXXXXXX
RatePlanID *INT(20)Unique Rate Plan ID112500000000000001
FromDate *DATETIMEUpdate From date. [Format: yyyy-mm-dd]2020-06-25
ToDate *DATETIMEUpdate To date [Format: yyyy-mm-dd]2020-07-27
MinNight *INT(11)MinNight value2,5,10 etc

Request 

{    "RES_Request": {
        "Request_Type": "UpdateMinNights",
        "Authentication": {
            "HotelCode": "xxxx",
            "AuthCode": "xxxxxxxxxxxx"
        },
        "RatePlan": [
            {
                "RatePlanID": "123400000000000001",
                "FromDate": "2019-06-25",
                "ToDate": "2019-06-27",
                "MinNight": "3"
            },
            {
                "RatePlanID": "123400000000000006",
                "FromDate": "2019-06-22",
                "ToDate": "2019-06-24",
                "MinNight": "3"
            }
        ]
    }
}

Response

NameData TypeDescriptionExample
Success.SuccessMsgGenerate Success Response MessageMin Nights Successfully Updated
Errors.ErrorCodeResponse Error Code122, 127 etc
Errors.ErrorMessageGenerate Response MessageMinNight value is missing

Success

{    "Success": {
        "SuccessMsg": " Min Nights Successfully 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
105From Date is missing
106(From Date) – From Date is not a valid date
107To Date is missing
108(To Date) – To Date is not a valid date
109From Date (From Date) To Date : (To Date) – Please check From and To date. To Date should be greater than fromdate
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
122Rate Plan ID is missing
127MinNight value is missing
128Invalid MinNight value

Rates & Availability

Update Max Nights

This API helps you to update maximum nights for specific date ranges for a property. With this feature, you can restrict the availability of a room, by specifying a maximum length of stay if the reservation includes a certain date.

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 “UpdateMaxNights”
HotelCode *INT(11)Unique hotel code generated in the systemXXXX
AuthCode *VARCHAR(300)Unique code to enable the interface.XXXXXXXXXXXXXXXXX
RatePlanID *INT(20)Unique Rate Plan ID112500000000000001
FromDate *DATETIMEUpdate From date. [Format: yyyy-mm-dd]2020-06-25
ToDate *DATETIMEUpdate To date [Format: yyyy-mm-dd]2020-07-27
MaxNight *INT(11)MaxNight value2,5,10 etc

Request 

{    "RES_Request": {
        "Request_Type": "UpdateMaxNights",
        "Authentication": {
            "HotelCode": "xxxx",
            "AuthCode": "xxxxxxxxxxxx"
        },
        "RatePlan": [
            {
                "RatePlanID": "123400000000000001",
                "FromDate": "2019-06-25",
                "ToDate": "2019-06-27",
                "MaxNight": "3"
            },
            {
                "RatePlanID": "123400000000000006",
                "FromDate": "2019-06-22",
                "ToDate": "2019-06-24",
                "MaxNight": "3"
            }
        ]
    }
}

Response

NameData TypeDescriptionExample
Success.SuccessMsgGenerate Success Response MessageMax Nights Successfully Updated
Errors.ErrorCodeResponse Error Code122, 127 etc
Errors.ErrorMessageGenerate Response MessageMaxNight value is missing

Success

 {    "Success": {
        "SuccessMsg": " Max Nights Successfully 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
105From Date is missing
106(From Date) – From Date is not a valid date
107To Date is missing
108(To Date) – To Date is not a valid date
109From Date (From Date) To Date : (To Date) – Please check From and To date. To Date should be greater than fromdate
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
122Rate Plan ID is missing
127MaxNight value is missing
128Invalid MaxNight value

Rates & Availability

Retrieve Room Rates with Source details

This API provides room types, rate types, rate plans and source information for a property. 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 “Separatesourcemapping”
HotelCode *INT(11)Unique Hotel codeXXXX
AuthCode *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX

Request 

{    
"RES_Request": {
           "Request_Type": "Separatesourcemapping",
           "Authentication": {
               "HotelCode": "xxxx",
               "AuthCode": "xxxxxxxxxxxxxxxxxxx"
           }
    }
}

Response

NameData TypeDescription Example
RoomType->IDIntegerId of room type2700000000000001
RoomType->NameStringName of room typeSuite
RateType->IDIntegerId of rate type2700000000000003
RateType->NameStringName of rate typeNon Refundable
RatePlan->RatePlanIDIntegerRate Plan Id of rate plan2700000000000007
RatePlan->NameStringName of rate planKing RoomOnly
RatePlan->RoomTypeIDIntegerRoom type id2700000000000001
RatePlan->RoomTypeStringRoom TypeSuite
RatePlan->RateTypeIDIntegerRate Type Id2700000000000003
RatePlan->RateTypeStringRate TypeNon Refundable
Saparatechannelsource->Channel_nameStringIt is giving remarksOTA Common Pool
Saparatechannelsource->ChannelIDIntegerIt is giving reservation no.2700000000000096

Success

 {
     "RoomInfo": {
         "RoomTypes": {
             "RoomType": [
                 {
                     "ID": "2700000000000001",
                     "Name": "Suite"
                 },
             ]
         },
         "RateTypes": {
             "RateType": [
                 {
                     "ID": "2700000000000003",
                     "Name": "Non Refundable"
                 },
             ]
         },
         "RatePlans": {
             "RatePlan": [
                 {
                     "RatePlanID": "2700000000000007",
                     "Name": "King RoomOnly",
                     "RoomTypeID": "2700000000000001",
                     "RoomType": "Suite",
                     "RateTypeID": "2700000000000003",
                     "RateType": "Non Refundable"
                 },
             ]
         },
         "Saparatechannelsources": {
             "Saparatechannelsource": {
                 "Channel_name": "OTA Common Pool",
                 "ChannelID": "2700000000000096"
             }
         }
     },
     "Errors": {
         "ErrorCode": "0",
         "ErrorMessage": "Success"
     }
 }

Error

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

Error Codes

Error CodeError Name
202Unauthorized request. Hotel code is not active
201Unauthorized request.Separatesourcemapping request is not valid for this hotel code
100Missing required parameters.
502Request Type is missing
301Unauthorized Request. Please check hotel code and authentication code
303Auth Code is inactive.

Rates & Availability

Update Non Linear Rate

This API provides a provision to set up occupancy based rates for a specified date range in any property. You must specify property’s rates based on combination of room type ID and rate type ID. In the non-linear pricing strategy, you’ll be able to levy your room charges as per the number of adults and children staying in a room. Naturally, the charges of adults and children will be separately configured.

Example : The base price of your room is $3000 for two adults and a child to stay in the room. If the guests bring in one extra child, you can charge an additional $300. If the guest bring in another child, you can charge in another $400. It goes the same for extra adults as well.

The non-linear price rate is flexible and can be edited to suit the requirements of your guests. 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 “UpdateRoomRatesNL”
HotelCode *INT(11)Unique hotel code generated in the system.XXXX
AuthCode *VARCHAR(300)Unique code to enable the interfaceXXXXXXXXXXXXXXXXX
Sources-> ContactIdVARCHAR(100)Source Unique ID112500000000000001
RateType -> RoomTypeID *INT(20)Unique RoomType ID112500000000000001
RateType -> RateTypeID *INT(20)Unique RateType ID112500000000000001
RateType ->
FromDate *
DATETIMEUpdate From date.2020-06-25
RateType ->
ToDate *
DATETIMEUpdate To date2020-07-27
RateType ->
RoomRate ->
Base *
DECIMAL(19,4)Base rate amount4000, 1000 etc
RateType ->
RoomRate ->
ExtraAdult
DECIMAL(19,4)Extra adult rate amount [optional]1000,800 etc
RateType ->
RoomRate ->
ExtraChild
DECIMAL(19,4)Extra child rate amount [optional]500, 200 etc
RateType ->
RoomRate ->
Adult1 – Adult7
DECIMAL(19,4)Rate amount for upto 7 Adults [optional]500, 200 etc
RateType ->
RoomRate ->
Child1 – Child7
DECIMAL(19,4)Rate amount for upto 7 Childs [optional]500, 200 etc

Request 

{    "RES_Request": {
        "Request_Type": "UpdateRoomRatesNL",
        "Authentication": {
            "HotelCode": "xxxx",
            "AuthCode": "xxxxxxxxxxxxxxxx"
        },
        "Sources": {
            "ContactId": [
                "112400000000000873",
                "112400000000000087"
            ]
        },
        "RateType": [
            {
                "RoomTypeID": "112400000000000003",
                "RateTypeID": "112400000000000001",
                "FromDate": "2019-08-07",
                "ToDate": "2019-08-07",
                "RoomRate": {
                    "Base": "300",
                    "ExtraAdult": "100",
                    "ExtraChild": "70",
                    "Adult1": "100",
                    "Adult2": "200",
                    "Adult3": "300",
                    "Adult4": "400",
                    "Adult5": "500",
                    "Adult6": "600",
                    "Adult7": "700",
                    "Child1": "100",
                    "Child2": "200",
                    "Child3": "300",
                    "Child4": "400",
                    "Child5": "500",
                    "Child6": "600",
                    "Child7": "700"
                }
            },
            {
                "RoomTypeID": "112400000000000002",
                "RateTypeID": "112400000000000001",
                "FromDate": "2019-08-07",
                "ToDate": "2019-08-07",
                "RoomRate": {
                    "Base": "300",
                    "ExtraAdult": "100",
                    "ExtraChild": "70",
                    "Adult1": "100",
                    "Adult2": "200",
                    "Adult3": "300",
                    "Adult4": "400",
                    "Adult5": "500",
                    "Adult6": "600",
                    "Adult7": "700",
                    "Child1": "100",
                    "Child2": "200",
                    "Child3": "300",
                    "Child4": "400",
                    "Child5": "500",
                    "Child6": "600",
                    "Child7": "700"
                }
            }
        ]
    }
}

Response

NameData TypeDescriptionExample
Success.SuccessMsgGenerate Success ResponseRoom Rates Successfully Updated
Errors.ErrorCodeResponse Error Code104, 121 etc
Errors.ErrorMessageGenerate Response MessageNo Rates to update

Success

{    "Success": {
        "SuccessMsg": " Room Rates Successfully Updated"
    },
    "Errors": {
        "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
103Room type is missing
104Rate type is missing
105From Date is missing
106(From Date) – From Date is not a valid date
107To Date is missing
108(To Date) – To Date is not a valid date
109From Date (From Date) To Date : (To Date) – Please check From and To date. To Date should be greater than fromdate
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
113Invalid base rate
114Invalid extra adult rate
115Invalid extra child rate
121No Rates to update
135Invalid rate for any between adult1 to adult7

Rates & Availability

Update Linear Rate

This API provides a provision to set up linear rates for a specified date range in any property. You must specify property’s rates based on a combination of room type ID and rate type ID. In the linear pricing strategy, you can apply a linear rate to your base price.

Example : The base price of your room is $3000 for two adults and a child to stay in the room. If any of your guests want to use the same room with an extra adult and child, then the rate will increase by a fixed amount.

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 “UpdateRoomRates”
HotelCode *INT(11)Unique hotel code generated in the system.XXXX
AuthCode *VARCHAR(300)Unique code to enable the interfaceXXXXXXXXXXXXXXXXX
Sources-> ContactIdVARCHAR(100)Source Unique ID112500000000000001
RateType -> RoomTypeID *INT(20)Unique RoomType ID112500000000000001
RateType -> RateTypeID *INT(20)Unique RateType ID112500000000000001
RateType -> 
FromDate *
DATETIMEUpdate From date.2020-06-25
RateType ->
ToDate *
DATETIMEUpdate To date2020-07-27
RateType ->
RoomRate -> 
Base *
DECIMAL(19,4)Base rate amount4000, 1000 etc
RateType ->
RoomRate ->
ExtraAdult
DECIMAL(19,4)Extra adult rate amount [optional]1000,800 etc
RateType ->
RoomRate ->
ExtraChild
DECIMAL(19,4)Extra child rate amount [optional]500, 200 etc

Request 

 {    
"RES_Request": {
        "Request_Type": "UpdateRoomRates",
        "Authentication": {
            "HotelCode": "xxxx",
            "AuthCode": "xxxxxxxxxxxxxxxxx"
        },
       "Sources": {
            "ContactId": [
                "112400000000000873",
                "112400000000000087"
            ]
        },
        "RateType": [
            {
                "RoomTypeID": "112400000000000003",
                "RateTypeID": "112400000000000002",
                "FromDate": "2019-06-20",
                "ToDate": "2019-06-25",
                "RoomRate": {
                    "Base": "159"
                }
            },
            {
                "RoomTypeID": "112400000000000003",
                "RateTypeID": "112400000000000002",
                "FromDate": "2019-06-02",
                "ToDate": "2019-06-06",
                "RoomRate": {
                    "Base": "159",
                    "ExtraAdult": "80",
                    "ExtraChild": "50"
                }
            }
        ]
    }
}

Response

NameData TypeDescriptionExample
Success.SuccessMsgGenerate Success ResponseRoom Rates Successfully Updated
Errors.ErrorCodeResponse Error Code104, 113 etc
Errors.ErrorMessageGenerate Response MessageInvalid base rate

Success

 {    "Success": {
        "SuccessMsg": "Room Rates Successfully Updated"
    },
    "Errors": {
        "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
103Room type is missing
104Rate type is missing
105From Date is missing
106(From Date) – From Date is not a valid date
107To Date is missing
108(To Date) – To Date is not a valid date
109From Date (From Date) To Date : (To Date) – Please check From and To date. To Date should be greater than fromdate
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
113Invalid base rate
114Invalid extra adult rate
115Invalid extra child rate
121No Rates to update

Rates & Availability

Update Room Inventory

This API provides a provision to update Room(s) Inventory for the specified date range in any property. You must specify a property’s available inventory based on a room type ID. You can’t specify availability at rate plan level, even if the room type has multiple rates plans.

Example : If room type A  is available 10 times, you can’t specify that it can be sold 3 times for rate plan X, and 7 times for rate plan Y. You can only specify the total availability for room type A as 10.

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 “UpdateAvailability”
HotelCode *INT(11)Unique Hotel codeXXXX
AuthCode *VARCHAR(300)Unique Authentication codeXXXXXXXXXXXXXXXXX
RoomTypeID *INT(20)Unique RoomType ID112500000000000001
FromDate *DATETIMEUpdate From date.2020-07-25
ToDate * DATETIMEUpdate To date [Format: yyyy-mm-dd]2020-07-27
Availability *IntegerNo. of Inv. Count5, 10 , 50 etc

Request 

 {    "RES_Request": {
        "Request_Type": "UpdateAvailability",
        "Authentication": {
            "HotelCode": "xxxx",
            "AuthCode": "xxxxxxxxxxxx"
        },                 
        "RoomType": [
            {
                "RoomTypeID": "112400000000000002",
                "FromDate": "2019-06-24",
                "ToDate": "2019-06-30",
                "Availability": "9"
            },
            {
                "RoomTypeID": "112400000000000002",
                "FromDate": "2019-06-14",
                "ToDate": "2019-06-20",
                "Availability": "9"
            }
        ]
    }
}

Response

NameData TypeDescriptionExample
Success.SuccessMsgGenerate Success ResponseRoom Inventory Successfully Updated
Errors.ErrorCodeResponse Error Code301, 404 etc
Errors.ErrorMessageGenerate Response MessageUpdate operation is not allowed

Success

 {    "Success": {
        "SuccessMsg": "Room Inventory Successfully Updated"
    },
    "Errors": {
        "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
103Room type is missing
105From Date is missing
106(From Date) – From Date is not a valid date
107To Date 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
110Inventory value is missing
111Invalid inventory value
108(To Date) – To Date is not a valid date
109From Date (From Date) To Date : (To Date) – Please check From and To date. To Date should be greater than fromdate
134All Source(s) are using inventory of other source, thefore no update will be allowed.

Configuration

Retrieve Room Information

This API provides room types, rate types and rate plans information for a property. 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 “RoomInfo”
NeedPhysicalRoomsINT(2)If you need Room data, then put it “1”.
It is optional
1 / 0
HotelCode *INT(11)Unique Hotel codexxxx
AuthCode *VARCHAR(300)Unique Authentication codexxxxxxxxxx

Request 

 {    
            "RES_Request": {
            "Request_Type": "RoomInfo",
            "NeedPhysicalRooms":1,
            "Authentication": {
                "HotelCode": "xxxx",
                "AuthCode": "xxxxxxxxxxxx"
            }
    }
} 

Response

NameData TypeDescriptionExample
RoomType.IDIntegerUnique RoomType ID1234500000000000001
RoomType.NameStringRoomType NameGarden View Studio Room
RoomType.Rooms.
RoomID
IntegerRoom Unique ID1234500000000000001
RoomType.Rooms.
RoomName
StringRoom Number/Name101
RateType.IDIntegerUnique RateType ID1234500000000000001
RateType.NameStringRateType NameEuropean Plan
RatePlan.RatePlanIDIntegerUnique RatePlan ID1234500000000000001
RatePlan.NameStringRatePlan NameGarden View Studio Room
RatePlan.RoomTypeIDIntegerRoomType ID1234500000000000001
RatePlan.RoomTypeStringRoomType NameGarden View Studio Room
RatePlan.RateTypeIDIntegerRateType ID1234500000000000001
RatePlan.RateTypeStringRateType NameEuropean Plan
Errors.ErrorCodeResponse Error Code301, 404 etc
Errors.ErrorMessageGenerate Response MessageSuccess, Unauthorized Request etc.

Success

 {  "RoomInfo": {
    "RoomTypes": {
      "RoomType": [
        {
          "ID": "1234500000000000001",
          "Name": "Sea View Deluxe Room",
          "Rooms": [
           {
               "RoomID": "1234500000000000001",
               "RoomName": "101"
           },
          {
                "RoomID": "1234500000000000002",
                "RoomName": "102"
          }
        },
        {
          "ID": "1234500000000000002",
          "Name": "Garden View Studio Room",
          "Rooms": [
           {
                 "RoomID": "1234500000000000004",
                 "RoomName": "201"
            },
           {
                "RoomID": "1234500000000000005",
                "RoomName": "202"
           }
        }
      ]
    },
    "RateTypes": {
      "RateType": [
        {
          "ID": "1234500000000000001",
          "Name": "European Plan"
        },
        {
          "ID": "1234500000000000002",
          "Name": "Continental Plan"
        },
        {
          "ID": "1234500000000000005",
          "Name": "Indian Plan"
        }
      ]
    },
    "RatePlans": {
      "RatePlan": [
        {
          "RatePlanID": "1234500000000000001",
          "Name": "Sea View Deluxe Room",
          "RoomTypeID": "1234500000000000001",
          "RoomType": "Sea View Deluxe Room",
          "RateTypeID": "1234500000000000001",
          "RateType": "European Plan",
          "RatePlanType": "INDEPENDENT"
        },
        {
          "RatePlanID": "1234500000000000015",
          "Name": "Garden View Studio Room",
          "RoomTypeID": "1234500000000000002",
          "RoomType": "Garden View Studio Room",
          "RateTypeID": "1234500000000000001",
          "RateType": "European Plan",
          "RatePlanType": "MASTER"
        }
      ]
    }
  },
  "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
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

Click here to Register