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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageStart

integer

Default value is 0

pageSize

integer

Default value is 100

Body Parameters

PageableSearchFilterOfAircraftReservationOverviewSearchFilter
NameDescriptionTypeAdditional information
Sorting

Dictionary of string [key] and string [value]

None.

SearchFilter

AircraftReservationOverviewSearchFilter

None.

Request Formats

application/json, text/json

Sample:
{
  "Sorting": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "SearchFilter": {
    "Start": {
      "From": "2019-10-15T19:19:06.2806315+02:00",
      "To": "2019-10-15T19:19:06.2806315+02:00"
    },
    "End": {
      "From": "2019-10-15T19:19:06.2806315+02:00",
      "To": "2019-10-15T19:19:06.2806315+02:00"
    },
    "IsAllDayReservation": true,
    "Immatriculation": "sample string 1",
    "PilotName": "sample string 2",
    "LocationName": "sample string 3",
    "SecondCrewName": "sample string 4",
    "ReservationTypeName": "sample string 5",
    "Remarks": "sample string 6"
  }
}

text/html

Sample:
{"Sorting":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"SearchFilter":{"Start":{"From":"2019-10-15T19:19:06.2806315+02:00","To":"2019-10-15T19:19:06.2806315+02:00"},"End":{"From":"2019-10-15T19:19:06.2806315+02:00","To":"2019-10-15T19:19:06.2806315+02:00"},"IsAllDayReservation":true,"Immatriculation":"sample string 1","PilotName":"sample string 2","LocationName":"sample string 3","SecondCrewName":"sample string 4","ReservationTypeName":"sample string 5","Remarks":"sample string 6"}}

application/xml, text/xml

Sample:
<PageableSearchFilterOfAircraftReservationOverviewSearchFilterk_SKzgjyL 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.AircraftReservation">
    <d2p1:End>
      <From>2019-10-15T19:19:06.2806315+02:00</From>
      <To>2019-10-15T19:19:06.2806315+02:00</To>
    </d2p1:End>
    <d2p1:Immatriculation>sample string 1</d2p1:Immatriculation>
    <d2p1:IsAllDayReservation>true</d2p1:IsAllDayReservation>
    <d2p1:LocationName>sample string 3</d2p1:LocationName>
    <d2p1:PilotName>sample string 2</d2p1:PilotName>
    <d2p1:Remarks>sample string 6</d2p1:Remarks>
    <d2p1:ReservationTypeName>sample string 5</d2p1:ReservationTypeName>
    <d2p1:SecondCrewName>sample string 4</d2p1:SecondCrewName>
    <d2p1:Start>
      <From>2019-10-15T19:19:06.2806315+02:00</From>
      <To>2019-10-15T19:19:06.2806315+02:00</To>
    </d2p1:Start>
  </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>
</PageableSearchFilterOfAircraftReservationOverviewSearchFilterk_SKzgjyL>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PagedListOfAircraftReservationOverview
NameDescriptionTypeAdditional information
Items

Collection of AircraftReservationOverview

None.

PageStart

integer

None.

PageSize

integer

None.

TotalRows

integer

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.