GET api/v1/Flight?origin={origin}&destination={destination}&currency={currency}&dateOfDeparture={dateOfDeparture}&daysbefore={daysbefore}&daysafter={daysafter}&roundTrip={roundTrip}&adults={adults}&children={children}&infants={infants}&culture={culture}&promoCode={promoCode}&fareTypeCategories={fareTypeCategories}&dateOfArrival={dateOfArrival}&customerSessionGuid={customerSessionGuid}&iataUser={iataUser}&iataPass={iataPass}&iataNum={iataNum}&apiKey={apiKey}

Returns a list af available flights with fare by dateofdeparture plus x days before and x days after.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
origin

string

Required

destination

string

Required

currency

string

Required

dateOfDeparture

date

Required

daysbefore

integer

Required

daysafter

integer

Required

roundTrip

boolean

Required

adults

integer

Required

children

integer

Required

infants

integer

Required

culture

example en-US, is-IS

string

Required

promoCode

string

Required

fareTypeCategories

string

Required

dateOfArrival

Optional (if roundtrip is true then requried)

date

None.

customerSessionGuid

Optional

string

Default value is

iataUser

Optional

string

Default value is

iataPass

Optional

string

Default value is

iataNum

Optional

string

Default value is

apiKey

Optional

string

Default value is

Body Parameters

None.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats