Access a Comprehensive Portfolio of Available Hotels
This method is used to obtain a HOTELS portfolio.
Parameters
Name
Description
Accept
string
( header )
*required application/json
Accept - Encoding
string
( header )
*required gzip
Authorization
string
( header )
*required Your API Key
*required Your PID 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.
action
string
( query )
*required "getHotelsList" as a parameter
destination_code
string
( query )
*required Atlas destination code
REQUEST
API Endpoint: https://www.abengines.com/api/v1/travel-api/transfer-booking/
header: array( 'Content-Type:application/json', 'Accept-encoding: gzip', 'PID:'ADD-PID-KEY', 'x-api-key:'ADD-API-YOUR-KEY' ); POST: { "action": "getHotelsList", "destination_code": "DEL" }
Response
The API returns an HTTP response, which generally includes the result of the request invocation
[ { "Name": "The Suryaa New Delhi", "atlas_code": "59410", "country_code": "IN", "destination_code": "DEL" }, { "Name": "The Imperial Delhi", "atlas_code": "59412", "country_code": "IN", "destination_code": "DEL" }, { "Name": "Metro Heights", "atlas_code": "59413", "country_code": "IN", "destination_code": "DEL" }, { "Name": "The Oberoi, New Delhi", "atlas_code": "61280", "country_code": "IN", "destination_code": "DEL" }, { "Name": "Maidens Hotel Delhi", "atlas_code": "61281", "country_code": "IN", "destination_code": "DEL" }, { "Name": "The Park New Delhi", "atlas_code": "82378", "country_code": "IN", "destination_code": "DEL" } ]