POST api/Movements/GetFlightsByCustomField?airportCode={airportCode}&arrivalCustomField={arrivalCustomField}&departureCustomField={departureCustomField}&from={from}&to={to}

Documentation for 'GetFlightsByCustomField'.

Request Information

Parameters

NameDescriptionAdditional information
airportCode
Documentation for 'airportCode'.

Define this parameter in the request URI.

arrivalCustomField
Documentation for 'arrivalCustomField'.

Define this parameter in the request URI.

departureCustomField
Documentation for 'departureCustomField'.

Define this parameter in the request URI.

values
Documentation for 'values'.

Define this parameter in the request body.

from
Documentation for 'from'.

Define this parameter in the request URI.

to
Documentation for 'to'.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2",
  "sample string 3"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
  <string>sample string 3</string>
</ArrayOfstring>

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 'IEnumerable`1'.

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>