POST api/Movements/GetFlightsByAirlineIataCodes

Documentation for 'GetFlightsByAirlineIataCodes'.

Request Information

Parameters

NameDescriptionAdditional information
request
Documentation for 'request'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "airportIataCode": "sample string 1",
  "airlineIataCodes": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "from": "2025-04-29T13:35:41.8221892-04:00",
  "to": "2025-04-29T13:35:41.8231799-04:00"
}

application/xml, text/xml

Sample:
<GetFlightsByAirlineIataCodesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SITA.AMS.Web.WebApi.Requests">
  <airlineIataCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </airlineIataCodes>
  <airportIataCode>sample string 1</airportIataCode>
  <from>2025-04-29T13:35:41.8221892-04:00</from>
  <to>2025-04-29T13:35:41.8231799-04:00</to>
</GetFlightsByAirlineIataCodesRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'GetFlightsByAirlineIataCodesRequest'.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "sample string 1": {},
    "sample string 3": {},
    "sample string 5": {}
  },
  {
    "sample string 1": {},
    "sample string 3": {},
    "sample string 5": {}
  },
  {
    "sample string 1": {},
    "sample string 3": {},
    "sample string 5": {}
  }
]

application/xml, text/xml

Sample:
<ArrayOfArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <ArrayOfKeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 1</Key>
      <Value />
    </KeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 3</Key>
      <Value />
    </KeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 5</Key>
      <Value />
    </KeyValueOfstringanyType>
  </ArrayOfKeyValueOfstringanyType>
  <ArrayOfKeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 1</Key>
      <Value />
    </KeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 3</Key>
      <Value />
    </KeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 5</Key>
      <Value />
    </KeyValueOfstringanyType>
  </ArrayOfKeyValueOfstringanyType>
  <ArrayOfKeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 1</Key>
      <Value />
    </KeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 3</Key>
      <Value />
    </KeyValueOfstringanyType>
    <KeyValueOfstringanyType>
      <Key>sample string 5</Key>
      <Value />
    </KeyValueOfstringanyType>
  </ArrayOfKeyValueOfstringanyType>
</ArrayOfArrayOfKeyValueOfstringanyType>