GET api/v1/flights/motorflights
Gets the motor flight overviews of all flights and flight types.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of FlightOverviewName | Description | Type | Additional information |
---|---|---|---|
FlightId | globally unique identifier |
None. |
|
FlightDate | date |
None. |
|
Immatriculation | string |
None. |
|
PilotName | string |
None. |
|
SecondCrewName | string |
None. |
|
FlightComment | string |
None. |
|
AirState | integer |
None. |
|
ValidationState | integer |
None. |
|
ProcessState | integer |
None. |
|
FlightCode | string |
None. |
|
FlightTypeName | string |
None. |
|
LdgDateTime | date |
None. |
|
IsSoloFlight | boolean |
None. |
|
StartDateTime | date |
None. |
|
StartType | integer |
None. |
|
StartLocation | string |
None. |
|
LdgLocation | string |
None. |
|
FlightDuration | time interval |
None. |
|
BlockDuration | time interval |
None. |
|
BlockEndDateTime | date |
None. |
|
BlockStartDateTime | date |
None. |
|
Id | globally unique identifier |
None. |
|
FlightDistance | decimal number |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "FlightId": "a20a3ffd-c166-4b36-a0be-c20245c3c5a1", "FlightDate": "2024-04-05T18:23:22.1551748+02:00", "Immatriculation": "sample string 2", "PilotName": "sample string 3", "SecondCrewName": "sample string 4", "FlightComment": "sample string 5", "AirState": 6, "ValidationState": 7, "ProcessState": 8, "FlightCode": "sample string 9", "FlightTypeName": "sample string 10", "LdgDateTime": "2024-04-05T16:23:22.1551748Z", "IsSoloFlight": true, "StartDateTime": "2024-04-05T16:23:22.1551748Z", "StartType": 1, "StartLocation": "sample string 12", "LdgLocation": "sample string 13", "FlightDuration": "00:00:01", "BlockDuration": "00:00:01", "BlockEndDateTime": "2024-04-05T18:23:22.1551748+02:00", "BlockStartDateTime": "2024-04-05T18:23:22.1551748+02:00", "Id": "a20a3ffd-c166-4b36-a0be-c20245c3c5a1", "FlightDistance": 1.0, "CanUpdateRecord": true, "CanDeleteRecord": true }, { "FlightId": "a20a3ffd-c166-4b36-a0be-c20245c3c5a1", "FlightDate": "2024-04-05T18:23:22.1551748+02:00", "Immatriculation": "sample string 2", "PilotName": "sample string 3", "SecondCrewName": "sample string 4", "FlightComment": "sample string 5", "AirState": 6, "ValidationState": 7, "ProcessState": 8, "FlightCode": "sample string 9", "FlightTypeName": "sample string 10", "LdgDateTime": "2024-04-05T16:23:22.1551748Z", "IsSoloFlight": true, "StartDateTime": "2024-04-05T16:23:22.1551748Z", "StartType": 1, "StartLocation": "sample string 12", "LdgLocation": "sample string 13", "FlightDuration": "00:00:01", "BlockDuration": "00:00:01", "BlockEndDateTime": "2024-04-05T18:23:22.1551748+02:00", "BlockStartDateTime": "2024-04-05T18:23:22.1551748+02:00", "Id": "a20a3ffd-c166-4b36-a0be-c20245c3c5a1", "FlightDistance": 1.0, "CanUpdateRecord": true, "CanDeleteRecord": true } ]
text/html
Sample:
[{"FlightId":"a20a3ffd-c166-4b36-a0be-c20245c3c5a1","FlightDate":"2024-04-05T18:23:22.1551748+02:00","Immatriculation":"sample string 2","PilotName":"sample string 3","SecondCrewName":"sample string 4","FlightComment":"sample string 5","AirState":6,"ValidationState":7,"ProcessState":8,"FlightCode":"sample string 9","FlightTypeName":"sample string 10","LdgDateTime":"2024-04-05T16:23:22.1551748Z","IsSoloFlight":true,"StartDateTime":"2024-04-05T16:23:22.1551748Z","StartType":1,"StartLocation":"sample string 12","LdgLocation":"sample string 13","FlightDuration":"00:00:01","BlockDuration":"00:00:01","BlockEndDateTime":"2024-04-05T18:23:22.1551748+02:00","BlockStartDateTime":"2024-04-05T18:23:22.1551748+02:00","Id":"a20a3ffd-c166-4b36-a0be-c20245c3c5a1","FlightDistance":1.0,"CanUpdateRecord":true,"CanDeleteRecord":true},{"FlightId":"a20a3ffd-c166-4b36-a0be-c20245c3c5a1","FlightDate":"2024-04-05T18:23:22.1551748+02:00","Immatriculation":"sample string 2","PilotName":"sample string 3","SecondCrewName":"sample string 4","FlightComment":"sample string 5","AirState":6,"ValidationState":7,"ProcessState":8,"FlightCode":"sample string 9","FlightTypeName":"sample string 10","LdgDateTime":"2024-04-05T16:23:22.1551748Z","IsSoloFlight":true,"StartDateTime":"2024-04-05T16:23:22.1551748Z","StartType":1,"StartLocation":"sample string 12","LdgLocation":"sample string 13","FlightDuration":"00:00:01","BlockDuration":"00:00:01","BlockEndDateTime":"2024-04-05T18:23:22.1551748+02:00","BlockStartDateTime":"2024-04-05T18:23:22.1551748+02:00","Id":"a20a3ffd-c166-4b36-a0be-c20245c3c5a1","FlightDistance":1.0,"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">a20a3ffd-c166-4b36-a0be-c20245c3c5a1</Id> <AirState>6</AirState> <BlockDuration>PT1S</BlockDuration> <BlockDurationInSeconds>1</BlockDurationInSeconds> <BlockEndDateTime>2024-04-05T18:23:22.1551748+02:00</BlockEndDateTime> <BlockStartDateTime>2024-04-05T18:23:22.1551748+02:00</BlockStartDateTime> <CreatedByUserId>b66edf0d-5025-4e1b-8618-c26d775c8e03</CreatedByUserId> <CreatedOn>2024-04-05T18:23:22.1551748+02:00</CreatedOn> <FlightCode>sample string 9</FlightCode> <FlightComment>sample string 5</FlightComment> <FlightDate>2024-04-05T18:23:22.1551748+02:00</FlightDate> <FlightDistance>1</FlightDistance> <FlightDuration>PT1S</FlightDuration> <FlightDurationInSeconds>1</FlightDurationInSeconds> <FlightId>a20a3ffd-c166-4b36-a0be-c20245c3c5a1</FlightId> <FlightTypeName>sample string 10</FlightTypeName> <Immatriculation>sample string 2</Immatriculation> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2024-04-05T16:23:22.1551748Z</LdgDateTime> <LdgLocation>sample string 13</LdgLocation> <PilotName>sample string 3</PilotName> <PilotPersonId>f4293520-501b-4b7d-a09b-8b12be40136f</PilotPersonId> <ProcessState>8</ProcessState> <ProcessStateId>17</ProcessStateId> <SecondCrewName>sample string 4</SecondCrewName> <StartDateTime>2024-04-05T16:23:22.1551748Z</StartDateTime> <StartLocation>sample string 12</StartLocation> <StartType>1</StartType> <ValidationState>7</ValidationState> </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">a20a3ffd-c166-4b36-a0be-c20245c3c5a1</Id> <AirState>6</AirState> <BlockDuration>PT1S</BlockDuration> <BlockDurationInSeconds>1</BlockDurationInSeconds> <BlockEndDateTime>2024-04-05T18:23:22.1551748+02:00</BlockEndDateTime> <BlockStartDateTime>2024-04-05T18:23:22.1551748+02:00</BlockStartDateTime> <CreatedByUserId>b66edf0d-5025-4e1b-8618-c26d775c8e03</CreatedByUserId> <CreatedOn>2024-04-05T18:23:22.1551748+02:00</CreatedOn> <FlightCode>sample string 9</FlightCode> <FlightComment>sample string 5</FlightComment> <FlightDate>2024-04-05T18:23:22.1551748+02:00</FlightDate> <FlightDistance>1</FlightDistance> <FlightDuration>PT1S</FlightDuration> <FlightDurationInSeconds>1</FlightDurationInSeconds> <FlightId>a20a3ffd-c166-4b36-a0be-c20245c3c5a1</FlightId> <FlightTypeName>sample string 10</FlightTypeName> <Immatriculation>sample string 2</Immatriculation> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2024-04-05T16:23:22.1551748Z</LdgDateTime> <LdgLocation>sample string 13</LdgLocation> <PilotName>sample string 3</PilotName> <PilotPersonId>f4293520-501b-4b7d-a09b-8b12be40136f</PilotPersonId> <ProcessState>8</ProcessState> <ProcessStateId>17</ProcessStateId> <SecondCrewName>sample string 4</SecondCrewName> <StartDateTime>2024-04-05T16:23:22.1551748Z</StartDateTime> <StartLocation>sample string 12</StartLocation> <StartType>1</StartType> <ValidationState>7</ValidationState> </FlightOverview> </ArrayOfFlightOverview>