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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageStart

integer

Default value is 0

pageSize

integer

Default value is 100

Body Parameters

PageableSearchFilterOfFlightTypeOverviewSearchFilter
NameDescriptionTypeAdditional information
Sorting

Dictionary of string [key] and string [value]

None.

SearchFilter

FlightTypeOverviewSearchFilter

None.

Request Formats

application/json, text/json

Sample:
{
  "Sorting": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "SearchFilter": {
    "FlightCode": "sample string 1",
    "FlightTypeName": "sample string 2",
    "InstructorRequired": true,
    "ObserverPilotOrInstructorRequired": true,
    "IsCheckFlight": true,
    "IsPassengerFlight": true,
    "IsForGliderFlights": true,
    "IsForTowFlights": true,
    "IsForMotorFlights": true,
    "IsFlightCostBalanceSelectable": true,
    "IsSoloFlight": true,
    "IsCouponNumberRequired": true,
    "MinNrOfAircraftSeatsRequired": "sample string 3"
  }
}

text/html

Sample:
{"Sorting":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"SearchFilter":{"FlightCode":"sample string 1","FlightTypeName":"sample string 2","InstructorRequired":true,"ObserverPilotOrInstructorRequired":true,"IsCheckFlight":true,"IsPassengerFlight":true,"IsForGliderFlights":true,"IsForTowFlights":true,"IsForMotorFlights":true,"IsFlightCostBalanceSelectable":true,"IsSoloFlight":true,"IsCouponNumberRequired":true,"MinNrOfAircraftSeatsRequired":"sample string 3"}}

application/xml, text/xml

Sample:
<PageableSearchFilterOfFlightTypeOverviewSearchFilter2wUL0CGL 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.Club">
    <d2p1:FlightCode>sample string 1</d2p1:FlightCode>
    <d2p1:FlightTypeName>sample string 2</d2p1:FlightTypeName>
    <d2p1:InstructorRequired>true</d2p1:InstructorRequired>
    <d2p1:IsCheckFlight>true</d2p1:IsCheckFlight>
    <d2p1:IsCouponNumberRequired>true</d2p1:IsCouponNumberRequired>
    <d2p1:IsFlightCostBalanceSelectable>true</d2p1:IsFlightCostBalanceSelectable>
    <d2p1:IsForGliderFlights>true</d2p1:IsForGliderFlights>
    <d2p1:IsForMotorFlights>true</d2p1:IsForMotorFlights>
    <d2p1:IsForTowFlights>true</d2p1:IsForTowFlights>
    <d2p1:IsPassengerFlight>true</d2p1:IsPassengerFlight>
    <d2p1:IsSoloFlight>true</d2p1:IsSoloFlight>
    <d2p1:MinNrOfAircraftSeatsRequired>sample string 3</d2p1:MinNrOfAircraftSeatsRequired>
    <d2p1:ObserverPilotOrInstructorRequired>true</d2p1:ObserverPilotOrInstructorRequired>
  </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>
</PageableSearchFilterOfFlightTypeOverviewSearchFilter2wUL0CGL>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PagedListOfFlightTypeOverview
NameDescriptionTypeAdditional information
Items

Collection of FlightTypeOverview

None.

PageStart

integer

None.

PageSize

integer

None.

TotalRows

integer

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.