GET api/v1/flights/{flightId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
flightId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

FlightDetails
NameDescriptionTypeAdditional 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": "dc2a16c3-d856-49b9-b5d9-bd4748a4d8a2",
  "StartType": 1,
  "FlightDate": "2024-11-21T09:32:13.2564654+01:00",
  "GliderFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "WinchOperatorPersonId": "f2cfb19f-d246-44cc-a457-77d239e4e9ab",
    "StartPosition": 1,
    "PassengerPersonId": "b0f2817d-a7ee-4303-ad13-0fefc8220a6b",
    "FlightId": "e5419f03-63a9-44dd-be88-4236f29006a2",
    "AircraftId": "d3ce5931-5462-4ad7-a58e-f63bc722c48b",
    "PilotPersonId": "1ee609e0-66d0-45a1-8f7a-f3b94466eb22",
    "CoPilotPersonId": "1e9e9b6b-df97-4dd5-bd91-b3b22de9779b",
    "InstructorPersonId": "2f3d8de7-e28d-451c-b647-cfda05a76e87",
    "ObserverPersonId": "abf4d2c5-a006-4f98-928e-d088f010b455",
    "InvoiceRecipientPersonId": "01b9c147-83d5-45bc-b439-706106a68f66",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "f19681e4-d62b-4c8c-9599-a79531816ba8",
    "LdgDateTime": "2024-11-21T09:32:13.2564654+01:00",
    "StartDateTime": "2024-11-21T09:32:13.2564654+01:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "b5fe4824-da31-43c3-85ff-91075b22b671",
    "LdgLocationId": "08ef7a4e-cce1-487c-bea0-5c2ea9824374",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "e5419f03-63a9-44dd-be88-4236f29006a2",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "TowFlightDetailsData": {
    "FlightId": "f49c9d18-8aaf-4ca7-b353-1fee931e6d2e",
    "AircraftId": "93ded65b-29a1-422c-a4b4-a222e6caa414",
    "PilotPersonId": "f26962e9-efd0-4ea3-a779-ef7d3af3fe16",
    "CoPilotPersonId": "6395ae1c-f837-4b52-a768-b695f2dd91c4",
    "InstructorPersonId": "6722e68b-56cd-47be-a716-fe78abb9719e",
    "ObserverPersonId": "7e2720d1-46d5-4315-af43-79efcb88a6b1",
    "InvoiceRecipientPersonId": "9a518b40-a838-4ca2-bfd5-7f40e57da399",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 3",
    "AirStateId": 4,
    "ProcessStateId": 5,
    "FlightTypeId": "489a53d9-1fd8-4fc6-82cf-05490e9808ab",
    "LdgDateTime": "2024-11-21T09:32:13.2564654+01:00",
    "StartDateTime": "2024-11-21T09:32:13.2564654+01:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "5695a65c-8592-46b4-80c7-c690497bfb00",
    "LdgLocationId": "6229ff68-f43d-41eb-b17e-b9f09b1d0c10",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 8",
    "InboundRoute": "sample string 9",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 12",
    "Id": "f49c9d18-8aaf-4ca7-b353-1fee931e6d2e",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "MotorFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "BlockStartDateTime": "2024-11-21T09:32:13.2564654+01:00",
    "BlockEndDateTime": "2024-11-21T09:32:13.2564654+01:00",
    "PassengerPersonIds": [
      "a71ba25a-730f-40d9-8669-8b36b9949f46",
      "fc724c7d-e854-49e6-b77b-88658aaaf927"
    ],
    "NrOfPassengers": 1,
    "NrOfLdgsOnStartLocation": 1,
    "FlightId": "d2c9bcd9-621c-4e89-b7cb-210ec01a5d70",
    "AircraftId": "4fd837bd-5042-47d2-9279-6fcf27331b94",
    "PilotPersonId": "6ab33691-1c4c-414f-b40e-33e1ac8ac2c0",
    "CoPilotPersonId": "e535d749-ab34-435d-8afc-1490ff8c191b",
    "InstructorPersonId": "33b5af29-225a-4107-a0f6-df7f259fa9d0",
    "ObserverPersonId": "98d3f566-bb07-4937-99ee-f46f1a239b08",
    "InvoiceRecipientPersonId": "da5ec311-5663-4466-8832-d13a11e227f1",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "17b69bb2-f6dc-4680-812f-86b3acb8fad2",
    "LdgDateTime": "2024-11-21T09:32:13.2564654+01:00",
    "StartDateTime": "2024-11-21T09:32:13.2564654+01:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "dcf5480b-fb34-4a0c-a586-106470027135",
    "LdgLocationId": "17af3fd1-6bff-410a-a2fe-6d6f9592828c",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "d2c9bcd9-621c-4e89-b7cb-210ec01a5d70",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "Id": "dc2a16c3-d856-49b9-b5d9-bd4748a4d8a2",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"FlightId":"dc2a16c3-d856-49b9-b5d9-bd4748a4d8a2","StartType":1,"FlightDate":"2024-11-21T09:32:13.2564654+01:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"f2cfb19f-d246-44cc-a457-77d239e4e9ab","StartPosition":1,"PassengerPersonId":"b0f2817d-a7ee-4303-ad13-0fefc8220a6b","FlightId":"e5419f03-63a9-44dd-be88-4236f29006a2","AircraftId":"d3ce5931-5462-4ad7-a58e-f63bc722c48b","PilotPersonId":"1ee609e0-66d0-45a1-8f7a-f3b94466eb22","CoPilotPersonId":"1e9e9b6b-df97-4dd5-bd91-b3b22de9779b","InstructorPersonId":"2f3d8de7-e28d-451c-b647-cfda05a76e87","ObserverPersonId":"abf4d2c5-a006-4f98-928e-d088f010b455","InvoiceRecipientPersonId":"01b9c147-83d5-45bc-b439-706106a68f66","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"f19681e4-d62b-4c8c-9599-a79531816ba8","LdgDateTime":"2024-11-21T09:32:13.2564654+01:00","StartDateTime":"2024-11-21T09:32:13.2564654+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"b5fe4824-da31-43c3-85ff-91075b22b671","LdgLocationId":"08ef7a4e-cce1-487c-bea0-5c2ea9824374","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"e5419f03-63a9-44dd-be88-4236f29006a2","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"f49c9d18-8aaf-4ca7-b353-1fee931e6d2e","AircraftId":"93ded65b-29a1-422c-a4b4-a222e6caa414","PilotPersonId":"f26962e9-efd0-4ea3-a779-ef7d3af3fe16","CoPilotPersonId":"6395ae1c-f837-4b52-a768-b695f2dd91c4","InstructorPersonId":"6722e68b-56cd-47be-a716-fe78abb9719e","ObserverPersonId":"7e2720d1-46d5-4315-af43-79efcb88a6b1","InvoiceRecipientPersonId":"9a518b40-a838-4ca2-bfd5-7f40e57da399","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"489a53d9-1fd8-4fc6-82cf-05490e9808ab","LdgDateTime":"2024-11-21T09:32:13.2564654+01:00","StartDateTime":"2024-11-21T09:32:13.2564654+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"5695a65c-8592-46b4-80c7-c690497bfb00","LdgLocationId":"6229ff68-f43d-41eb-b17e-b9f09b1d0c10","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"f49c9d18-8aaf-4ca7-b353-1fee931e6d2e","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2024-11-21T09:32:13.2564654+01:00","BlockEndDateTime":"2024-11-21T09:32:13.2564654+01:00","PassengerPersonIds":["a71ba25a-730f-40d9-8669-8b36b9949f46","fc724c7d-e854-49e6-b77b-88658aaaf927"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"d2c9bcd9-621c-4e89-b7cb-210ec01a5d70","AircraftId":"4fd837bd-5042-47d2-9279-6fcf27331b94","PilotPersonId":"6ab33691-1c4c-414f-b40e-33e1ac8ac2c0","CoPilotPersonId":"e535d749-ab34-435d-8afc-1490ff8c191b","InstructorPersonId":"33b5af29-225a-4107-a0f6-df7f259fa9d0","ObserverPersonId":"98d3f566-bb07-4937-99ee-f46f1a239b08","InvoiceRecipientPersonId":"da5ec311-5663-4466-8832-d13a11e227f1","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"17b69bb2-f6dc-4680-812f-86b3acb8fad2","LdgDateTime":"2024-11-21T09:32:13.2564654+01:00","StartDateTime":"2024-11-21T09:32:13.2564654+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"dcf5480b-fb34-4a0c-a586-106470027135","LdgLocationId":"17af3fd1-6bff-410a-a2fe-6d6f9592828c","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"d2c9bcd9-621c-4e89-b7cb-210ec01a5d70","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"dc2a16c3-d856-49b9-b5d9-bd4748a4d8a2","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">dc2a16c3-d856-49b9-b5d9-bd4748a4d8a2</Id>
  <FlightDate>2024-11-21T09:32:13.2564654+01:00</FlightDate>
  <FlightId>dc2a16c3-d856-49b9-b5d9-bd4748a4d8a2</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">e5419f03-63a9-44dd-be88-4236f29006a2</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>d3ce5931-5462-4ad7-a58e-f63bc722c48b</AircraftId>
    <CoPilotPersonId>1e9e9b6b-df97-4dd5-bd91-b3b22de9779b</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>e5419f03-63a9-44dd-be88-4236f29006a2</FlightId>
    <FlightTypeId>f19681e4-d62b-4c8c-9599-a79531816ba8</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>2f3d8de7-e28d-451c-b647-cfda05a76e87</InstructorPersonId>
    <InvoiceRecipientPersonId>01b9c147-83d5-45bc-b439-706106a68f66</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2024-11-21T09:32:13.2564654+01:00</LdgDateTime>
    <LdgLocationId>08ef7a4e-cce1-487c-bea0-5c2ea9824374</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>abf4d2c5-a006-4f98-928e-d088f010b455</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>1ee609e0-66d0-45a1-8f7a-f3b94466eb22</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2024-11-21T09:32:13.2564654+01:00</StartDateTime>
    <StartLocationId>b5fe4824-da31-43c3-85ff-91075b22b671</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <CouponNumber>sample string 1</CouponNumber>
    <PassengerPersonId>b0f2817d-a7ee-4303-ad13-0fefc8220a6b</PassengerPersonId>
    <StartPosition>1</StartPosition>
    <WinchOperatorPersonId>f2cfb19f-d246-44cc-a457-77d239e4e9ab</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">d2c9bcd9-621c-4e89-b7cb-210ec01a5d70</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>4fd837bd-5042-47d2-9279-6fcf27331b94</AircraftId>
    <CoPilotPersonId>e535d749-ab34-435d-8afc-1490ff8c191b</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>d2c9bcd9-621c-4e89-b7cb-210ec01a5d70</FlightId>
    <FlightTypeId>17b69bb2-f6dc-4680-812f-86b3acb8fad2</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>33b5af29-225a-4107-a0f6-df7f259fa9d0</InstructorPersonId>
    <InvoiceRecipientPersonId>da5ec311-5663-4466-8832-d13a11e227f1</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2024-11-21T09:32:13.2564654+01:00</LdgDateTime>
    <LdgLocationId>17af3fd1-6bff-410a-a2fe-6d6f9592828c</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>98d3f566-bb07-4937-99ee-f46f1a239b08</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>6ab33691-1c4c-414f-b40e-33e1ac8ac2c0</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2024-11-21T09:32:13.2564654+01:00</StartDateTime>
    <StartLocationId>dcf5480b-fb34-4a0c-a586-106470027135</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <BlockEndDateTime>2024-11-21T09:32:13.2564654+01:00</BlockEndDateTime>
    <BlockStartDateTime>2024-11-21T09:32:13.2564654+01: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>a71ba25a-730f-40d9-8669-8b36b9949f46</d3p1:guid>
      <d3p1:guid>fc724c7d-e854-49e6-b77b-88658aaaf927</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">f49c9d18-8aaf-4ca7-b353-1fee931e6d2e</Id>
    <AirStateId>4</AirStateId>
    <AircraftId>93ded65b-29a1-422c-a4b4-a222e6caa414</AircraftId>
    <CoPilotPersonId>6395ae1c-f837-4b52-a768-b695f2dd91c4</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 3</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>f49c9d18-8aaf-4ca7-b353-1fee931e6d2e</FlightId>
    <FlightTypeId>489a53d9-1fd8-4fc6-82cf-05490e9808ab</FlightTypeId>
    <InboundRoute>sample string 9</InboundRoute>
    <InstructorPersonId>6722e68b-56cd-47be-a716-fe78abb9719e</InstructorPersonId>
    <InvoiceRecipientPersonId>9a518b40-a838-4ca2-bfd5-7f40e57da399</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2024-11-21T09:32:13.2564654+01:00</LdgDateTime>
    <LdgLocationId>6229ff68-f43d-41eb-b17e-b9f09b1d0c10</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>7e2720d1-46d5-4315-af43-79efcb88a6b1</ObserverPersonId>
    <OutboundRoute>sample string 8</OutboundRoute>
    <PilotPersonId>f26962e9-efd0-4ea3-a779-ef7d3af3fe16</PilotPersonId>
    <ProcessStateId>5</ProcessStateId>
    <StartDateTime>2024-11-21T09:32:13.2564654+01:00</StartDateTime>
    <StartLocationId>5695a65c-8592-46b4-80c7-c690497bfb00</StartLocationId>
    <ValidationErrors>sample string 12</ValidationErrors>
  </TowFlightDetailsData>
</FlightDetails>