POST api/v1/flightreports/export/excel/{pageStart}/{pageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageStart

integer

Default value is 0

pageSize

integer

Default value is 100

Body Parameters

PageableSearchFilterOfFlightReportFilterCriteria
NameDescriptionTypeAdditional information
Sorting

Dictionary of string [key] and string [value]

None.

SearchFilter

FlightReportFilterCriteria

None.

Request Formats

application/json, text/json

Sample:
{
  "Sorting": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "SearchFilter": {
    "FlightDate": {
      "From": "2023-02-06T16:32:45.4409524+01:00",
      "To": "2023-02-06T16:32:45.4409524+01:00"
    },
    "FlightCrewPersonId": "2a8ae84a-559f-4547-846f-3dc79aab4d31",
    "LocationId": "ae9a154e-47dc-4224-875a-0f5d1caa7859",
    "GliderFlights": true,
    "MotorFlights": true,
    "TowFlights": true
  }
}

text/html

Sample:
{"Sorting":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"SearchFilter":{"FlightDate":{"From":"2023-02-06T16:32:45.4409524+01:00","To":"2023-02-06T16:32:45.4409524+01:00"},"FlightCrewPersonId":"2a8ae84a-559f-4547-846f-3dc79aab4d31","LocationId":"ae9a154e-47dc-4224-875a-0f5d1caa7859","GliderFlights":true,"MotorFlights":true,"TowFlights":true}}

application/xml, text/xml

Sample:
<PageableSearchFilterOfFlightReportFilterCriteriaPEPWWnL8 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.Reporting.Flights">
    <d2p1:FlightCrewPersonId>2a8ae84a-559f-4547-846f-3dc79aab4d31</d2p1:FlightCrewPersonId>
    <d2p1:FlightDate>
      <From>2023-02-06T16:32:45.4409524+01:00</From>
      <To>2023-02-06T16:32:45.4409524+01:00</To>
    </d2p1:FlightDate>
    <d2p1:GliderFlights>true</d2p1:GliderFlights>
    <d2p1:LocationId>ae9a154e-47dc-4224-875a-0f5d1caa7859</d2p1:LocationId>
    <d2p1:MotorFlights>true</d2p1:MotorFlights>
    <d2p1:TowFlights>true</d2p1:TowFlights>
  </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>
</PageableSearchFilterOfFlightReportFilterCriteriaPEPWWnL8>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FlightReportResult
NameDescriptionTypeAdditional information
FlightReportFilterCriteria

FlightReportFilterCriteria

None.

Flights

PagedListOfFlightReportDataRecord

None.

FlightReportSummaries

Collection of FlightReportSummary

None.

Response Formats

application/json, text/json

Sample:
{
  "FlightReportFilterCriteria": {
    "FlightDate": {
      "From": "2023-02-06T16:32:45.4565718+01:00",
      "To": "2023-02-06T16:32:45.4565718+01:00"
    },
    "FlightCrewPersonId": "d0d90abe-9726-4f0f-8d42-a20afeb82a1e",
    "LocationId": "df72e0ea-5a1f-4940-9941-39f036145a38",
    "GliderFlights": true,
    "MotorFlights": true,
    "TowFlights": true
  },
  "FlightReportSummaries": [
    {
      "GroupBy": "sample string 1",
      "TotalStarts": 2,
      "TotalLdgs": 3,
      "TotalFlights": 4,
      "TotalFlightDuration": "00:00:01"
    },
    {
      "GroupBy": "sample string 1",
      "TotalStarts": 2,
      "TotalLdgs": 3,
      "TotalFlights": 4,
      "TotalFlightDuration": "00:00:01"
    }
  ]
}

text/html

Sample:
{"FlightReportFilterCriteria":{"FlightDate":{"From":"2023-02-06T16:32:45.4565718+01:00","To":"2023-02-06T16:32:45.4565718+01:00"},"FlightCrewPersonId":"d0d90abe-9726-4f0f-8d42-a20afeb82a1e","LocationId":"df72e0ea-5a1f-4940-9941-39f036145a38","GliderFlights":true,"MotorFlights":true,"TowFlights":true},"FlightReportSummaries":[{"GroupBy":"sample string 1","TotalStarts":2,"TotalLdgs":3,"TotalFlights":4,"TotalFlightDuration":"00:00:01"},{"GroupBy":"sample string 1","TotalStarts":2,"TotalLdgs":3,"TotalFlights":4,"TotalFlightDuration":"00:00:01"}]}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.