ITT Flight API (1.0.0)

Download OpenAPI specification:

Flight API endpoints converted from Postman collection.

Flight

Flight search, pricing, booking, ancillaries and post-booking flows.

Flight Search & Pricing

Search flights OneWay

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
journey_type
required
string
Enum: "OneWay" "RoundTrip" "Multicity"
required
object
required
object
property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "journey_type": "OneWay",
  • "segment": [
    ],
  • "travelers_adult": 1,
  • "travelers_child": 0,
  • "travelers_infants": 0,
  • "preferred_carrier": [
    ],
  • "non_stop_flight": "any",
  • "baggage_option": "any",
  • "booking_class": "Economy",
  • "supplier_uid": "all",
  • "partner_id": "1",
  • "language": "en"
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "data": {
    },
  • "message": "Flights found successfully.",
  • "value": {
    }
}

Get branded fare options for a flight

If the get_branded_fare value is yes. You need to call branded fare api for RoundTrip both flight and pass the value in array from all flight options. If the get_branded_fare value is no. You need to call branded fare api for RoundTrip only selected flight and pass the value in array from selected flight options.

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
member_id
required
string
tracking_id
required
string
flight_key
required
string
result_type
required
string
connected_flight_key
string or null
connected_brand_option
string or null

Responses

Request samples

Content type
application/json
{
  • "member_id": "1",
  • "tracking_id": "11174158960526193",
  • "flight_key": "F1ZT00006-2",
  • "result_type": "general",
  • "connected_flight_key": "",
  • "connected_brand_option": ""
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "data": {
    },
  • "message": "Branded fare options retrieved successfully.",
  • "value": {
    }
}

Validate selected itinerary and pricing

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
member_id
required
string
result_type
required
string
data
required
Array of arrays
object
property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "member_id": "1",
  • "result_type": "general",
  • "data": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "is_warning": "no",
  • "reason": null,
  • "reason_admin": null,
  • "search": {
    },
  • "booking_tracking_id": "11177139214226194U5TSM",
  • "tracking_id": "11177139202626194TS42Z",
  • "flight_key": null,
  • "price_change": "up",
  • "search_price": {
    },
  • "validation_price": {
    },
  • "additional_services": [
    ],
  • "session_expire": {
    },
  • "serviceCharge": {
    },
  • "data": {
    },
  • "terms": {
    },
  • "cancellation_terms": {
    },
  • "search_parameter": {
    },
  • "isDomestic_Flight": true,
  • "passenger_data": null,
  • "available_addon_service": {
    }
}

Get validation status for a booking

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
booking_traking_id
required
string
member_id
required
string
property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "booking_tracking_id": 11172835977626192,
  • "member_id": "1"
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "re_price_status": null,
  • "reason": null,
  • "reason_admin": null,
  • "price_change": "up",
  • "tracking_id": "11177139202626194TS42Z",
  • "booking_tracking_id": "11177139214226194U5TSM",
  • "flight_key": null,
  • "currency": "BDT",
  • "total_amount": 5452.32,
  • "search_price": {
    },
  • "validation_price": {
    },
  • "additional_services": [
    ],
  • "session_expire": {
    },
  • "serviceCharge": {
    },
  • "data": {
    },
  • "search_parameter": {
    },
  • "isDomestic_Flight": true,
  • "passenger_data": [ ],
  • "seat_selection_required": null,
  • "meal_selection_required": null,
  • "baggage_selection_required": null,
  • "baggage_data": [ ],
  • "meal_data": [ ],
  • "seat_data": [ ],
  • "baggage_protection_selection_required": "disable",
  • "baggage_protection_data": [ ],
  • "discount_data": [ ],
  • "ancillary_services_validation": {
    },
  • "terms": {
    },
  • "cancellation_terms": {
    }
}

Passenger & Ancillaries

Update passenger details in a booking

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
booking_tracking_id
required
string

Booking tracking ID from previous step

member_id
required
string

Member account ID

save_pax
string

Save passenger information for future booking

required
Array of objects

Passenger list

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "booking_tracking_id": "6911771481303261946AGZX",
  • "member_id": "1",
  • "save_pax": "yes",
  • "passenger": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "reason": "Passenger data has been successfully updated. ",
  • "tracking_id": "11177139214226194U5TSM",
  • "total_guest": 1,
  • "Final_Supplier_Pax_Data": null,
  • "price_status": {
    },
  • "data": [
    ]
}

Get available baggage options

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
booking_tracking_id
required
string

Unique booking tracking ID

member_id
string

Member account ID

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "Get baggage options": {
    }
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "reason": "baggage option available.",
  • "currency": "BDT",
  • "Book_option": "Pre Booking available",
  • "data": {
    },
  • "json_file": "/var/www/test/logs_data/flight_logs/11177304475068881NMEBB/baggage_options_data.json"
}

Add or update baggage selections

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
booking_tracking_id
required
string

Booking tracking ID from booking step

member_id
string

Member account ID

pax_type
required
string

Passenger type (ADT = Adult, CNN = Child, INF = Infant)

pax_id
required
string

Passenger ID

required
Array of objects

Selected baggage options

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "booking_tracking_id": "71176110719926193FHWN5",
  • "member_id": "1",
  • "pax_type": "ADT",
  • "pax_id": "1",
  • "data": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "reason": "Your selected baggage selection has been successfully updated.",
  • "booking_tracking_id": "11177304475068881NMEBB",
  • "pax_id": "1",
  • "pax_type": "ADT",
  • "selected_baggage": [
    ],
  • "flight_baggage_options_data": {
    }
}

Get seat map and seat options

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
booking_tracking_id
required
string

Unique booking tracking ID

member_id
string

Member account ID

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "booking_tracking_id": "11172449017926193YNB5W",
  • "member_id": "1"
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "reason": "seat option available.",
  • "booking_tracking_id": "11177304475068881NMEBB",
  • "currency": "BDT",
  • "Book_option": "Pre Booking available",
  • "data": [
    ]
}

Update seat selections

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
booking_tracking_id
required
string

Unique booking tracking ID

member_id
string

Member account ID

Booking_id
required
string

Unique booking ID

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "tracking_id": "11169470175826238JXG6J",
  • "booking_id": "FL2314SEAAAE",
  • "member_id": "1"
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "reason": "Your selected seat selection has been successfully updated.",
  • "booking_tracking_id": "11177304475068881NMEBB",
  • "pax_id": "1",
  • "pax_type": "ADT",
  • "selected_seat": [
    ],
  • "flight_seat_options_data": [
    ]
}

Get available meal options

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
booking_tracking_id
required
string

Unique booking tracking ID

member_id
string

Member account ID

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "booking_tracking_id": "71176110719926193FHWN5",
  • "member_id": "1"
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "reason": "Meal option available.",
  • "currency": "BDT",
  • "data": [
    ],
  • "json_file": "/var/www/test/logs_data/flight_logs/11177304475068881NMEBB/meal_options_data.json"
}

Update selected meals

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
booking_tracking_id
required
string

Booking tracking ID from booking step

member_id
string

Member account ID

pax_type
required
string

Passenger type (ADT = Adult, CNN = Child, INF = Infant)

pax_id
required
string

Passenger ID

required
Array of objects

Selected Meal options

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "booking_tracking_id": "71176110719926193FHWN5",
  • "member_id": "1",
  • "pax_type": "ADT",
  • "pax_id": "1",
  • "data": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "reason": "Your selected meal selection has been successfully updated.",
  • "debug": null,
  • "booking_tracking_id": "11177304475068881NMEBB",
  • "pax_id": "1",
  • "pax_type": "ADT",
  • "selected_meal": [
    ],
  • "flight_meal_options_data": [
    ]
}

Booking Management

Create a flight booking

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
booking_tracking_id
required
string

Booking tracking ID from previous step

member_id
string

Member account ID

isd_code
required
string

Country ISD code for contact number

contact_no
required
string

Contact number of the passenger

email_address
required
string <email>

Passenger email address

payment_type
required
string

Payment method (e.g., account_balance, card, bKash, etc.)

redirect_url
required
string <url>

URL to redirect after successful payment

property name*
additional property
any

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "reason": "The booking has been successfully created, and it is associated with the Booking Id FL2317OCAA6P.",
  • "general": {
    },
  • "booking": {
    },
  • "price": {
    },
  • "flight": {
    },
  • "pax": {
    },
  • "partner": {},
  • "supplier": {
    }
}

Booking details

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
booking_tracking_id
required
string

Unique booking tracking ID

member_id
string

Member account ID

Booking_id
required
string

Unique booking ID

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "tracking_id": "71176482474026194FH3BA",
  • "booking_id": "",
  • "member_id": "1"
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "reason": "Booking Details For Tracking Id 119177311942703210WDEPJ",
  • "tracking_id": "119177311942703210WDEPJ",
  • "booking_id": "FL2610MAPSA3D7",
  • "pay_tracking_id": null,
  • "sendGTMEvent": false,
  • "general": {
    },
  • "changeLogs": [ ],
  • "voucher": {},
  • "action": {
    },
  • "voidRefundData": [ ],
  • "reIssueData": [ ],
  • "booking": {
    },
  • "price": {
    },
  • "bookingPaymentRequestDtata": [ ],
  • "syncData": {
    },
  • "flight": {
    },
  • "additional_baggage": [ ],
  • "additional_meal": [ ],
  • "pax_seat_plan": [ ],
  • "baggage_protection": [ ],
  • "additional_services": [ ],
  • "discount_data": [ ],
  • "pax": {
    },
  • "invoice_data": [ ],
  • "refund_status_list": [
    ],
  • "refund_data": [ ],
  • "partner": {},
  • "supplier": {
    },
  • "terms": {
    },
  • "cancellation_terms": {
    },
  • "special_notice_status": "disable",
  • "special_notice": null
}

Issue tickets for a validated booking

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
member_id
required
string

Logged in user member ID (Required)

tracking_id
required
string

Tracking ID received from Booking response (Required)

price_change_accepted
required
string

Accept price change if fare updated (yes / no) (Required)

notes
string

Additional notes (Optional)

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "member_id": "1",
  • "tracking_id": "11173813342526193WAN5G",
  • "price_change_accepted": "no",
  • "notes": "not required"
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "reason": "Ticket Issued Successfully",
  • "reason_admin": "Ticket Issued Successfully",
  • "InnoPush": true,
  • "tracking_id": "186177260842803210UESNA",
  • "booking_status": "confirm",
  • "pax_ticket_data": null,
  • "supplier_confirmation_id": "EK176HNBQNWA4",
  • "past_booking_details": {
    },
  • "Execute_Data": {
    }
}

Cancel a flight booking

Authorizations:
(apiKeyAuthsecretCodeAuth)
Request Body schema: application/json
required
member_id
string

Logged-in user member ID

tracking_id
required
string

Booking tracking ID to cancel

reason
string

Reason for cancellation (optional)

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "member_id": "1",
  • "tracking_id": "11173813474126193F9NJX",
  • "reason": "not required"
}

Response samples

Content type
application/json
Example
{
  • "status": "success",
  • "reason": "Flight Reservation has been successfully canceled. ",
  • "reason_admin": null,
  • "tracking_id": "117177260916803210FDXFU",
  • "supplier_confirmation_id": null,
  • "past_booking_details": {
    },
  • "supplier_response": {
    }
}
Back to Portal