GET api/v1/flights/motorflights

Request Information

URI Parameters

None.

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": "332d1e4b-7e13-431c-b4fc-fe998b195887",
    "FlightDate": "2024-04-19T21:08:45.4532885+02: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": "2024-04-19T19:08:45.4532885Z",
    "IsSoloFlight": true,
    "StartDateTime": "2024-04-19T19:08:45.4532885Z",
    "StartType": 1,
    "StartLocation": "sample string 10",
    "LdgLocation": "sample string 11",
    "FlightDuration": "00:00:01",
    "Id": "332d1e4b-7e13-431c-b4fc-fe998b195887",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  {
    "FlightId": "332d1e4b-7e13-431c-b4fc-fe998b195887",
    "FlightDate": "2024-04-19T21:08:45.4532885+02: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": "2024-04-19T19:08:45.4532885Z",
    "IsSoloFlight": true,
    "StartDateTime": "2024-04-19T19:08:45.4532885Z",
    "StartType": 1,
    "StartLocation": "sample string 10",
    "LdgLocation": "sample string 11",
    "FlightDuration": "00:00:01",
    "Id": "332d1e4b-7e13-431c-b4fc-fe998b195887",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  }
]

text/html

Sample:
[{"FlightId":"332d1e4b-7e13-431c-b4fc-fe998b195887","FlightDate":"2024-04-19T21:08:45.4532885+02: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":"2024-04-19T19:08:45.4532885Z","IsSoloFlight":true,"StartDateTime":"2024-04-19T19:08:45.4532885Z","StartType":1,"StartLocation":"sample string 10","LdgLocation":"sample string 11","FlightDuration":"00:00:01","Id":"332d1e4b-7e13-431c-b4fc-fe998b195887","CanUpdateRecord":true,"CanDeleteRecord":true},{"FlightId":"332d1e4b-7e13-431c-b4fc-fe998b195887","FlightDate":"2024-04-19T21:08:45.4532885+02: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":"2024-04-19T19:08:45.4532885Z","IsSoloFlight":true,"StartDateTime":"2024-04-19T19:08:45.4532885Z","StartType":1,"StartLocation":"sample string 10","LdgLocation":"sample string 11","FlightDuration":"00:00:01","Id":"332d1e4b-7e13-431c-b4fc-fe998b195887","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">332d1e4b-7e13-431c-b4fc-fe998b195887</Id>
    <AirState>6</AirState>
    <FlightCode>sample string 8</FlightCode>
    <FlightComment>sample string 5</FlightComment>
    <FlightDate>2024-04-19T21:08:45.4532885+02:00</FlightDate>
    <FlightDuration>PT1S</FlightDuration>
    <FlightDurationInSeconds>1</FlightDurationInSeconds>
    <FlightId>332d1e4b-7e13-431c-b4fc-fe998b195887</FlightId>
    <Immatriculation>sample string 2</Immatriculation>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2024-04-19T19:08:45.4532885Z</LdgDateTime>
    <LdgLocation>sample string 11</LdgLocation>
    <PilotName>sample string 3</PilotName>
    <ProcessState>7</ProcessState>
    <SecondCrewName>sample string 4</SecondCrewName>
    <StartDateTime>2024-04-19T19:08:45.4532885Z</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">332d1e4b-7e13-431c-b4fc-fe998b195887</Id>
    <AirState>6</AirState>
    <FlightCode>sample string 8</FlightCode>
    <FlightComment>sample string 5</FlightComment>
    <FlightDate>2024-04-19T21:08:45.4532885+02:00</FlightDate>
    <FlightDuration>PT1S</FlightDuration>
    <FlightDurationInSeconds>1</FlightDurationInSeconds>
    <FlightId>332d1e4b-7e13-431c-b4fc-fe998b195887</FlightId>
    <Immatriculation>sample string 2</Immatriculation>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2024-04-19T19:08:45.4532885Z</LdgDateTime>
    <LdgLocation>sample string 11</LdgLocation>
    <PilotName>sample string 3</PilotName>
    <ProcessState>7</ProcessState>
    <SecondCrewName>sample string 4</SecondCrewName>
    <StartDateTime>2024-04-19T19:08:45.4532885Z</StartDateTime>
    <StartLocation>sample string 10</StartLocation>
    <StartType>1</StartType>
  </FlightOverview>
</ArrayOfFlightOverview>