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": "7d650bc6-a19f-4e1d-964f-a703a5a7f3cf",
  "StartType": 1,
  "FlightDate": "2023-01-31T05:31:53.9257624+01:00",
  "GliderFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "WinchOperatorPersonId": "7fc5a33a-d2e9-498e-b0b6-4aa348cbb0c9",
    "StartPosition": 1,
    "PassengerPersonId": "247fc224-42a7-4d92-9525-affaee562b1d",
    "FlightId": "540a2d38-5ef0-4418-b641-a6a43f4dec7a",
    "AircraftId": "ddba8799-917d-4700-b115-c0f62a5b21a2",
    "PilotPersonId": "7e4c5774-4f00-4362-a088-ea802f68699a",
    "CoPilotPersonId": "789efe91-c00d-4881-b6b1-e560a50b7ff1",
    "InstructorPersonId": "a5d35a22-ad86-414d-980f-0975ede1434a",
    "ObserverPersonId": "042f605e-ffb6-406a-80ca-c8d40df491ec",
    "InvoiceRecipientPersonId": "782ca1f6-07e2-4aa5-896c-8298ca1b2fe3",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "b6c5acee-cd52-4199-87dd-fc045a86ddaf",
    "LdgDateTime": "2023-01-31T05:31:53.9257624+01:00",
    "StartDateTime": "2023-01-31T05:31:53.9257624+01:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "3f784d4d-a04d-443d-a4f4-b8e44480e219",
    "LdgLocationId": "d4e7a0e4-5cc5-4bbb-b984-9cdca3d36e55",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "540a2d38-5ef0-4418-b641-a6a43f4dec7a",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "TowFlightDetailsData": {
    "FlightId": "9805d5ce-87f3-488b-a841-6ba6c0e4809e",
    "AircraftId": "6babd030-402a-4ad0-8a09-b4e86c9d452e",
    "PilotPersonId": "eea5a7ff-789c-4ee8-9c2d-c9bbbda497d9",
    "CoPilotPersonId": "cd2fa0b9-3950-4bd6-aa46-68ff2ee31312",
    "InstructorPersonId": "51bc5e8b-b12a-478a-a7b0-14d5111b4af6",
    "ObserverPersonId": "3198d8d3-830b-4419-8079-8a174b32d687",
    "InvoiceRecipientPersonId": "436d32d7-6d5e-42cf-8bdf-0a5ad3849cf2",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 3",
    "AirStateId": 4,
    "ProcessStateId": 5,
    "FlightTypeId": "e4206f7b-2149-40db-aaba-895b2f2bfddd",
    "LdgDateTime": "2023-01-31T05:31:53.9257624+01:00",
    "StartDateTime": "2023-01-31T05:31:53.9257624+01:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "8b340029-a5a5-4171-b3ac-bc9ee832cbb1",
    "LdgLocationId": "36dab324-9867-4672-befd-2a8ecfecf384",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 8",
    "InboundRoute": "sample string 9",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 12",
    "Id": "9805d5ce-87f3-488b-a841-6ba6c0e4809e",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "MotorFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "BlockStartDateTime": "2023-01-31T05:31:53.9257624+01:00",
    "BlockEndDateTime": "2023-01-31T05:31:53.9257624+01:00",
    "PassengerPersonIds": [
      "366cca76-b095-4866-ab4b-3dee7e227bbf",
      "c4580e9f-fb2c-46dc-8b7f-417b6bce7c35"
    ],
    "NrOfPassengers": 1,
    "NrOfLdgsOnStartLocation": 1,
    "FlightId": "72ce4365-b87b-4ad0-ba6c-18f210d40748",
    "AircraftId": "50d917bb-b31b-4ba3-8a8a-a8b82110a701",
    "PilotPersonId": "855846db-7be2-42a2-a14f-3e2668d1858f",
    "CoPilotPersonId": "7cd43b5d-b274-4d6a-885c-8882dd570160",
    "InstructorPersonId": "7c612532-c144-4c33-82cf-2b25de258e6b",
    "ObserverPersonId": "3c2cdd7b-95ef-416b-9d7f-479d1e15e35d",
    "InvoiceRecipientPersonId": "49af1c25-079e-4fda-9410-8632490466b5",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "644db497-c883-4ba0-a09a-4e3722768169",
    "LdgDateTime": "2023-01-31T05:31:53.9257624+01:00",
    "StartDateTime": "2023-01-31T05:31:53.9257624+01:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "1c9eb509-3e77-46f7-a1e7-c9746c2900d1",
    "LdgLocationId": "f4303c36-2297-4057-a5de-3f963fdca550",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "72ce4365-b87b-4ad0-ba6c-18f210d40748",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "Id": "7d650bc6-a19f-4e1d-964f-a703a5a7f3cf",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"FlightId":"7d650bc6-a19f-4e1d-964f-a703a5a7f3cf","StartType":1,"FlightDate":"2023-01-31T05:31:53.9257624+01:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"7fc5a33a-d2e9-498e-b0b6-4aa348cbb0c9","StartPosition":1,"PassengerPersonId":"247fc224-42a7-4d92-9525-affaee562b1d","FlightId":"540a2d38-5ef0-4418-b641-a6a43f4dec7a","AircraftId":"ddba8799-917d-4700-b115-c0f62a5b21a2","PilotPersonId":"7e4c5774-4f00-4362-a088-ea802f68699a","CoPilotPersonId":"789efe91-c00d-4881-b6b1-e560a50b7ff1","InstructorPersonId":"a5d35a22-ad86-414d-980f-0975ede1434a","ObserverPersonId":"042f605e-ffb6-406a-80ca-c8d40df491ec","InvoiceRecipientPersonId":"782ca1f6-07e2-4aa5-896c-8298ca1b2fe3","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"b6c5acee-cd52-4199-87dd-fc045a86ddaf","LdgDateTime":"2023-01-31T05:31:53.9257624+01:00","StartDateTime":"2023-01-31T05:31:53.9257624+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"3f784d4d-a04d-443d-a4f4-b8e44480e219","LdgLocationId":"d4e7a0e4-5cc5-4bbb-b984-9cdca3d36e55","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"540a2d38-5ef0-4418-b641-a6a43f4dec7a","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"9805d5ce-87f3-488b-a841-6ba6c0e4809e","AircraftId":"6babd030-402a-4ad0-8a09-b4e86c9d452e","PilotPersonId":"eea5a7ff-789c-4ee8-9c2d-c9bbbda497d9","CoPilotPersonId":"cd2fa0b9-3950-4bd6-aa46-68ff2ee31312","InstructorPersonId":"51bc5e8b-b12a-478a-a7b0-14d5111b4af6","ObserverPersonId":"3198d8d3-830b-4419-8079-8a174b32d687","InvoiceRecipientPersonId":"436d32d7-6d5e-42cf-8bdf-0a5ad3849cf2","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"e4206f7b-2149-40db-aaba-895b2f2bfddd","LdgDateTime":"2023-01-31T05:31:53.9257624+01:00","StartDateTime":"2023-01-31T05:31:53.9257624+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"8b340029-a5a5-4171-b3ac-bc9ee832cbb1","LdgLocationId":"36dab324-9867-4672-befd-2a8ecfecf384","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"9805d5ce-87f3-488b-a841-6ba6c0e4809e","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2023-01-31T05:31:53.9257624+01:00","BlockEndDateTime":"2023-01-31T05:31:53.9257624+01:00","PassengerPersonIds":["366cca76-b095-4866-ab4b-3dee7e227bbf","c4580e9f-fb2c-46dc-8b7f-417b6bce7c35"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"72ce4365-b87b-4ad0-ba6c-18f210d40748","AircraftId":"50d917bb-b31b-4ba3-8a8a-a8b82110a701","PilotPersonId":"855846db-7be2-42a2-a14f-3e2668d1858f","CoPilotPersonId":"7cd43b5d-b274-4d6a-885c-8882dd570160","InstructorPersonId":"7c612532-c144-4c33-82cf-2b25de258e6b","ObserverPersonId":"3c2cdd7b-95ef-416b-9d7f-479d1e15e35d","InvoiceRecipientPersonId":"49af1c25-079e-4fda-9410-8632490466b5","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"644db497-c883-4ba0-a09a-4e3722768169","LdgDateTime":"2023-01-31T05:31:53.9257624+01:00","StartDateTime":"2023-01-31T05:31:53.9257624+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"1c9eb509-3e77-46f7-a1e7-c9746c2900d1","LdgLocationId":"f4303c36-2297-4057-a5de-3f963fdca550","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"72ce4365-b87b-4ad0-ba6c-18f210d40748","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"7d650bc6-a19f-4e1d-964f-a703a5a7f3cf","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">7d650bc6-a19f-4e1d-964f-a703a5a7f3cf</Id>
  <FlightDate>2023-01-31T05:31:53.9257624+01:00</FlightDate>
  <FlightId>7d650bc6-a19f-4e1d-964f-a703a5a7f3cf</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">540a2d38-5ef0-4418-b641-a6a43f4dec7a</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>ddba8799-917d-4700-b115-c0f62a5b21a2</AircraftId>
    <CoPilotPersonId>789efe91-c00d-4881-b6b1-e560a50b7ff1</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>540a2d38-5ef0-4418-b641-a6a43f4dec7a</FlightId>
    <FlightTypeId>b6c5acee-cd52-4199-87dd-fc045a86ddaf</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>a5d35a22-ad86-414d-980f-0975ede1434a</InstructorPersonId>
    <InvoiceRecipientPersonId>782ca1f6-07e2-4aa5-896c-8298ca1b2fe3</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2023-01-31T05:31:53.9257624+01:00</LdgDateTime>
    <LdgLocationId>d4e7a0e4-5cc5-4bbb-b984-9cdca3d36e55</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>042f605e-ffb6-406a-80ca-c8d40df491ec</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>7e4c5774-4f00-4362-a088-ea802f68699a</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2023-01-31T05:31:53.9257624+01:00</StartDateTime>
    <StartLocationId>3f784d4d-a04d-443d-a4f4-b8e44480e219</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <CouponNumber>sample string 1</CouponNumber>
    <PassengerPersonId>247fc224-42a7-4d92-9525-affaee562b1d</PassengerPersonId>
    <StartPosition>1</StartPosition>
    <WinchOperatorPersonId>7fc5a33a-d2e9-498e-b0b6-4aa348cbb0c9</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">72ce4365-b87b-4ad0-ba6c-18f210d40748</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>50d917bb-b31b-4ba3-8a8a-a8b82110a701</AircraftId>
    <CoPilotPersonId>7cd43b5d-b274-4d6a-885c-8882dd570160</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>72ce4365-b87b-4ad0-ba6c-18f210d40748</FlightId>
    <FlightTypeId>644db497-c883-4ba0-a09a-4e3722768169</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>7c612532-c144-4c33-82cf-2b25de258e6b</InstructorPersonId>
    <InvoiceRecipientPersonId>49af1c25-079e-4fda-9410-8632490466b5</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2023-01-31T05:31:53.9257624+01:00</LdgDateTime>
    <LdgLocationId>f4303c36-2297-4057-a5de-3f963fdca550</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>3c2cdd7b-95ef-416b-9d7f-479d1e15e35d</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>855846db-7be2-42a2-a14f-3e2668d1858f</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2023-01-31T05:31:53.9257624+01:00</StartDateTime>
    <StartLocationId>1c9eb509-3e77-46f7-a1e7-c9746c2900d1</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <BlockEndDateTime>2023-01-31T05:31:53.9257624+01:00</BlockEndDateTime>
    <BlockStartDateTime>2023-01-31T05:31:53.9257624+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>366cca76-b095-4866-ab4b-3dee7e227bbf</d3p1:guid>
      <d3p1:guid>c4580e9f-fb2c-46dc-8b7f-417b6bce7c35</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">9805d5ce-87f3-488b-a841-6ba6c0e4809e</Id>
    <AirStateId>4</AirStateId>
    <AircraftId>6babd030-402a-4ad0-8a09-b4e86c9d452e</AircraftId>
    <CoPilotPersonId>cd2fa0b9-3950-4bd6-aa46-68ff2ee31312</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 3</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>9805d5ce-87f3-488b-a841-6ba6c0e4809e</FlightId>
    <FlightTypeId>e4206f7b-2149-40db-aaba-895b2f2bfddd</FlightTypeId>
    <InboundRoute>sample string 9</InboundRoute>
    <InstructorPersonId>51bc5e8b-b12a-478a-a7b0-14d5111b4af6</InstructorPersonId>
    <InvoiceRecipientPersonId>436d32d7-6d5e-42cf-8bdf-0a5ad3849cf2</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2023-01-31T05:31:53.9257624+01:00</LdgDateTime>
    <LdgLocationId>36dab324-9867-4672-befd-2a8ecfecf384</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>3198d8d3-830b-4419-8079-8a174b32d687</ObserverPersonId>
    <OutboundRoute>sample string 8</OutboundRoute>
    <PilotPersonId>eea5a7ff-789c-4ee8-9c2d-c9bbbda497d9</PilotPersonId>
    <ProcessStateId>5</ProcessStateId>
    <StartDateTime>2023-01-31T05:31:53.9257624+01:00</StartDateTime>
    <StartLocationId>8b340029-a5a5-4171-b3ac-bc9ee832cbb1</StartLocationId>
    <ValidationErrors>sample string 12</ValidationErrors>
  </TowFlightDetailsData>
</FlightDetails>