GET api/v1/flights/motorflights/daterange/{fromDate}/{toDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fromDate

date

Required

toDate

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of FlightOverview
NameDescriptionTypeAdditional information
FlightId

globally unique identifier

None.

FlightDate

date

None.

Immatriculation

string

None.

PilotName

string

None.

SecondCrewName

string

None.

FlightComment

string

None.

AirState

integer

None.

ProcessState

integer

None.

FlightCode

string

None.

LdgDateTime

date

None.

IsSoloFlight

boolean

None.

StartDateTime

date

None.

StartType

integer

None.

StartLocation

string

None.

LdgLocation

string

None.

FlightDuration

time interval

None.

Id

globally unique identifier

None.

CanUpdateRecord

boolean

None.

CanDeleteRecord

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FlightId": "e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a",
    "FlightDate": "2019-12-14T04:01:36.2206213+01:00",
    "Immatriculation": "sample string 2",
    "PilotName": "sample string 3",
    "SecondCrewName": "sample string 4",
    "FlightComment": "sample string 5",
    "AirState": 6,
    "ProcessState": 7,
    "FlightCode": "sample string 8",
    "LdgDateTime": "2019-12-14T03:01:36.2206213Z",
    "IsSoloFlight": true,
    "StartDateTime": "2019-12-14T03:01:36.2206213Z",
    "StartType": 1,
    "StartLocation": "sample string 10",
    "LdgLocation": "sample string 11",
    "FlightDuration": "00:00:01",
    "Id": "e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  {
    "FlightId": "e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a",
    "FlightDate": "2019-12-14T04:01:36.2206213+01:00",
    "Immatriculation": "sample string 2",
    "PilotName": "sample string 3",
    "SecondCrewName": "sample string 4",
    "FlightComment": "sample string 5",
    "AirState": 6,
    "ProcessState": 7,
    "FlightCode": "sample string 8",
    "LdgDateTime": "2019-12-14T03:01:36.2206213Z",
    "IsSoloFlight": true,
    "StartDateTime": "2019-12-14T03:01:36.2206213Z",
    "StartType": 1,
    "StartLocation": "sample string 10",
    "LdgLocation": "sample string 11",
    "FlightDuration": "00:00:01",
    "Id": "e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  }
]

text/html

Sample:
[{"FlightId":"e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a","FlightDate":"2019-12-14T04:01:36.2206213+01:00","Immatriculation":"sample string 2","PilotName":"sample string 3","SecondCrewName":"sample string 4","FlightComment":"sample string 5","AirState":6,"ProcessState":7,"FlightCode":"sample string 8","LdgDateTime":"2019-12-14T03:01:36.2206213Z","IsSoloFlight":true,"StartDateTime":"2019-12-14T03:01:36.2206213Z","StartType":1,"StartLocation":"sample string 10","LdgLocation":"sample string 11","FlightDuration":"00:00:01","Id":"e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a","CanUpdateRecord":true,"CanDeleteRecord":true},{"FlightId":"e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a","FlightDate":"2019-12-14T04:01:36.2206213+01:00","Immatriculation":"sample string 2","PilotName":"sample string 3","SecondCrewName":"sample string 4","FlightComment":"sample string 5","AirState":6,"ProcessState":7,"FlightCode":"sample string 8","LdgDateTime":"2019-12-14T03:01:36.2206213Z","IsSoloFlight":true,"StartDateTime":"2019-12-14T03:01:36.2206213Z","StartType":1,"StartLocation":"sample string 10","LdgLocation":"sample string 11","FlightDuration":"00:00:01","Id":"e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a","CanUpdateRecord":true,"CanDeleteRecord":true}]

application/xml, text/xml

Sample:
<ArrayOfFlightOverview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Flight">
  <FlightOverview>
    <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
    <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
    <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a</Id>
    <AirState>6</AirState>
    <FlightCode>sample string 8</FlightCode>
    <FlightComment>sample string 5</FlightComment>
    <FlightDate>2019-12-14T04:01:36.2206213+01:00</FlightDate>
    <FlightDuration>PT1S</FlightDuration>
    <FlightDurationInSeconds>1</FlightDurationInSeconds>
    <FlightId>e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a</FlightId>
    <Immatriculation>sample string 2</Immatriculation>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2019-12-14T03:01:36.2206213Z</LdgDateTime>
    <LdgLocation>sample string 11</LdgLocation>
    <PilotName>sample string 3</PilotName>
    <ProcessState>7</ProcessState>
    <SecondCrewName>sample string 4</SecondCrewName>
    <StartDateTime>2019-12-14T03:01:36.2206213Z</StartDateTime>
    <StartLocation>sample string 10</StartLocation>
    <StartType>1</StartType>
  </FlightOverview>
  <FlightOverview>
    <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
    <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
    <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a</Id>
    <AirState>6</AirState>
    <FlightCode>sample string 8</FlightCode>
    <FlightComment>sample string 5</FlightComment>
    <FlightDate>2019-12-14T04:01:36.2206213+01:00</FlightDate>
    <FlightDuration>PT1S</FlightDuration>
    <FlightDurationInSeconds>1</FlightDurationInSeconds>
    <FlightId>e90b0c80-4c56-42f6-a1dd-6dd37b2abf6a</FlightId>
    <Immatriculation>sample string 2</Immatriculation>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2019-12-14T03:01:36.2206213Z</LdgDateTime>
    <LdgLocation>sample string 11</LdgLocation>
    <PilotName>sample string 3</PilotName>
    <ProcessState>7</ProcessState>
    <SecondCrewName>sample string 4</SecondCrewName>
    <StartDateTime>2019-12-14T03:01:36.2206213Z</StartDateTime>
    <StartLocation>sample string 10</StartLocation>
    <StartType>1</StartType>
  </FlightOverview>
</ArrayOfFlightOverview>