SIDEBAR SKINS

HEADER SKINS



Hotel APIs


Get started with our API with ease using our user-friendly and detailed API Documentation

PostMan
Postman Collection
PostMan
Android App Code
PostMan
PHP Sample Code


POST URL
Example Request  
    
    { 
        " CheckInDate "  : 23/06/2020 ,  
        " NoOfNights "   : 1 , 
        " CountryCode "  :  IN , 
        " CityId "  :  130443 , 
        " ResultCount "   : null ,
        " PreferredCurrency "  :  INR ,
        " GuestNationality ": :  IN ,
        " NoOfRooms "  :  1 ,
        " RoomGuests "  :  [
        { 
        " NoOfAdults "  :  1 ,
        " NoOfChild "   : 1 ,
        " ChildAge "  :  null ,
        }
        ]
        " MaxRating "  :  5 ,
        " MinRating "  :  0 ,
        " ReviewScore "  :  Null ,
        " IsNearBySearchAllowed "  :  Null ,
        " EndUserIp "  :  123.1.1.1 ,
        " TokenId "  :  dbfa92dd-75cb-4948-8718-d5794f1d3211 ,
    }
    
Example Response  
    { 
        " HotelSearchResult " : { 
        " ResponseStatus "  : 1 , 
        " Error "  : {
        " ErrorCode "  : 0 ,
        " ErrorMessage "  : " " ,
        }
        " TraceId "  : "2809b183-7aa9-4f76-8df3-38011515693d" ,
        " CityId "  : 130443 ,
        " CheckInDate "  : "2020-06-23" ,
        " CheckOutDate "  : "2020-06-24" ,
        " PreferredCurrency "  : "INR" ,
        " NoOfRooms "  : 1 ,
        " RoomGuests "  : [
        {
              " NoOfAdults "  : 1 ,
              " NoOfChild "  : 0 ,
              " ChildAge "  : "null" ,
            }
              ]
              " HotelResults"  : [
              {
              " ResultIndex "  : 2 ,
              " HotelCode "  : "ACR1|AMS" ,
              " HotelName "  : "Tulip Inn Amsterdam Riverside" ,
              " HotelCategory "  : " " ,
              " StarRating"  : 3 ,
              " HotelDescription "  : "Located in the outskirts of Amsterdam in a residential area, this hotel is actually on the main ring road of Amsterdam with easy access to the airport and city centre. The metro is 10 mins walk away. The medium-sized bedrooms are in very good condition. There is a very tasteful, regal theme throughout, with all rooms containing a print of a royal crest and all furniture bearing a crown motif. The colour scheme is predominantly royal blue and all rooms have a small seating area and desk. Those bedrooms with French patio doors have been altered so that the doors only open a couple of inches. Whilst the front half of the restaurant maintains a light, airy and casual feel, the back half is more formal. Between the front and back of the restaurant is a brasserie- type room with wooden floors. The bar is also here. The whole atmosphere is that of a ship and is very easy on the eye. This hotel was opened in 1992 and is a low rise modern building. The lobby is small and furnished in simple, modern style. This hotel is suitable for all markets, especially those on a budget looking for a hotel that does not resemble a budget hotel. 030807JG " ,
              " HotelPromotion "  : " " ,
              " HotelPolicy "  : " " ,
              " Price "  : {
              " CurrencyCode "  : INR ,
               " RoomPrice "  : 4620 ,
              " tax "  : 0 ,
              " ExtraGuestCharge "  : 0 ,
              " ChildCharge "  : 0 ,
              " OtherCharges "  : 0 ,
              " Discoun "  : 0 ,
              " PublishedPrice "  : 4620 ,
              " PublishedPriceRoundedOff "  : 4620 ,
              " OfferedPrice "  : 4620 ,
              " OfferedPriceRoundedOff "  : 4620 ,
              " AgentCommission "  : 0 ,
              " AgentMarkUp "  : 0 ,
              " ServiceTax "  : 0 ,
              " TDS "  : 0 ,
              }
              " HotelPicture "  : "http://b2b.tektravels.com/imageresource.aspx?img=hpRBSdtPJNrQuwRo5I/exPbdtjJGoRI2R1Qo2/ mGLJmyqx45ZoqbxPjvgo2rvQho2ca1RGY2hWEfquloiGzaCA==",
              " HotelAddress "  : "PROVINCIALEWEG 38 1108 AB AMSTERDAM (SOUTH EAST) THE NETHERLANDS, , Netherlands, ",,
              " HotelContactNo "  : " " ,
              " HotelMap "  : null ,
              " Latitude "  : " " 
              " Longitude "  : " " ,
              " HotelLocation "  : null ,
              " TripAdvisor "  : {
              " Rating "  : 3.5 ,
              " ReviewURL "  : "http://www.tripadvisor.com/Hotel_Review-g188590-d230104-Reviews- m19454-Tulip_Inn_Amsterdam_Riverside-Amsterdam_North_Holland_Province.html" ,
              }
              " RoomDetails "  : [
              ]
              }
              {
              " ResultIndex "  : 32 ,
              " HotelCode "  : "TRI|AMS" ,
              " HotelName "  : "TRIANON" ,
              " HotelCategory "  :  " " ,
              " StarRating "  :  2 ,
              " HotelDescription   "  :  "The hotel is located in a quiet side street just off the Van Baerlestraat, in the best shopping area of Amsterdam. The concert hall is just next door, and the Rijks Museum, the Van Gogh Museum and the Stedelijk Museum are also very close by. Even the historical city centre and Leidseplein are within walking distance. The small bedrooms are furnished in simple, basic style, but some redecoration is needed. Both rooms and bathrooms are in fair condition. The hotel has a breakfast room only which is situated on the ground floor. The building itself dates from the 1920's and the exterior reflects the architectural style of that era. The lobby is medium sized and pleasantly decorated with distinct blue carpet. The lobby area leads to a cosy bar and lounge area with leather seating where smoking is permitted as it is not permitted in any of the other public areas. This hotel is ideal for individuals or small groups due to its ideal location. jg/03/2008 " ,
              " HotelPromotion "  :  " " ,
              " HotelPolicy "  :  " " ,
              " Price "  :  {
              " CurrencyCode "  :  "INR" ,
              " RoomPrice "  : 5637.5 ,
              " Tax "  :  0 ,
              " ExtraGuestCharge "  :  0 ,
              " ChildCharge "  :  0 ,
              " OtherCharges "  :  0 ,
              " Discount "  :  0 ,
              " PublishedPrice "  : 5637.5 ,
              " PublishedPriceRoundedOff "  :  5638 ,
              " OfferedPrice "  : 5637.5 ,
              " FaOfferedPriceRoundedOff "  :  5638 ,
              " AgentCommission "  : 0 ,
              " AgentMarkUp "  :  0 ,
              " ServiceTax "  :  0 ,
              " TDS "  : 0 ,
              }
              " HotelPicture "  :  "http://b2b.tektravels.com/imageresource.aspx?img=hpRBSdtPJNrQuwRo5I/exPbdtjJGoRI2R1Qo2/ mGLJmyqx45ZoqbxPjvgo2rvQhoCtnztIcLRaMmvQSGkMBiJw==" ,
              " HotelAddress "  :  "3 J W BROUWERSSTRAAT 1071 LH AMSTERDAM NETHERLANDS, , Netherlands, " ,
              " HotelContactNo "  : " " ,
              " HotelMap "  :  null ,
              " Latitude "  : " " ,
              " Longitude"  : " " ,
              " HotelLocation"  :  null ,
              " TripAdvisor"  :  {
              " Rating"  :  2 ,
              " ReviewURL"  : "http://www.tripadvisor.com/Hotel_Review-g188590-d239017-Reviews- m19454-Trianon_Hotel-Amsterdam_North_Holland_Province.html .
              }
              " RoomDetails"  :  [
            ]
            }  
            {
              " ResultIndex"  : 11 ,
              " HotelCode"  :  "BLU|AMS", 
              " HotelName"  :  Blue Tower , 
              " HotelCategory"  : " " , 
              " StarRating"  :  4 , 
              " HotelDescription  "  : "This hotel is located close to Amsterdams ring road, so it is within easy reach for those with their own transport. However, it is also very easily accessible on public transport from the airport and city centre. The hotel itself is surrounded by fast food restaurants and a large shopping centre. As this property only opened in June 2007, the bedrooms are in very good condition. They are all medium- to large-sized with cherry wood furniture, flat screen televisions and artwork on the walls. The bathrooms are modern and also in very good condition with black marble sinks, beige tiles and glass shower screens. All have both power showers and hand held showers and all have a bath, except the double rooms, which have very large power showers. There are safety deposit boxes large enough for laptops as well as air conditioning in all rooms, but there are no mini bars. Most twin rooms consist of two beds pushed together. All rooms are non smoking. The restaurant is located on the first floor and serves breakfast only. Group meals are available upon request. It is a very large and spacious area with cherry wood furniture, large windows and a large, modern, buffet area. This is a modern, purpose-built block, with a very blue exterior, giving the hotel its name. The lobby is very large and impressive with white faux leather seating, various other forms of seating, a black and white tiled floor and very attractive ceiling lighting that constantly changes colour. In the near future, a bar will be incorporated into this area but at the time of writing, this was not yet completed. This is a brand new hotel in Amsterdam and offers great value for money. It comes highly recommended. \n100708jg " ,
              " HotelPromotion "  :  " " , 
              " HotelPolicy "  :  " " , 
              " Price "  :  { 
              " CurrencyCode "  :  INR , 
              " RoomPrice "  :  5995 , 
              " Tax "  :  0 , 
              " ExtraGuestCharge "  :  0 , 
              " ChildCharge "  : 0 , 
              " OtherCharges "  : 0 ,  
              " Discount "  :  0 , 
              " PublishedPrice "  :  5995 , 
              " PublishedPriceRoundedOff "  :  5995 ,
              " OfferedPrice "  : 5995 , 
              " OfferedPriceRoundedOff "  : 5995 , 
              " AgentCommission "  : 0 , 
              " AgentMarkUp "  : 0 , 
              " ServiceTax "  : 0 , 
              " FTDS "  : 0,
              },
              " HotelPicture "  : "http://b2b.tektravels.com/imageresource.aspx?img=hpRBSdtPJNrQuwRo5I/exPbdtjJGoRI2R1Qo2/ mGLJmyqx45ZoqbxPjvgo2rvQhoWciL7OOka4fpQPaWw27nKg==" , 
              " HotelAddress "  :  "LEEUWENDALERSWEG 21 1055 JE AMSTERDAM Amsterdam NETHERLANDS Netherlands, , Netherlands, ", 
              " HotelContactNo "  : " " ,  
              " HotelMap "  : null ,  
              " Latitude "  : " " , 
              " Longitude "  : " " , 
              " HotelLocation "  :  null , 
              " TripAdvisor "  :  { 
              " Rating "  : 3.5t , 
              " ReviewURL "  :  "http://www.tripadvisor.com/Hotel_Review-g188590-d652518-Reviews- m19454-BEST_WESTERN_Blue_Tower_Hotel-Amsterdam_North_Holland_Province.html" , 
              }
              " RoomDetails "  : [
              ]
              }
              ]
              }
        }

Error Codes

Status Code Status Message
200 Success Request Successfully
400 Error Bad Request
401 Unauthorized Unauthorized User
402 Payment Payment Request
405 Error Method Not Allowed
408 Failed Request Timeout
503 Error Service Unavailable


Copyright � 2017 - 2023 Pay2kart. All Rights Reserved.