GET AIRAPI_V1/airservices/rest/search

Request Information

URI Parameters

None.

Body Parameters

NewApiReq
NameDescriptionTypeAdditional information
legs

Collection of Leg

None.

adultsCount

integer

None.

childrenCount

integer

None.

infantsCount

integer

None.

cabin

string

None.

currencyCode

string

None.

locale

string

None.

Request Formats

application/json, text/json

Sample:
{
  "legs": [
    {
      "departureCode": "sample string 1",
      "arrivalCode": "sample string 2",
      "outboundDate": "sample string 3"
    },
    {
      "departureCode": "sample string 1",
      "arrivalCode": "sample string 2",
      "outboundDate": "sample string 3"
    }
  ],
  "adultsCount": 1,
  "childrenCount": 2,
  "infantsCount": 3,
  "cabin": "sample string 4",
  "currencyCode": "sample string 5",
  "locale": "sample string 6"
}

application/xml, text/xml

Sample:
<NewApiReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Core">
  <adultsCount>1</adultsCount>
  <cabin>sample string 4</cabin>
  <childrenCount>2</childrenCount>
  <currencyCode>sample string 5</currencyCode>
  <infantsCount>3</infantsCount>
  <legs>
    <Leg>
      <arrivalCode>sample string 2</arrivalCode>
      <departureCode>sample string 1</departureCode>
      <outboundDate>sample string 3</outboundDate>
    </Leg>
    <Leg>
      <arrivalCode>sample string 2</arrivalCode>
      <departureCode>sample string 1</departureCode>
      <outboundDate>sample string 3</outboundDate>
    </Leg>
  </legs>
  <locale>sample string 6</locale>
</NewApiReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.