Request Body - AvailRQ
Name | Description | Format | Mandatory |
---|---|---|---|
query | |||
availabilityPriceRequest | |||
token | your token |
| YES |
| |||
criterias | search criteria |
| YES |
SearchCriteria | |||
connectors | connectors to launch | [ 1A, 1G, TF, IB, NV, RN, VY, KL, AF, BA, PY ] | NO |
max_responses | Max num of results | 250 | NO |
rules | |||
combined | Mix diferent providers values true or false |
| NO |
duplicated | Remove duplicate flights from providers values true or false |
| NO |
show_data | Show Data Information displays more descriptive information for identifiers that are part of avail values true or false |
| NO |
show_partial | Show Partial Solutions allows to receive one way solutions to be able to build a round trip solution from customer side values true or false |
| NO |
show_origin_destination | Show Origin Destinations Show IATA codes into Origien and Destination flag values true or false |
| NO |
show_public_fares | Show Public fares only If the flag is in False for default you will receive Public and Nego fares values true or false |
| NO |
corporate code | corporate account | string | NO |
TransportRequest | |||
product type | Enums\ProductType | string | NO |
paxes_distribution | ages of all passengers | example: 30 | YES |
Journey Request | |||
every request pair origin and destination | "origin": "MAD", | YES | |
dates | date to travel | 2019-12-13 | YES |
origin | origin iata | MAD | YES |
destination | destination iata | BCN | YES |
connections | list of locations to include or exclude ADD|AVOID|iata codes | ADD/MIA AVOID/DEL | NO |
schedules | Specify only one departure time or a range of hours to departure adding 2 hours | ? | NO |
schedules_arrival | Specify only one arrival time or a range of hours to arrival adding 2 hours | ? | NO |
origin_radius | title: Determine the airports near of the origin the specified N kilometers around | example: 1 | NO |
destination_radius | Determine the airports near of the destination the specified N kilometers around | example: 1 | NO |
arrival same date | To get travels that departure date and arrival date are the same | example: false | NO |
range_dates | prev Days before date selected The maximum allowed range between 'prev' and 'post' is 3 days post Days after date selected The maximum allowed range between 'prev' and 'post' is 3 days | example: 1 example: 1 | NO |
cabin | Type of cabin Economic = Y, Economic Standard = M, Economic Premium = W, Business = C, First = F Enum: | [ Y, M, W, C, F ] | NO |
direct | To return only direct flight, without scales true or false default: false |
| NO |
flexible_dates | Get flights with flexible +/- 3 days | example:false | NO |
refundable | To return only refundable fares | example: false | NO |
low_cost | To include Low cost flights in results | example: true | NO |
baggage | select only flights with baggage included | example: false | NO |
companies | select comany to add or avoid on response | example ADD/IB AVOID/AA | NO |
send_fee_resi_gds_agency | indicates if the agency need to send the carrier resident fee | ? | NO |
int_dif_fee_gds_agency | resident fee to send to gds in configured aency Form of payment | ? | NO |
is_iata_agency | indocates if agency is IATA | ? | NO |
include_train | To include train travels in results | example: true | NO |
include_ndc | Get flight results from NDC | example :true | NO |
fare_type | to select only one fare type on results (PUBLIC = Public fares, PRIVATE = Private fares) |
[ PUBLIC, PRIVATE ] | NO |
exclude_fares | Fare types or codes to exclude (TTOO, ETNIC, GL320, etc) You can exclude fare types (as TTOO, ETNIC, etc) or codes for some providers as renfe (GL320, GL010, etc) | array<string> | NO |
disney | Request Disney fares | example: false | NO |
cruise | Request Cruise fares | example: false | |
large_family_discount | Request large family discount F1, Special = F2) | [ F1, F2 ] | NO |
delegation | Source_Id of delegation | numeric | NO |