Travel Portal Development, Travel Portal Solution, Travel Whitelabel

Property Description

Use the information provided in this API to enhance your property description or to improve mapping between suppliers. The response includes high-level details about each property. This response is in JSONL format and is gzipped. The schema of each JSON object in the JSONL file is a subset of the schema of each JSON object from the Property Content call.

Parameters

Name

Description

Accept

string

( header )

*required application/json

Accept - Encoding

string

( header )

*required gzip

Authorization

string

( header )

*required Your PID

*required Your API Key

Customer-Ip

string

( header )

*required IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

Definition and request parameters for hotel details

action

string

( query )

*required "hotelDetails" as a parameter

ResultIndex

string

( query )

*required the resultIndex of the property you want to gather information for.

hotelId

string

( query )

*required the ID of the property you want to gather information for.

TraceId

string

( query )

*required The TraceId of the property you want to gather information for.

Trace id is valid for 15 Minutes only and should be same throughout the booking process.

REQUEST

API Endpoint: https://www.abengines.com/api/v1/travel-api/hotels/

header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-YOUR-PID',
'x-api-key:'ADD-YOUR-KEY'
);

POST: 
{
  "action": "hotelDetails",
  "mode": "Test",
  "ResultIndex": "3",
  "hotelId": "31620301",
  "TraceId": "a89bfa2b-936b-4e82-8ca4-c9aa55a947e7"
}
					 

Response

The API returns an HTTP response, which generally includes the result of the request invocation

{
  "status": "200",
  "status_message": "OK",
  "responseData": {
  "HotelInfoResult": {
    "ResponseStatus": 1,
    "Error": {
      "ErrorCode": 0,
      "ErrorMessage": ""
    },
    "TraceId": "a89bfa2b-936b-4e82-8ca4-c9aa55a947e7",
    "HotelDetails": {
      "HotelCode": "31620301",
      "HotelName": "Moustache Delhi",
      "StarRating": 1,
      "HotelURL": null,
      "Description": "
location: 
 Located in the Delhi in a residential area, this hotel is actually on the main ring road of Delhi with easy access to the airport and city centre. The metro is 10 mins walk away.  

rooms: 
 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.  

restaurant: 
 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.  

exterior: 
 This hotel was opened in 1992 and is a low rise modern building.  
lobby: 
 The lobby is small and furnished in simple, modern style.  
general: 
 This hotel is suitable for all markets, especially those on a budget looking for a hotel that does not resemble a budget hotel. 030807JG  
",
      "Attractions": [
        {
          "Key": "1) ",
          "Value": "10 kms to city centre"
        },
        {
          "Key": "2) ",
          "Value": "15 kms to the nearest airport (schiphol airport)"
        },
        {
          "Key": "3) ",
          "Value": "15 minute walk to the nearest metro station (gaasperplas)"
        },
        {
          "Key": "4) ",
          "Value": "10 km to the nearest station (central station)"
        },
        {
          "Key": "5) ",
          "Value": "5 minute walk to the nearest bus stop"
        },
        {
          "Key": "6) ",
          "Value": "10 km to the nearest fair site (rai)"
        }
      ],
      "HotelFacilities": [
        "Small sized lobby",
        "Earliest check-in at 14:00",
        "2 lifts",
        "3 floors",
        "Coach parking",
        "Car parking (Payable to hotel, if applicable)",
        "Tennis",
        "Baby sitting",
        "Disabled facilities"
      ],
      "HotelPolicy": null,
      "SpecialInstructions": null,
      "HotelPicture": null,
      "Images": [
        "http://b2b.tektravels.com/imageresource.aspx?img=hpRBSdtPJNrQuwRo5I/exPbdtjJGoRI2R1Qo2/ mGLJmyqx45ZoqbxPjvgo2rvQho2ca1RGY2hWEfquloiGzaCA==",
        "http://b2b.tektravels.com/imageresource.aspx?img=hpRBSdtPJNrQuwRo5I/exPbdtjJGoRI2R1Qo2/ mGLJmyqx45ZoqbxPjvgo2rvQhoDizplENpfVb822OetiqfIg==",
        "http://b2b.tektravels.com/imageresource.aspx?img=hpRBSdtPJNrQuwRo5I/exPbdtjJGoRI2R1Qo2/ mGLJmyqx45ZoqbxPjvgo2rvQho4qr9ZiEedRCyAtDGrZD/Og==",
        "http://b2b.tektravels.com/imageresource.aspx?img=hpRBSdtPJNrQuwRo5I/exPbdtjJGoRI2R1Qo2/ mGLJmyqx45ZoqbxPjvgo2rvQhoCHy8YYNr91c8R5UcAzWheg==",
        "http://b2b.tektravels.com/imageresource.aspx?img=hpRBSdtPJNrQuwRo5I/exPbdtjJGoRI2R1Qo2/ mGLJmyqx45ZoqbxPjvgo2rvQho2cIT7qTX5R24fA8OVhM0SQ==",
        "http://b2b.tektravels.com/imageresource.aspx?img=hpRBSdtPJNrQuwRo5I/exPbdtjJGoRI2R1Qo2/ mGLJmyqx45ZoqbxPjvgo2rvQhoHthWAZEK/8aGZt0Ha4eeyA==",
        "http://b2b.tektravels.com/imageresource.aspx?img=VXg3tLzKw7A="
      ],
      "Address": "D-920, New Friends Colony,New Delhi,Delhi,IN",
      "CountryName": "India",
      "PinCode": null,
      "HotelContactNo": "91-11-3121416",
      "FaxNumber": "91-11-3121465",
      "Email": null,
      "Latitude": "28.56442",
      "Longitude": "77.26796",
      "RoomData": null,
      "RoomFacilities": null,
      "Services": null
    }
  }
}
}