Booking | AirPricing
AirPricing provides fare validation for routes specified in the request.
The routing in request is retrieved from GetAvailability / LowFareSearch, the data will be invalid after a specific time, normally 30 minutes.
Notice:
Product Scope : TechHub, FareMarket
POST
/flight/booking
Parameter
Field | Mandatory | Type | Scope | Description |
---|---|---|---|---|
action | required |
String | AirPricing | |
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 | ||
adultNumber | required |
Int | Adult number,Adult+Child maximum 9, must same to GetAvailability. | |
childNumber | optional |
Int | Child number,Adult+Child maximum 9, must same to GetAvailability. | |
infantNumber | optional |
Int | Infant number,maximum number depends on airline policy, must same to 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. | |
routingKey | required |
String | “routingKey” can be found in the field of “routings” from “GetAvailability”. | |
timeout | optional |
String | Maximum response time setting, by seconds. e.g. 10 | |
routing | required |
Object | Routing information object from GetAvailability API. |
Request_Example:
{ "action": "AirPricing", "key": "n93mPT7WzN6cLKC2", "signature": "YhQ2EoBQOfOnf/EOnuuuK5i+K+ncydeQhjFpoXYiEMo=", "timestamp": 1685116516, "request": { "fareKey": "861276-202167-ECONOMY-S-SHAPPY-33|871298-202151-ECONOMY-S-SHAPPY-123", "routingKey": "861276|871298", "routing": { "routeType": 2, "routingKey": "861276|871298", "fromSegments": [{ "aircraftCode": "321", "arrAirport": "KIX", "arrTerminal": "", "arrTime": "202308301435", "carrier": "MM", "data": "", "depAirport": "TPE", "depTerminal": "1", "depTime": "202308301050", "duration": 165, "fares": [{ "paxFare": { "ADT": [{ "chargeCode": "", "chargeType": "FarePrice", "originalAmount": 3060.0, "originalCurrency": "TWD", "chargeDesc": "Fare price", "amount": 13764.37, "currency": "JPY" }, { "chargeCode": "TW", "chargeType": "TAX", "originalAmount": 500.0, "originalCurrency": "TWD", "chargeDesc": "AIRPORT SERVICE CHARGE(TPE,KHH)", "amount": 2249.08, "currency": "JPY" }], "CHD": [], "INF": [] }, "availableCount": 29, "fareKey": "861276-202167-ECONOMY-S-SHAPPY-33", "fareBasisCode": "", "fareSequence": 0, "productClass": "Y", "cabinName": "ECONOMY", "cabinClass": "S", "fareTypeCode": "341", "fareTypeDesc": "Simple Peach" }, { "paxFare": { "ADT": [{ "chargeCode": "", "chargeType": "FarePrice", "originalAmount": 4370.0, "originalCurrency": "TWD", "chargeDesc": "Fare price", "amount": 19656.96, "currency": "JPY" }, { "chargeCode": "TW", "chargeType": "TAX", "originalAmount": 500.0, "originalCurrency": "TWD", "chargeDesc": "AIRPORT SERVICE CHARGE(TPE,KHH)", "amount": 2249.08, "currency": "JPY" }], "CHD": [], "INF": [] }, "availableCount": 29, "fareKey": "861276-202230-ECONOMY-S-SHAPPLUS-48", "fareBasisCode": "", "fareSequence": 0, "productClass": "Y", "cabinName": "ECONOMY", "cabinClass": "S", "fareTypeCode": "301", "fareTypeDesc": "Value Peach" }, { "paxFare": { "ADT": [{ "chargeCode": "", "chargeType": "FarePrice", "originalAmount": 5420.0, "originalCurrency": "TWD", "chargeDesc": "Fare price", "amount": 24380.03, "currency": "JPY" }, { "chargeCode": "TW", "chargeType": "TAX", "originalAmount": 500.0, "originalCurrency": "TWD", "chargeDesc": "AIRPORT SERVICE CHARGE(TPE,KHH)", "amount": 2249.08, "currency": "JPY" }], "CHD": [], "INF": [] }, "availableCount": 29, "fareKey": "861276-202260-ECONOMY-S-SPRIME-63", "fareBasisCode": "", "fareSequence": 0, "productClass": "Y", "cabinName": "ECONOMY", "cabinClass": "S", "fareTypeCode": "321", "fareTypeDesc": "Prime Peach" }], "flightNumber": "MM024", "stopAirports": "" }], "retSegments": [{ "aircraftCode": "320", "arrAirport": "TPE", "arrTerminal": "", "arrTime": "202309030125", "carrier": "MM", "data": "", "depAirport": "KIX", "depTerminal": "2", "depTime": "202309022325", "duration": 180, "fares": [{ "paxFare": { "ADT": [{ "chargeCode": "", "chargeType": "FarePrice", "originalAmount": 3060.0, "originalCurrency": "TWD", "chargeDesc": "Fare price", "amount": 13764.37, "currency": "JPY" }, { "chargeCode": "TK", "chargeType": "TAX", "originalAmount": 230.0, "originalCurrency": "TWD", "chargeDesc": "INTERNATIONAL TOURIST TAX", "amount": 1034.58, "currency": "JPY" }, { "chargeCode": "OI", "chargeType": "TAX", "originalAmount": 80.0, "originalCurrency": "TWD", "chargeDesc": "PASSENGER SECURITY SERVICE CHARGE(KIX)", "amount": 359.85, "currency": "JPY" }, { "chargeCode": "SW", "chargeType": "TAX", "originalAmount": 290.0, "originalCurrency": "TWD", "chargeDesc": "PASSENGER SERVICE FACILITIES CHARGE(KIX/INT)", "amount": 1304.47, "currency": "JPY" }], "CHD": [], "INF": [] }, "availableCount": 49, "fareKey": "871298-202151-ECONOMY-S-SHAPPY-123", "fareBasisCode": "", "fareSequence": 1, "productClass": "Y", "cabinName": "ECONOMY", "cabinClass": "S", "fareTypeCode": "341", "fareTypeDesc": "Simple Peach" }, { "paxFare": { "ADT": [{ "chargeCode": "", "chargeType": "FarePrice", "originalAmount": 4370.0, "originalCurrency": "TWD", "chargeDesc": "Fare price", "amount": 19656.96, "currency": "JPY" }, { "chargeCode": "TK", "chargeType": "TAX", "originalAmount": 230.0, "originalCurrency": "TWD", "chargeDesc": "INTERNATIONAL TOURIST TAX", "amount": 1034.58, "currency": "JPY" }, { "chargeCode": "OI", "chargeType": "TAX", "originalAmount": 80.0, "originalCurrency": "TWD", "chargeDesc": "PASSENGER SECURITY SERVICE CHARGE(KIX)", "amount": 359.85, "currency": "JPY" }, { "chargeCode": "SW", "chargeType": "TAX", "originalAmount": 290.0, "originalCurrency": "TWD", "chargeDesc": "PASSENGER SERVICE FACILITIES CHARGE(KIX/INT)", "amount": 1304.47, "currency": "JPY" }], "CHD": [], "INF": [] }, "availableCount": 49, "fareKey": "871298-202215-ECONOMY-S-SHAPPLUS-138", "fareBasisCode": "", "fareSequence": 1, "productClass": "Y", "cabinName": "ECONOMY", "cabinClass": "S", "fareTypeCode": "301", "fareTypeDesc": "Value Peach" }, { "paxFare": { "ADT": [{ "chargeCode": "", "chargeType": "FarePrice", "originalAmount": 5420.0, "originalCurrency": "TWD", "chargeDesc": "Fare price", "amount": 24380.03, "currency": "JPY" }, { "chargeCode": "TK", "chargeType": "TAX", "originalAmount": 230.0, "originalCurrency": "TWD", "chargeDesc": "INTERNATIONAL TOURIST TAX", "amount": 1034.58, "currency": "JPY" }, { "chargeCode": "OI", "chargeType": "TAX", "originalAmount": 80.0, "originalCurrency": "TWD", "chargeDesc": "PASSENGER SECURITY SERVICE CHARGE(KIX)", "amount": 359.85, "currency": "JPY" }, { "chargeCode": "SW", "chargeType": "TAX", "originalAmount": 290.0, "originalCurrency": "TWD", "chargeDesc": "PASSENGER SERVICE FACILITIES CHARGE(KIX/INT)", "amount": 1304.47, "currency": "JPY" }], "CHD": [], "INF": [] }, "availableCount": 49, "fareKey": "871298-202245-ECONOMY-S-SPRIME-153", "fareBasisCode": "", "fareSequence": 1, "productClass": "Y", "cabinName": "ECONOMY", "cabinClass": "S", "fareTypeCode": "321", "fareTypeDesc": "Prime Peach" }], "flightNumber": "MM029", "stopAirports": "" }], "data": "yKrGN0bVFMdehtyMmnTVLrEJX29V7G/Xtj+1Y9HzNlnqhmmn6xynS5fp7yLbybzNZ5BBNyfq/OUI/BJrk1gzaavwGhWYuFqMZyaBgDYm/kqTtePWJZg1yQzAJu9ARVZeIpeCOjcTVeDQL2dWuHrMbfi5xNyF6URkYO+GtfNlAGhHYrH2d2otYWNqvgJMbK4S", "agencyAccountID": "LET_MM_P", "chargeFees": [{ "chargeType": 1, "chargeAmount": 1.0, "currency": "USD" }] }, "adultNumber": 1, "childNumber": 0, "infantNumber": 0 } }
Response
Field | Type | Description |
---|---|---|
status | int | 0 for success, others for failure, refer to status error appendix for details |
msg | String | Return message, maximum 64 char |
contentStatus | int | Return the original code from airlines or suppliers. |
contentMsg | String | Return the original message from airlines or suppliers, maximum 64 char |
isPriceChanged | Boolean | response price is changed comparing to GetAvailability True: changed False: remain same. |
maxSeats | int | Available seat number, maximum 9 |
sessionId | String | Session id : unique identifier |
searchId | String | Uniqe ID for each search. |
routing | Object | Object for routing information |
adultFare | Float | Adult Fare |
adultTax | Float | Adult Tax |
childFare | Float | Child Fare |
childTax | Float | Child Tax |
infantFare | Float | infant Fare |
infantTax | Float | infant Tax |
currency | String | Currency information, ISO code e.g. USD |
data | String | Session data, maximum 1000bytes; retrieve from GetAvailability API response, used in following API requests |
routeType | Int | Data source type, 1,FareMarket 2, TechHub |
routingKey | String | “routingKey” can be found in the field of “routings” from “GetAvailability”. |
fromSegments | Object[] | Object for departure route segments. |
aircraftCode | String | Aircraft Code |
arrAirport | String | Arrival airport IATA 3-Letter Codes |
arrTerminal | String | Arrival terminal |
arrTime | String | Arrival date and time, format: YYYYMMDDHHMM e.g. 201203101305 means 2012/03/10 13:05 |
carrier | String | Carrier IATA 2_letter code |
data | String | Encrypt data for AeroHub internal use. |
depAirport | String | Departure airport IATA 3-Letter Codes |
depTerminal | String | Departure terminal |
depTime | String | Departure date and time, format: YYYYMMDDHHMM e.g. 201203100315 means 2012/03/10 03:15 |
duration | Int | Flight duration from departure to arrival, unit: minute |
flightNumber | String | Flight number, e.g. CA123 if flight number begin with 0, must waived, e.g. CZ006 is return by CZ6 |
codeShare | Boolean | Whether it is a shared flight true : yes false: no |
operatingFlightNumber | String | Actual operating flight number |
operatingCarrier | String | Actual operating airline. |
stopAirports | Object[] | Stopover airport information |
airport | String | Stopover airport IATA 3-Letter Codes |
duration | Int | Stopover duration, unit is minutes |
fares | Object[] | Fare information |
fareSequence | Int | Index of a fare |
availableCount | Int | Available seat number |
cabinClass | String | Cabin type |
fareKey | String | “farekey” can be found in the field of “fromSegments” or “retSegments”, for stopover, please use the character “^” for connection, and charater “I” to return. |
fareTypeCode | String | return fare type id defines by airline |
fareTypeDesc | String | return bundle fare name defined by airline. For reference only. |
bundleId | int | bundle id, mapping to the id from bundles[],only works for TechHub |
ruleId | String | fare rule id, mapping to the id from rules[],works for FareMarket |
productClass | String | Product Class |
paxFare | Object | |
ADT | Object[] | |
amount | Float | Fare amount |
chargeCode | String | Fare code |
chargeType | String | Fare type |
currency | String | Currency information, 3-Letter Codes e.g. USD |
chargeDesc | String | chargeDesc Info |
originalAmount | Float | Fare amount from airlines |
originalCurrency | String | Currency information, 3-Letter Codes e.g. USD |
CHD | Object[] | |
amount | Float | Fare amount |
chargeCode | String | Fare code |
chargeType | String | Fare type |
currency | String | Currency information, 3-Letter Codes e.g. USD |
chargeDesc | String | chargeDesc Info |
originalAmount | Float | Fare amount from airlines |
originalCurrency | String | Currency information, 3-Letter Codes e.g. USD |
INF | Object[] | |
amount | Float | Fare amount |
chargeCode | String | Fare code |
chargeType | String | Fare type |
currency | String | Currency information, 3-Letter Codes e.g. USD |
chargeDesc | String | chargeDesc Info |
originalAmount | Float | Fare amount from airlines |
originalCurrency | String | Currency information, 3-Letter Codes e.g. USD |
retSegments | Object[] | |
aircraftCode | String | Aircraft Code |
arrAirport | String | Arrival airport IATA 3-Letter Codes |
arrTerminal | String | Arrival terminal |
arrTime | String | Arrival date and time, format: YYYYMMDDHHMM e.g. 201203101305 means 2012/03/10 13:05 |
carrier | String | Carrier IATA 2_letter code |
data | String | Encrypt data for AeroHub internal use. |
depAirport | String | Departure airport IATA 3-Letter Codes |
depTerminal | String | Departure terminal |
depTime | String | Departure date and time, format: YYYYMMDDHHMM e.g. 201203100315 means 2012/03/10 03:15 |
duration | Int | Flight duration from departure to arrival, unit: minute |
flightNumber | String | Flight number, e.g. CA123 if flight number begin with 0, must waived, e.g. CZ006 is return by CZ6 |
codeShare | Boolean | Whether it is a shared flight true : yes false: no |
operatingFlightNumber | String | Actual operating flight number |
operatingCarrier | String | Actual operating airline. |
stopAirports | Object[] | Stopover airport information |
airport | String | Stopover airport IATA 3-Letter Codes |
duration | Int | Stopover duration, unit is minutes |
fares | Object[] | Fare information |
fareSequence | Int | Index of a fare |
availableCount | Int | Available seat number |
fareKey | String | “farekey” can be found in the field of “fromSegments” or “retSegments”, for stopover, please use the character “^” for connection, and charater “I” to return. |
cabinClass | String | RBD code |
cabinName | String | corresponds to the productClass name like Economy, Premium Economy, Business, First |
productClass | String | product standard code like Y, W, C, F |
fareTypeCode | String | return buddle fare id defines by airline. |
fareTypeDesc | String | return buddle fare name defines by airline. For reference only |
bundleId | int | bundle id, mapping to the id from bundles[],only works for TechHub |
ruleId | String | fare rule id, mapping to the id from rules[],works for FareMarket |
paxFare | Object | |
ADT | Object[] | |
amount | Float | Fare amount |
chargeCode | String | Fare code |
chargeType | String | Fare type |
currency | String | Currency information, 3-Letter Codes e.g. USD |
originalAmount | Float | Fare amount from airlines |
originalCurrency | String | Currency information, 3-Letter Codes e.g. USD |
CHD | Object[] | |
amount | Float | Fare amount |
chargeCode | String | Fare code |
chargeType | String | Fare type |
currency | String | Currency information, 3-Letter Codes e.g. USD |
originalAmount | Float | Fare amount from airlines |
originalCurrency | String | Currency information, 3-Letter Codes e.g. USD |
INF | Object[] | |
amount | Float | Fare amount |
chargeCode | String | Fare code |
chargeType | String | Fare type |
currency | String | Currency information, 3-Letter Codes e.g. USD |
originalAmount | Float | Fare amount from airlines |
originalCurrency | String | Currency information, 3-Letter Codes e.g. USD |
bundles | Object[] | Bundle details collection, applicable to TechHub products only |
bundleId | int | Bundle Id |
fareTypeCode | String | Bundle Code |
fareTypeDesc | String | Bundle Name. For reference only. |
carrier | String | Carrier IATA 2_letter code |
productClass | String | product class code standardized by AeroHub, Y(Economy Class), W(Premium Class), C(Business Class), F(First Class) |
cabinClass | String | RBD code from airline. |
cabinBag | Object[] | Carry-on Baggage |
isIncluded | Int | is Included or not 0: No; 1: Yes. |
piece | Int | Number of Free Carry-on Baggage Items |
weight | Int | Carry-on Baggage Allowance, in kilograms (KG) |
unit | String | Unit |
category | String | Applicable Scope Domestic International All |
isFree | Int | is free of charge or not 0: No; 1: Yes. |
detail | String | Details |
checkinBag | Object[] | Checkin Baggage |
isIncluded | Int | is Included or not 0: No; 1: Yes. |
piece | Int | Number of Free Checked Baggage Items |
weight | Int | Checkin Baggage Allowance, in kilograms (KG) |
unit | String | Unit |
category | String | Applicable Scope Domestic International All |
isFree | Int | is free of charge or not 0: No; 1: Yes. |
detail | String | Details |
seat | Object | Seat Selection Information |
isIncluded | Int | is Included or not 0: No; 1 Yes. |
isFree | Int | is free of charge or not 0: No; 1 Yes. |
detail | String | Details |
meal | Object | Meal Information |
isIncluded | Int | is Included or not 0: No; 1: Yes. |
isFree | Int | is free of charge or not 0: No; 1: Yes. |
detail | String | Details |
flightChange | Object[] | Change Rules |
eligible | Int | is eligible for a change or not 0: No; 1 Yes. |
category | String | Applicable Scope Domestic International All |
detail | String | Details |
cancellation | Object[] | Cancellation Rules |
eligible | Int | is eligible for a change or not 0: No; 1: Yes. |
category | String | Applicable Scope Domestic International All |
detail | String | Details |
bundleDetail | String | Bundle Details |
rules | Object[] | Change and Cancellation Rules, Free Baggage Collection, applicable only to FareMarket products |
ruleId | String | Change and Cancellation Rules, Free Baggage ID |
endorsement | int | Supports endorsement or not 0: not support; 1: support. |
changeInfoList | Object[] | Change Rules Collection |
passengerType | int | Passenger Type 0: Adult; 1: Child; 2: Infant. |
ticketStatus | int | The rules for changing a flight ticket depend on whether it has been used or not 0: Ticket has not been used; 1: part of the ticket has been used. |
changeCategory | String | Different types of change distinctions T: Not changeable; H: Conditionally changeable; F: Free to change; E: Subject to airline regulations. |
changeFee | float | the fee applied for the change. |
currencyCode | String | Currency information, 3-Letter Codes e.g. USD |
noshowType | String | Indicates whether a no-show booking is eligible for changes T: Not changeable; H: Conditionally changeable; F: Free to change; E: Subject to airline regulations |
noShowCondition | int | Change deadline for no-shows: Set in hours. Example: If changes are allowed up to 4 hours before departure, the value is ‘4’. Return 0 by default. |
noShowFee | int | It indicates the no-show charged fee, when you change/cancel the no-show ticket with airline. |
cancelInfoList | Object[] | Cancellation Rules Collection |
passengerType | int | Passenger Type 0: Adult; 1: Child; 2: Infant. |
ticketStatus | int | The rules for canceling a flight ticket depend on whether it has been used or not 0: Ticket has not been used; 1: part of the ticket has been used. |
cancelCategory | String | Cancellation Indicator T: Non-cancelable; H: Conditionally cancelable; F: Free to cancellation; E: Subject to airline regulations. |
cancelFee | float | the fee applied for the cancel. |
currencyCode | String | Currency information, 3-Letter Codes e.g. USD |
noshowType | String | Cancellation rules for No-show, Cancellation Indicator, T: Non-cancelable; H: Conditionally cancelable; F: Free to cancellation; E: Subject to airline regulations. |
noShowCondition | int | Cancel deadline for no-shows: Set in hours. Example: If cancels are allowed up to 4 hours before departure, the value is ‘4’. Return 0 by default. |
noShowFee | int | It indicates the no-show charged fee, when you change/cancel the no-show ticket with airline. |
freeBagInfoList | Object[] | Free Baggage Information Collection |
passengerType | int | Passenger Type 0: Adult; 1: Child; 2: Infant. |
checkinBagPiece | int | Number of Free Checkin Baggage Items (used in conjunction with checkinBagWeight) |
checkinBagWeight | int | Free Checkin Baggage Allowance, in kilograms (KG) (used in conjunction with checkinBagPiece) |
carryonBaggagePiece | int | Number of carryon-baggage pieces. A value of -1 indicates no limit on the number of pieces. |
carryonBaggageWeight | int | carryon-baggage weight in kilograms. Used in conjunction with carryonBaggagePiece . |
Success-Response:
{ "msg": "Success", "sessionId": "5f1b52267f36be1916d5f2f96442df98", "maxSeats": 1, "routing": { "adultFare": 230.13, "adultTax": 68.66, "childFare": 230.13, "childTax": 68.66, "currency": "USD", "data": "mCxQF/8dcTspByDrjT+V9+rXtqT3zLTLDfTNB7it9LrwqtNQhRzxbay6DsbyyAC5lfNNNa90OlwgLWkJDZUDXOfl29drwahU57YL1eHcOfK4f4BRj4OVL9NgB98ahRiJ1fippxQmpTcset/uAscFeW251YWE6bjfSyQ1G8ruJjfFDxmxryP7+skyipeMMmntcPHsmK6sEapcLJcGNhu3VYydP0rLkZcnsS+CFHmHjZ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6NPNrH0EBs3kVLsupmTH8+BfPwlfJAlkKWob7nkALpKdEIL4/Sfo2Lmfa9mnzEdFXAwBOoiS+ya6b7u6pckI07Ket3xXJa+DyE4lJWjKSKZTaLKsu3JzjItF1DFQ5GBaUNG1zwPY4JHuwbIx4MyM0KixKxwMiw1qN/qeseGxN8QoNygemg6QVvvyo8i9FklviZtFqAC+V8b1TwTUA3Net1hUO9dy4+nDWanBzpPSf9A+t8CRPzbvbeixhr7oM+P3lZHkQM9l7aTsE4A+LDzBdNYG8aOnKdHDV7HNgQcq1SVVhfMLK7YtRN", "fromSegments": [ { "aircraftCode": "738", "arrAirport": "PUS", "arrTerminal": "", "arrTime": "202402201630", "carrier": "7C", "data": "", "depAirport": "NRT", "depTerminal": "", "depTime": "202402201405", "duration": 0, "fares": { "paxFare": { "ADT": [ { "chargeType": "FarePrice", "chargeDesc": "", "chargeCode": "", "amount": 230.13, "originalAmount": 230.13, "currency": "USD", "originalCurrency": "USD" }, { "chargeType": "Tax", "chargeDesc": "", "chargeCode": "", "amount": 68.66, "originalAmount": 68.66, "currency": "USD", "originalCurrency": "USD" } ], "CHD": [ { "chargeType": "FarePrice", "chargeDesc": "", "chargeCode": "", "amount": 230.13, "originalAmount": 230.13, "currency": "USD", "originalCurrency": "USD" }, { "chargeType": "Tax", "chargeDesc": "", "chargeCode": "", "amount": 68.66, "originalAmount": 68.66, "currency": "USD", "originalCurrency": "USD" } ], "INF": [] }, "availableCount": 0, "fareKey": "2cb9ad12-6afb-468e-a1fb-781c073c0bc9", "fareBasisCode": "", "fareSequence": 0, "productClass": "Y", "cabinName": "", "cabinClass": "Y", "fareTypeCode": "", "fareTypeDesc": "", "ruleId": "2-1_1", "bundleId": 0 }, "flightNumber": "7C1153", "stopAirports": [], "operatingFlightNumber": "" }, { "aircraftCode": "738", "arrAirport": "GMP", "arrTerminal": "", "arrTime": "202402211515", "carrier": "7C", "data": "", "depAirport": "PUS", "depTerminal": "", "depTime": "202402211415", "duration": 0, "fares": { "paxFare": { "ADT": [ { "chargeType": "FarePrice", "chargeDesc": "", "chargeCode": "", "amount": 0.0, "originalAmount": 0.0, "currency": "USD", "originalCurrency": "USD" }, { "chargeType": "Tax", "chargeDesc": "", "chargeCode": "", "amount": 0.0, "originalAmount": 0.0, "currency": "USD", "originalCurrency": "USD" } ], "CHD": [ { "chargeType": "FarePrice", "chargeDesc": "", "chargeCode": "", "amount": 0.0, "originalAmount": 0.0, "currency": "USD", "originalCurrency": "USD" }, { "chargeType": "Tax", "chargeDesc": "", "chargeCode": "", "amount": 0.0, "originalAmount": 0.0, "currency": "USD", "originalCurrency": "USD" } ], "INF": [] }, "availableCount": 0, "fareKey": "c2cdcaee-3a85-4c0b-bdef-f52fec79a60c", "fareBasisCode": "", "fareSequence": 0, "productClass": "Y", "cabinName": "", "cabinClass": "S", "fareTypeCode": "", "fareTypeDesc": "", "ruleId": "2-1_1", "bundleId": 0 }, "flightNumber": "7C291", "stopAirports": [], "operatingFlightNumber": "" } ], "infantFare": 0.0, "infantTax": 0.0, "retSegments": [], "routeType": 1, "agencyAccountID": "1", "routingKey": "" }, "status": 0, "rules": [ { "ruleId": "2-1_1", "endorsement": 0, "changeInfoList": [ { "passengerType": 0, "ticketStatus": 0, "changeCategory": "H", "changeFee": 290, "currencyCode": "USD", "noshowType": "E", "noShowCondition": 0, "noShowFee": 0 }, { "passengerType": 1, "ticketStatus": 0, "changeCategory": "H", "changeFee": 290, "currencyCode": "USD", "noshowType": "E", "noShowCondition": 0, "noShowFee": 0 } ], "cancelInfoList": [ { "passengerType": 0, "ticketStatus": 0, "cancelCategory": "T", "cancelFee": 0, "currencyCode": "", "noshowType": "T", "noShowCondition": 0, "noShowFee": 0 }, { "passengerType": 1, "ticketStatus": 0, "cancelCategory": "T", "cancelFee": 0, "currencyCode": "", "noshowType": "T", "noShowCondition": 0, "noShowFee": 0 } ], "freeBagInfoList": [ { "passengerType": 0, "checkinBagPiece": 1, "checkinBagWeight": 15 }, { "passengerType": 1, "checkinBagPiece": 1, "checkinBagWeight": 15 }, { "passengerType": 0, "checkinBagPiece": 1, "checkinBagWeight": 15 }, { "passengerType": 1, "checkinBagPiece": 1, "checkinBagWeight": 15 } ] } ], "isPriceChanged": false, "searchId": "7db5f637eeb6abb99538983c1b016183", "contentMsg": "success", "contentStatus": 0, "bundles": [] }
Status Code
Name | Description |
---|---|
423 | Error returned by hub airline |
1000 | General system error |
1001 | Request parameters or part of parameters missing |
1002 | Invalid Action |
1003 | API request timeout, please request again |
1004 | Invalid request parameter |
1005 | Service system error |
1006 | System busy, please try again |
1101 | Authentication fail, wrong signature |
1102 | Account disabled, please contact with account administrator |
2012 | This flight is sold out |
Error-Response
{ "status": 1000, "msg": "Letslfy flight inernal error" }
Author:admin Create time:2023-05-24 16:04
Last editor:AeroHub Update time:2025-04-22 14:25
Last editor:AeroHub Update time:2025-04-22 14:25