Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Request Body - AvailRQ


Name

Description

Format

Mandatory

query

availabilityPriceRequest

token

your token


string

yes

target

criterias

search criteria


string

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

"combined": false

no

duplicated

Remove duplicate flights from providers

values true or false

"duplicate": false

no

show_data

Show Data Information

displays more descriptive information for identifiers that are part of avail

values true or false

"show_data": 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

"show_partial": false

no

show_origin_destination

Show Origin Destinations

Show IATA codes into Origien and Destination flag

values true or false

"show_origin_destination": 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

"show_public_fares": false

no

corporate code

corporate account

string

no

TransportRequest

product type

Enums\ProductType

string

no

paxes_distribution

ages of all passengers

example: 30
maximum: 99
minimum: 0]

yes

Journey Request

every request pair origin and destination

"origin": "MAD",
"destination": "SVQ"

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
default: 0

no

destination_radius

Determine the airports near of the destination the specified N kilometers around

example: 1
default: 0

no

arrival same date

To get travels that departure date and arrival date are the same

example: false
default: false

no

range_dates

prev

Days before date selected
example: 1

The maximum allowed range between 'prev' and 'post' is 3 days

post

Days after date selected
example: 1

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 ]

[ Y, M, W, C, F ]

no

direct

To return only direct flight, without scales

true or false

default: false

"direct": false

no

flexible_dates

Get flights with flexible +/- 3 days

example:false

no

refundable

To return only refundable fares

example: false
default: false

no

low_cost

To include Low cost flights in results

example: true
default: true

no

baggage

select only flights with baggage included

example: false
default: 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
default: true

no

include_ndc

Get flight results from NDC

example :true
default: true

no

fare_type

to select only one fare type on results

(PUBLIC = Public fares, PRIVATE = Private fares)


default: null to return all fares types

[ 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
default: false

no

cruise

Request Cruise fares

example: false
default: false

large_family_discount

Request large family discount 

F1, Special = F2)
default: nullEnum:
[ F1, F2 ]

[ F1, F2 ]

no

delegation

 Source_Id of delegation

numeric

no


  • No labels