GET api/v1/flights

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": "73f47511-aef7-4c3d-9eff-13420cef57f8",
    "FlightDate": "2024-11-21T09:34:52.5377339+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": "2024-11-21T08:34:52.5377339Z",
    "IsSoloFlight": true,
    "StartDateTime": "2024-11-21T08:34:52.5377339Z",
    "StartType": 1,
    "StartLocation": "sample string 10",
    "LdgLocation": "sample string 11",
    "FlightDuration": "00:00:01",
    "Id": "73f47511-aef7-4c3d-9eff-13420cef57f8",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  {
    "FlightId": "73f47511-aef7-4c3d-9eff-13420cef57f8",
    "FlightDate": "2024-11-21T09:34:52.5377339+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": "2024-11-21T08:34:52.5377339Z",
    "IsSoloFlight": true,
    "StartDateTime": "2024-11-21T08:34:52.5377339Z",
    "StartType": 1,
    "StartLocation": "sample string 10",
    "LdgLocation": "sample string 11",
    "FlightDuration": "00:00:01",
    "Id": "73f47511-aef7-4c3d-9eff-13420cef57f8",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  }
]

text/html

Sample:
[{"FlightId":"73f47511-aef7-4c3d-9eff-13420cef57f8","FlightDate":"2024-11-21T09:34:52.5377339+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":"2024-11-21T08:34:52.5377339Z","IsSoloFlight":true,"StartDateTime":"2024-11-21T08:34:52.5377339Z","StartType":1,"StartLocation":"sample string 10","LdgLocation":"sample string 11","FlightDuration":"00:00:01","Id":"73f47511-aef7-4c3d-9eff-13420cef57f8","CanUpdateRecord":true,"CanDeleteRecord":true},{"FlightId":"73f47511-aef7-4c3d-9eff-13420cef57f8","FlightDate":"2024-11-21T09:34:52.5377339+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":"2024-11-21T08:34:52.5377339Z","IsSoloFlight":true,"StartDateTime":"2024-11-21T08:34:52.5377339Z","StartType":1,"StartLocation":"sample string 10","LdgLocation":"sample string 11","FlightDuration":"00:00:01","Id":"73f47511-aef7-4c3d-9eff-13420cef57f8","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">73f47511-aef7-4c3d-9eff-13420cef57f8</Id>
    <AirState>6</AirState>
    <FlightCode>sample string 8</FlightCode>
    <FlightComment>sample string 5</FlightComment>
    <FlightDate>2024-11-21T09:34:52.5377339+01:00</FlightDate>
    <FlightDuration>PT1S</FlightDuration>
    <FlightDurationInSeconds>1</FlightDurationInSeconds>
    <FlightId>73f47511-aef7-4c3d-9eff-13420cef57f8</FlightId>
    <Immatriculation>sample string 2</Immatriculation>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2024-11-21T08:34:52.5377339Z</LdgDateTime>
    <LdgLocation>sample string 11</LdgLocation>
    <PilotName>sample string 3</PilotName>
    <ProcessState>7</ProcessState>
    <SecondCrewName>sample string 4</SecondCrewName>
    <StartDateTime>2024-11-21T08:34:52.5377339Z</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">73f47511-aef7-4c3d-9eff-13420cef57f8</Id>
    <AirState>6</AirState>
    <FlightCode>sample string 8</FlightCode>
    <FlightComment>sample string 5</FlightComment>
    <FlightDate>2024-11-21T09:34:52.5377339+01:00</FlightDate>
    <FlightDuration>PT1S</FlightDuration>
    <FlightDurationInSeconds>1</FlightDurationInSeconds>
    <FlightId>73f47511-aef7-4c3d-9eff-13420cef57f8</FlightId>
    <Immatriculation>sample string 2</Immatriculation>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2024-11-21T08:34:52.5377339Z</LdgDateTime>
    <LdgLocation>sample string 11</LdgLocation>
    <PilotName>sample string 3</PilotName>
    <ProcessState>7</ProcessState>
    <SecondCrewName>sample string 4</SecondCrewName>
    <StartDateTime>2024-11-21T08:34:52.5377339Z</StartDateTime>
    <StartLocation>sample string 10</StartLocation>
    <StartType>1</StartType>
  </FlightOverview>
</ArrayOfFlightOverview>