GET api/v1/flights/{flightId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
flightId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
FlightDetailsName | Description | Type | Additional information |
---|---|---|---|
FlightId | globally unique identifier |
None. |
|
StartType | integer |
None. |
|
FlightDate | date |
None. |
|
GliderFlightDetailsData | GliderFlightDetailsData |
None. |
|
TowFlightDetailsData | TowFlightDetailsData |
None. |
|
MotorFlightDetailsData | MotorFlightDetailsData |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "FlightId": "19557aed-f4d2-4efd-a5c6-19f3d1d6d186", "StartType": 1, "FlightDate": "2025-04-04T02:46:51.1227475+02:00", "GliderFlightDetailsData": { "CouponNumber": "sample string 1", "WinchOperatorPersonId": "647b4a8f-4683-45f9-9bcc-e7576534b275", "StartPosition": 1, "PassengerPersonId": "ece5ab3f-1e5e-43cd-8fbc-d1da6c1afbd1", "FlightId": "89e48249-e40e-4f76-9e4e-1dff378ecaee", "AircraftId": "bda187a1-904f-4df0-adb2-3a70d537282c", "PilotPersonId": "21e438dc-02a4-49d5-b260-258636aa46ee", "CoPilotPersonId": "db31a536-3a3b-463c-9485-0944db9b3643", "InstructorPersonId": "c33e7c70-1791-43c5-852a-ab430542342d", "ObserverPersonId": "d767ad52-10dd-4522-90e5-df38ac13db8b", "InvoiceRecipientPersonId": "f1ab14a6-7ac7-4039-b263-5dd6617e839d", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 4", "AirStateId": 5, "ProcessStateId": 6, "FlightTypeId": "97be40f4-01da-4aed-8a85-d82570b30230", "LdgDateTime": "2025-04-04T02:46:51.1227475+02:00", "StartDateTime": "2025-04-04T02:46:51.1227475+02:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "a28bb964-1e74-4607-8ddd-06a101217731", "LdgLocationId": "36a5a32e-898e-4aa1-b5c9-4307ef289da7", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 9", "InboundRoute": "sample string 10", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 13", "Id": "89e48249-e40e-4f76-9e4e-1dff378ecaee", "CanUpdateRecord": true, "CanDeleteRecord": true }, "TowFlightDetailsData": { "FlightId": "6feb09e0-fe98-4cb6-9f6c-6123c9ccffc4", "AircraftId": "6ad7c2c5-d75b-440e-addd-5592b8b4e6a5", "PilotPersonId": "28d233ee-3b25-426f-80f0-a5dd48e6c7a1", "CoPilotPersonId": "0f94edfd-1950-4272-a261-e045dbb435ec", "InstructorPersonId": "544b74d7-b72c-4c0d-a94c-8896687371d4", "ObserverPersonId": "135aacee-bcbf-4a82-aa5d-91f04a960e17", "InvoiceRecipientPersonId": "92a649df-cda5-4dd7-8eaa-1980bd74a18f", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 3", "AirStateId": 4, "ProcessStateId": 5, "FlightTypeId": "ee1b017c-f9fe-4dbd-b696-cddc1715e1e1", "LdgDateTime": "2025-04-04T02:46:51.1227475+02:00", "StartDateTime": "2025-04-04T02:46:51.1227475+02:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "6f40e2e7-33f8-4e7c-b5b7-25ff9506cbbc", "LdgLocationId": "ec04475e-f7c0-4648-82f6-7d3b9de25b7f", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 8", "InboundRoute": "sample string 9", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 12", "Id": "6feb09e0-fe98-4cb6-9f6c-6123c9ccffc4", "CanUpdateRecord": true, "CanDeleteRecord": true }, "MotorFlightDetailsData": { "CouponNumber": "sample string 1", "BlockStartDateTime": "2025-04-04T02:46:51.1227475+02:00", "BlockEndDateTime": "2025-04-04T02:46:51.1227475+02:00", "PassengerPersonIds": [ "7fe9421e-0a64-4bf6-985b-9ba52e252187", "79a2ff36-ea88-4e95-9b00-1aba07d53ebd" ], "NrOfPassengers": 1, "NrOfLdgsOnStartLocation": 1, "FlightId": "44923a15-13a3-4165-b0f5-ed72c16dd558", "AircraftId": "7f90c756-73ef-44de-b25b-dd08996caa0f", "PilotPersonId": "a70ecc23-638e-447f-b15a-75ea083e277b", "CoPilotPersonId": "678d978f-6833-4e75-a364-fdd098a590b5", "InstructorPersonId": "93f94cb5-f50b-47a7-9617-158408deb2f1", "ObserverPersonId": "aa107ac6-5ea1-48cb-b124-2fe16e6b01b4", "InvoiceRecipientPersonId": "9449dfed-b76d-4847-a72d-bd9712972fa2", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 4", "AirStateId": 5, "ProcessStateId": 6, "FlightTypeId": "aa1b269a-d08c-4b31-86ab-b3a3ec3894e8", "LdgDateTime": "2025-04-04T02:46:51.1227475+02:00", "StartDateTime": "2025-04-04T02:46:51.1227475+02:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "d2b822a3-aad8-4be5-b85d-9749d9511742", "LdgLocationId": "4df5f074-db55-40f6-b4a0-3a7d04873a6d", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 9", "InboundRoute": "sample string 10", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 13", "Id": "44923a15-13a3-4165-b0f5-ed72c16dd558", "CanUpdateRecord": true, "CanDeleteRecord": true }, "Id": "19557aed-f4d2-4efd-a5c6-19f3d1d6d186", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"FlightId":"19557aed-f4d2-4efd-a5c6-19f3d1d6d186","StartType":1,"FlightDate":"2025-04-04T02:46:51.1227475+02:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"647b4a8f-4683-45f9-9bcc-e7576534b275","StartPosition":1,"PassengerPersonId":"ece5ab3f-1e5e-43cd-8fbc-d1da6c1afbd1","FlightId":"89e48249-e40e-4f76-9e4e-1dff378ecaee","AircraftId":"bda187a1-904f-4df0-adb2-3a70d537282c","PilotPersonId":"21e438dc-02a4-49d5-b260-258636aa46ee","CoPilotPersonId":"db31a536-3a3b-463c-9485-0944db9b3643","InstructorPersonId":"c33e7c70-1791-43c5-852a-ab430542342d","ObserverPersonId":"d767ad52-10dd-4522-90e5-df38ac13db8b","InvoiceRecipientPersonId":"f1ab14a6-7ac7-4039-b263-5dd6617e839d","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"97be40f4-01da-4aed-8a85-d82570b30230","LdgDateTime":"2025-04-04T02:46:51.1227475+02:00","StartDateTime":"2025-04-04T02:46:51.1227475+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"a28bb964-1e74-4607-8ddd-06a101217731","LdgLocationId":"36a5a32e-898e-4aa1-b5c9-4307ef289da7","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"89e48249-e40e-4f76-9e4e-1dff378ecaee","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"6feb09e0-fe98-4cb6-9f6c-6123c9ccffc4","AircraftId":"6ad7c2c5-d75b-440e-addd-5592b8b4e6a5","PilotPersonId":"28d233ee-3b25-426f-80f0-a5dd48e6c7a1","CoPilotPersonId":"0f94edfd-1950-4272-a261-e045dbb435ec","InstructorPersonId":"544b74d7-b72c-4c0d-a94c-8896687371d4","ObserverPersonId":"135aacee-bcbf-4a82-aa5d-91f04a960e17","InvoiceRecipientPersonId":"92a649df-cda5-4dd7-8eaa-1980bd74a18f","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"ee1b017c-f9fe-4dbd-b696-cddc1715e1e1","LdgDateTime":"2025-04-04T02:46:51.1227475+02:00","StartDateTime":"2025-04-04T02:46:51.1227475+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"6f40e2e7-33f8-4e7c-b5b7-25ff9506cbbc","LdgLocationId":"ec04475e-f7c0-4648-82f6-7d3b9de25b7f","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"6feb09e0-fe98-4cb6-9f6c-6123c9ccffc4","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2025-04-04T02:46:51.1227475+02:00","BlockEndDateTime":"2025-04-04T02:46:51.1227475+02:00","PassengerPersonIds":["7fe9421e-0a64-4bf6-985b-9ba52e252187","79a2ff36-ea88-4e95-9b00-1aba07d53ebd"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"44923a15-13a3-4165-b0f5-ed72c16dd558","AircraftId":"7f90c756-73ef-44de-b25b-dd08996caa0f","PilotPersonId":"a70ecc23-638e-447f-b15a-75ea083e277b","CoPilotPersonId":"678d978f-6833-4e75-a364-fdd098a590b5","InstructorPersonId":"93f94cb5-f50b-47a7-9617-158408deb2f1","ObserverPersonId":"aa107ac6-5ea1-48cb-b124-2fe16e6b01b4","InvoiceRecipientPersonId":"9449dfed-b76d-4847-a72d-bd9712972fa2","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"aa1b269a-d08c-4b31-86ab-b3a3ec3894e8","LdgDateTime":"2025-04-04T02:46:51.1227475+02:00","StartDateTime":"2025-04-04T02:46:51.1227475+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"d2b822a3-aad8-4be5-b85d-9749d9511742","LdgLocationId":"4df5f074-db55-40f6-b4a0-3a7d04873a6d","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"44923a15-13a3-4165-b0f5-ed72c16dd558","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"19557aed-f4d2-4efd-a5c6-19f3d1d6d186","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
Sample:
<FlightDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Flight"> <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">19557aed-f4d2-4efd-a5c6-19f3d1d6d186</Id> <FlightDate>2025-04-04T02:46:51.1227475+02:00</FlightDate> <FlightId>19557aed-f4d2-4efd-a5c6-19f3d1d6d186</FlightId> <GliderFlightDetailsData> <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">89e48249-e40e-4f76-9e4e-1dff378ecaee</Id> <AirStateId>5</AirStateId> <AircraftId>bda187a1-904f-4df0-adb2-3a70d537282c</AircraftId> <CoPilotPersonId>db31a536-3a3b-463c-9485-0944db9b3643</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 4</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>89e48249-e40e-4f76-9e4e-1dff378ecaee</FlightId> <FlightTypeId>97be40f4-01da-4aed-8a85-d82570b30230</FlightTypeId> <InboundRoute>sample string 10</InboundRoute> <InstructorPersonId>c33e7c70-1791-43c5-852a-ab430542342d</InstructorPersonId> <InvoiceRecipientPersonId>f1ab14a6-7ac7-4039-b263-5dd6617e839d</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2025-04-04T02:46:51.1227475+02:00</LdgDateTime> <LdgLocationId>36a5a32e-898e-4aa1-b5c9-4307ef289da7</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>d767ad52-10dd-4522-90e5-df38ac13db8b</ObserverPersonId> <OutboundRoute>sample string 9</OutboundRoute> <PilotPersonId>21e438dc-02a4-49d5-b260-258636aa46ee</PilotPersonId> <ProcessStateId>6</ProcessStateId> <StartDateTime>2025-04-04T02:46:51.1227475+02:00</StartDateTime> <StartLocationId>a28bb964-1e74-4607-8ddd-06a101217731</StartLocationId> <ValidationErrors>sample string 13</ValidationErrors> <CouponNumber>sample string 1</CouponNumber> <PassengerPersonId>ece5ab3f-1e5e-43cd-8fbc-d1da6c1afbd1</PassengerPersonId> <StartPosition>1</StartPosition> <WinchOperatorPersonId>647b4a8f-4683-45f9-9bcc-e7576534b275</WinchOperatorPersonId> </GliderFlightDetailsData> <MotorFlightDetailsData> <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">44923a15-13a3-4165-b0f5-ed72c16dd558</Id> <AirStateId>5</AirStateId> <AircraftId>7f90c756-73ef-44de-b25b-dd08996caa0f</AircraftId> <CoPilotPersonId>678d978f-6833-4e75-a364-fdd098a590b5</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 4</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>44923a15-13a3-4165-b0f5-ed72c16dd558</FlightId> <FlightTypeId>aa1b269a-d08c-4b31-86ab-b3a3ec3894e8</FlightTypeId> <InboundRoute>sample string 10</InboundRoute> <InstructorPersonId>93f94cb5-f50b-47a7-9617-158408deb2f1</InstructorPersonId> <InvoiceRecipientPersonId>9449dfed-b76d-4847-a72d-bd9712972fa2</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2025-04-04T02:46:51.1227475+02:00</LdgDateTime> <LdgLocationId>4df5f074-db55-40f6-b4a0-3a7d04873a6d</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>aa107ac6-5ea1-48cb-b124-2fe16e6b01b4</ObserverPersonId> <OutboundRoute>sample string 9</OutboundRoute> <PilotPersonId>a70ecc23-638e-447f-b15a-75ea083e277b</PilotPersonId> <ProcessStateId>6</ProcessStateId> <StartDateTime>2025-04-04T02:46:51.1227475+02:00</StartDateTime> <StartLocationId>d2b822a3-aad8-4be5-b85d-9749d9511742</StartLocationId> <ValidationErrors>sample string 13</ValidationErrors> <BlockEndDateTime>2025-04-04T02:46:51.1227475+02:00</BlockEndDateTime> <BlockStartDateTime>2025-04-04T02:46:51.1227475+02:00</BlockStartDateTime> <CouponNumber>sample string 1</CouponNumber> <NrOfLdgsOnStartLocation>1</NrOfLdgsOnStartLocation> <NrOfPassengers>1</NrOfPassengers> <PassengerPersonIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:guid>7fe9421e-0a64-4bf6-985b-9ba52e252187</d3p1:guid> <d3p1:guid>79a2ff36-ea88-4e95-9b00-1aba07d53ebd</d3p1:guid> </PassengerPersonIds> </MotorFlightDetailsData> <StartType>1</StartType> <TowFlightDetailsData> <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">6feb09e0-fe98-4cb6-9f6c-6123c9ccffc4</Id> <AirStateId>4</AirStateId> <AircraftId>6ad7c2c5-d75b-440e-addd-5592b8b4e6a5</AircraftId> <CoPilotPersonId>0f94edfd-1950-4272-a261-e045dbb435ec</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 3</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>6feb09e0-fe98-4cb6-9f6c-6123c9ccffc4</FlightId> <FlightTypeId>ee1b017c-f9fe-4dbd-b696-cddc1715e1e1</FlightTypeId> <InboundRoute>sample string 9</InboundRoute> <InstructorPersonId>544b74d7-b72c-4c0d-a94c-8896687371d4</InstructorPersonId> <InvoiceRecipientPersonId>92a649df-cda5-4dd7-8eaa-1980bd74a18f</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2025-04-04T02:46:51.1227475+02:00</LdgDateTime> <LdgLocationId>ec04475e-f7c0-4648-82f6-7d3b9de25b7f</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>135aacee-bcbf-4a82-aa5d-91f04a960e17</ObserverPersonId> <OutboundRoute>sample string 8</OutboundRoute> <PilotPersonId>28d233ee-3b25-426f-80f0-a5dd48e6c7a1</PilotPersonId> <ProcessStateId>5</ProcessStateId> <StartDateTime>2025-04-04T02:46:51.1227475+02:00</StartDateTime> <StartLocationId>6f40e2e7-33f8-4e7c-b5b7-25ff9506cbbc</StartLocationId> <ValidationErrors>sample string 12</ValidationErrors> </TowFlightDetailsData> </FlightDetails>