Access a Complete Portfolio of Available Terminals
This method is used to obtain a TERMINALS 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 "getTerminals" as a parameter
country_code
string
( query )
*required ISO 3166 (2 digit) country 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": "getTerminals", "country_code": "IN" }
Response
The API returns an HTTP response, which generally includes the result of the request invocation
[ { "Name": "Agra, Agra Airport", "Type": "A", "country_code": "IN", "atlas_code": "AGR" }, { "Name": "Ahmedabad, Sardar Vallabhbhai Patel Int. Airport", "Type": "A", "country_code": "IN", "atlas_code": "AMD" }, { "Name": "Amritsar, Sri Guru Ram Dass Jee Int. Airport", "Type": "A", "country_code": "IN", "atlas_code": "ATQ" }, { "Name": "Vadodara, Vadodara Airport", "Type": "A", "country_code": "IN", "atlas_code": "BDQ" } ]