Booking | GetExtendBundles

This is utilized for inquiring about the supplementary package details of the fundamental packages offered by specific airlines. At present, it is solely applicable to retrieving the value package of TR Airlines.

Notice:
Product Scope : TechHub

POST

/flight/booking

Parameter

Field Mandatory Type Scope Description
action required String GetExtendBundles
key required String API security key applied from AeroHub
signature required String Refer to Guideline to generate.
timestamp required Int The ‘timestamp’ field should be a 10-digit Unix timestamp in seconds, used for encryption and data verification.
version optional String API version information, e.g. 3.2.0
request required Object
  timeout optional String Maximum response time setting, by seconds. e.g. 10
  routingKey required String “routingKey” can be found in the field of “routings” from “GetAvailability”.
  fareKey required String “farekey” can be found in the field of “fromSegments” or “retSegments”, which are the return value of “GetAvailability”, for stopover, please use the character “^” for connection, and charater “I” to return.
  adultNumber required Int Adult number,Adult+Child maximum 9, must same to GetAvailability.
  childNumber required Int Child number,Adult+Child maximum 9, must same to GetAvailability.
  infantNumber required Int Infant number,maximum number depends on airline policy, must same to GetAvailability.
  routing required Object Routing information object from GetAvailability API.
    routeType required Int Data source type, 1,FareMarket 2, TechHub
    routingKey required String “routingKey” can be found in the field of “routings” from “GetAvailability”.
    data required String Encrypt data for AeroHub internal use.
    fromSegments required Object[] Object for departure route segments.
      depAirport required String Departure airport IATA 3-Letter Codes
      depTime required String Departure date and time, format: YYYYMMDDHHMM e.g. 201203100315 means 2012/03/10 03:15
      arrAirport required String Arrival airport IATA 3-Letter Codes
      arrTime required String Arrival date and time, format: YYYYMMDDHHMM e.g. 201203101305 means 2012/03/10 13:05
      flightNumber required String Flight number, e.g. CA123 if flight number begin with 0, must waived, e.g. CZ006 is return by CZ6
    retSegments required Object[] Object for return route segments.
      depAirport required String Departure airport IATA 3-Letter Codes
      depTime required String Departure date and time, format: YYYYMMDDHHMM e.g. 201203100315 means 2012/03/10 03:15
      arrAirport required String Arrival airport IATA 3-Letter Codes
      arrTime required String Arrival date and time, format: YYYYMMDDHHMM e.g. 201203101305 means 2012/03/10 13:05
      flightNumber required String Flight number, e.g. CA123 if flight number begin with 0, must waived, e.g. CZ006 is return by CZ6

Request_Example:

{
  "action": "GetExtendBundles",
  "version": "v2.0.3",
  "timestamp": 1685116516,
  "key": "mkk5VmNZYKiGEO26",
  "signature": "uaQb6MG71EAPTdmUoKpP+mlSh//2GRB8zOxCAzWok2w=",
  "request": {
    "timeout": 100,
    "fareKey": "Basic",
    "routingKey": "fl02023526617",
    "adultNumber": 2,
    "childNumber": 1,
    "infantNumber": 1,
    "routing": {
      "routeType": 2,
      "routingKey": "fl02023526617",
      "fromSegments": [
        {
          "arrAirport": "SIN",
          "arrTime": "202509190325",
          "depAirport": "PER",
          "depTime": "202509182155",
          "flightNumber": "TR17"
        }
      ],
      "retSegments": [],
      "data": "4QMRe2y2TW2+//HhL56FQWPwuzNvDTc9MzOAFd7LTWyA4NbVOi1tymd6chdl6jPEA0vYQqIcy0Z9hUd3JXacDuwTMvZlBUXzmmbzNHXsL4yHjPh+Yojnw+zl59JU8qL1H9UVVRHXyMTs2oo6wLzA/wabH/GY5GSpXEmrB9mcOxAhj9pXxK/7bd6e28uG2kcl"
    }
  }
}

Response

Refer to the return results of the GetAvailability api.

Status Code

Refer to the error code of the GetAvailability api.

Author:AeroHub  Create time:2025-08-25 10:17
Last editor:AeroHub  Update time:2025-09-02 16:54