POST api/v1/flights/page/{pageStart}/{pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageStart

integer

Default value is 0

pageSize

integer

Default value is 100

Body Parameters

PageableSearchFilterOfFlightOverviewSearchFilter
NameDescriptionTypeAdditional information
Sorting

Dictionary of string [key] and string [value]

None.

SearchFilter

FlightOverviewSearchFilter

None.

Request Formats

application/json, text/json

Sample:
{
  "Sorting": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "SearchFilter": {
    "FlightDate": {
      "From": "2019-12-10T15:10:26.9197816+01:00",
      "To": "2019-12-10T15:10:26.9197816+01:00"
    },
    "Immatriculation": "sample string 1",
    "PilotName": "sample string 2",
    "SecondCrewName": "sample string 3",
    "PilotNameOrSecondCrewName": "sample string 4",
    "FlightComment": "sample string 5",
    "AirStates": [
      1,
      2
    ],
    "ProcessStates": [
      1,
      2
    ],
    "FlightCode": "sample string 6",
    "LdgDateTime": "sample string 7",
    "IsSoloFlight": true,
    "StartDateTime": "sample string 8",
    "StartType": "sample string 9",
    "StartLocation": "sample string 10",
    "LdgLocation": "sample string 11",
    "FlightDuration": "sample string 12"
  }
}

text/html

Sample:
{"Sorting":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"SearchFilter":{"FlightDate":{"From":"2019-12-10T15:10:26.9197816+01:00","To":"2019-12-10T15:10:26.9197816+01:00"},"Immatriculation":"sample string 1","PilotName":"sample string 2","SecondCrewName":"sample string 3","PilotNameOrSecondCrewName":"sample string 4","FlightComment":"sample string 5","AirStates":[1,2],"ProcessStates":[1,2],"FlightCode":"sample string 6","LdgDateTime":"sample string 7","IsSoloFlight":true,"StartDateTime":"sample string 8","StartType":"sample string 9","StartLocation":"sample string 10","LdgLocation":"sample string 11","FlightDuration":"sample string 12"}}

application/xml, text/xml

Sample:
<PageableSearchFilterOfFlightOverviewSearchFilters_P45QO7A xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">
  <SearchFilter xmlns:d2p1="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Flight">
    <d2p1:AirStates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:AirStates>
    <d2p1:FlightCode>sample string 6</d2p1:FlightCode>
    <d2p1:FlightComment>sample string 5</d2p1:FlightComment>
    <d2p1:FlightDate>
      <From>2019-12-10T15:10:26.9197816+01:00</From>
      <To>2019-12-10T15:10:26.9197816+01:00</To>
    </d2p1:FlightDate>
    <d2p1:FlightDuration>sample string 12</d2p1:FlightDuration>
    <d2p1:Immatriculation>sample string 1</d2p1:Immatriculation>
    <d2p1:IsSoloFlight>true</d2p1:IsSoloFlight>
    <d2p1:LdgDateTime>sample string 7</d2p1:LdgDateTime>
    <d2p1:LdgLocation>sample string 11</d2p1:LdgLocation>
    <d2p1:PilotName>sample string 2</d2p1:PilotName>
    <d2p1:PilotNameOrSecondCrewName>sample string 4</d2p1:PilotNameOrSecondCrewName>
    <d2p1:ProcessStates xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:ProcessStates>
    <d2p1:SecondCrewName>sample string 3</d2p1:SecondCrewName>
    <d2p1:StartDateTime>sample string 8</d2p1:StartDateTime>
    <d2p1:StartLocation>sample string 10</d2p1:StartLocation>
    <d2p1:StartType>sample string 9</d2p1:StartType>
  </SearchFilter>
  <Sorting xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Sorting>
</PageableSearchFilterOfFlightOverviewSearchFilters_P45QO7A>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PagedListOfFlightOverview
NameDescriptionTypeAdditional information
Items

Collection of FlightOverview

None.

PageStart

integer

None.

PageSize

integer

None.

TotalRows

integer

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.