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": "8403f907-e99d-45e0-b388-c135e482d4be",
  "StartType": 1,
  "FlightDate": "2019-10-24T04:39:40.4445129+02:00",
  "GliderFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "WinchOperatorPersonId": "770b1311-9595-4bb4-81f5-d8385ce19ce3",
    "StartPosition": 1,
    "PassengerPersonId": "1f9608e3-24a1-49ca-8615-07db5a07d714",
    "FlightId": "8e228c4f-8de6-4110-b30c-60b3cf462077",
    "AircraftId": "798b1f92-a718-42b5-bbcf-422324b05d82",
    "PilotPersonId": "1f51f166-4857-4c5c-8ed7-21b32c6cbd22",
    "CoPilotPersonId": "6ef081b7-82f0-4848-a83e-d9c5b2c56d9d",
    "InstructorPersonId": "cd671ae8-4fd6-498e-a638-1e672aafe98a",
    "ObserverPersonId": "79cbd62f-c194-4c5c-9b1d-d7315602ff8d",
    "InvoiceRecipientPersonId": "de7a9723-c694-4edd-8e31-8059d9657d6e",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "29744eaa-4321-4f4d-9308-8ce0abd25000",
    "LdgDateTime": "2019-10-24T04:39:40.4445129+02:00",
    "StartDateTime": "2019-10-24T04:39:40.4445129+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "ae4f5f3c-8890-4d84-b77b-7ec1b3612247",
    "LdgLocationId": "d252fa03-8467-43a9-8edb-d4b82d0a3c39",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "8e228c4f-8de6-4110-b30c-60b3cf462077",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "TowFlightDetailsData": {
    "FlightId": "e72596c9-67ac-44c1-bc0c-450d08bee43b",
    "AircraftId": "81e2dca4-33ef-4044-bd5c-467bfa9c34a8",
    "PilotPersonId": "390cfba4-074b-46d6-b1d7-737a39a272b4",
    "CoPilotPersonId": "0b61cd9d-85c3-4f31-aae7-4d528f0209b2",
    "InstructorPersonId": "197c6134-1df9-485b-8924-9d3e16ca4061",
    "ObserverPersonId": "062e6d5f-8126-400a-b9fd-7ad13fb2f726",
    "InvoiceRecipientPersonId": "cc6f1c3b-b311-40ae-95f2-9295549457f0",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 3",
    "AirStateId": 4,
    "ProcessStateId": 5,
    "FlightTypeId": "5b325012-559c-42eb-8db6-39549e5b60f5",
    "LdgDateTime": "2019-10-24T04:39:40.4445129+02:00",
    "StartDateTime": "2019-10-24T04:39:40.4445129+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "6859d668-cdfb-4f00-bd8b-da12f02b0b7e",
    "LdgLocationId": "58c53e79-f256-414f-bacb-03716b4a4d63",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 8",
    "InboundRoute": "sample string 9",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 12",
    "Id": "e72596c9-67ac-44c1-bc0c-450d08bee43b",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "MotorFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "BlockStartDateTime": "2019-10-24T04:39:40.4445129+02:00",
    "BlockEndDateTime": "2019-10-24T04:39:40.4445129+02:00",
    "PassengerPersonIds": [
      "38927d29-cfe1-43e5-a2e6-e9a5714171d5",
      "19793e29-c3b4-4808-9bf8-d9fa56fe3dfb"
    ],
    "NrOfPassengers": 1,
    "NrOfLdgsOnStartLocation": 1,
    "FlightId": "faa97a1a-6fad-4a5a-adea-5d9aaf9401df",
    "AircraftId": "926d9b9e-f67c-4015-b604-7f709505a3aa",
    "PilotPersonId": "60dc6a5a-052c-4c78-8dda-2db01bdd56e4",
    "CoPilotPersonId": "304b4224-b46f-4426-ac5e-0a842f0491fc",
    "InstructorPersonId": "06de4df8-4fde-4e95-9a36-ce5ab8f4533a",
    "ObserverPersonId": "402a600b-fed8-41b1-8107-26b9af5502c6",
    "InvoiceRecipientPersonId": "58a6cb7f-50d4-4036-8d81-91cfe9946a6e",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "d6c65b42-907a-4c2e-a15f-4c019cf6d2ec",
    "LdgDateTime": "2019-10-24T04:39:40.4445129+02:00",
    "StartDateTime": "2019-10-24T04:39:40.4445129+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "8cf4cf46-7e27-468a-9064-112783fd9c28",
    "LdgLocationId": "d77f40af-de6a-4981-b519-2256a2effd80",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "faa97a1a-6fad-4a5a-adea-5d9aaf9401df",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "Id": "8403f907-e99d-45e0-b388-c135e482d4be",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"FlightId":"8403f907-e99d-45e0-b388-c135e482d4be","StartType":1,"FlightDate":"2019-10-24T04:39:40.4445129+02:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"770b1311-9595-4bb4-81f5-d8385ce19ce3","StartPosition":1,"PassengerPersonId":"1f9608e3-24a1-49ca-8615-07db5a07d714","FlightId":"8e228c4f-8de6-4110-b30c-60b3cf462077","AircraftId":"798b1f92-a718-42b5-bbcf-422324b05d82","PilotPersonId":"1f51f166-4857-4c5c-8ed7-21b32c6cbd22","CoPilotPersonId":"6ef081b7-82f0-4848-a83e-d9c5b2c56d9d","InstructorPersonId":"cd671ae8-4fd6-498e-a638-1e672aafe98a","ObserverPersonId":"79cbd62f-c194-4c5c-9b1d-d7315602ff8d","InvoiceRecipientPersonId":"de7a9723-c694-4edd-8e31-8059d9657d6e","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"29744eaa-4321-4f4d-9308-8ce0abd25000","LdgDateTime":"2019-10-24T04:39:40.4445129+02:00","StartDateTime":"2019-10-24T04:39:40.4445129+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"ae4f5f3c-8890-4d84-b77b-7ec1b3612247","LdgLocationId":"d252fa03-8467-43a9-8edb-d4b82d0a3c39","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"8e228c4f-8de6-4110-b30c-60b3cf462077","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"e72596c9-67ac-44c1-bc0c-450d08bee43b","AircraftId":"81e2dca4-33ef-4044-bd5c-467bfa9c34a8","PilotPersonId":"390cfba4-074b-46d6-b1d7-737a39a272b4","CoPilotPersonId":"0b61cd9d-85c3-4f31-aae7-4d528f0209b2","InstructorPersonId":"197c6134-1df9-485b-8924-9d3e16ca4061","ObserverPersonId":"062e6d5f-8126-400a-b9fd-7ad13fb2f726","InvoiceRecipientPersonId":"cc6f1c3b-b311-40ae-95f2-9295549457f0","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"5b325012-559c-42eb-8db6-39549e5b60f5","LdgDateTime":"2019-10-24T04:39:40.4445129+02:00","StartDateTime":"2019-10-24T04:39:40.4445129+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"6859d668-cdfb-4f00-bd8b-da12f02b0b7e","LdgLocationId":"58c53e79-f256-414f-bacb-03716b4a4d63","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"e72596c9-67ac-44c1-bc0c-450d08bee43b","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2019-10-24T04:39:40.4445129+02:00","BlockEndDateTime":"2019-10-24T04:39:40.4445129+02:00","PassengerPersonIds":["38927d29-cfe1-43e5-a2e6-e9a5714171d5","19793e29-c3b4-4808-9bf8-d9fa56fe3dfb"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"faa97a1a-6fad-4a5a-adea-5d9aaf9401df","AircraftId":"926d9b9e-f67c-4015-b604-7f709505a3aa","PilotPersonId":"60dc6a5a-052c-4c78-8dda-2db01bdd56e4","CoPilotPersonId":"304b4224-b46f-4426-ac5e-0a842f0491fc","InstructorPersonId":"06de4df8-4fde-4e95-9a36-ce5ab8f4533a","ObserverPersonId":"402a600b-fed8-41b1-8107-26b9af5502c6","InvoiceRecipientPersonId":"58a6cb7f-50d4-4036-8d81-91cfe9946a6e","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"d6c65b42-907a-4c2e-a15f-4c019cf6d2ec","LdgDateTime":"2019-10-24T04:39:40.4445129+02:00","StartDateTime":"2019-10-24T04:39:40.4445129+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"8cf4cf46-7e27-468a-9064-112783fd9c28","LdgLocationId":"d77f40af-de6a-4981-b519-2256a2effd80","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"faa97a1a-6fad-4a5a-adea-5d9aaf9401df","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"8403f907-e99d-45e0-b388-c135e482d4be","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">8403f907-e99d-45e0-b388-c135e482d4be</Id>
  <FlightDate>2019-10-24T04:39:40.4445129+02:00</FlightDate>
  <FlightId>8403f907-e99d-45e0-b388-c135e482d4be</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">8e228c4f-8de6-4110-b30c-60b3cf462077</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>798b1f92-a718-42b5-bbcf-422324b05d82</AircraftId>
    <CoPilotPersonId>6ef081b7-82f0-4848-a83e-d9c5b2c56d9d</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>8e228c4f-8de6-4110-b30c-60b3cf462077</FlightId>
    <FlightTypeId>29744eaa-4321-4f4d-9308-8ce0abd25000</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>cd671ae8-4fd6-498e-a638-1e672aafe98a</InstructorPersonId>
    <InvoiceRecipientPersonId>de7a9723-c694-4edd-8e31-8059d9657d6e</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2019-10-24T04:39:40.4445129+02:00</LdgDateTime>
    <LdgLocationId>d252fa03-8467-43a9-8edb-d4b82d0a3c39</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>79cbd62f-c194-4c5c-9b1d-d7315602ff8d</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>1f51f166-4857-4c5c-8ed7-21b32c6cbd22</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2019-10-24T04:39:40.4445129+02:00</StartDateTime>
    <StartLocationId>ae4f5f3c-8890-4d84-b77b-7ec1b3612247</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <CouponNumber>sample string 1</CouponNumber>
    <PassengerPersonId>1f9608e3-24a1-49ca-8615-07db5a07d714</PassengerPersonId>
    <StartPosition>1</StartPosition>
    <WinchOperatorPersonId>770b1311-9595-4bb4-81f5-d8385ce19ce3</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">faa97a1a-6fad-4a5a-adea-5d9aaf9401df</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>926d9b9e-f67c-4015-b604-7f709505a3aa</AircraftId>
    <CoPilotPersonId>304b4224-b46f-4426-ac5e-0a842f0491fc</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>faa97a1a-6fad-4a5a-adea-5d9aaf9401df</FlightId>
    <FlightTypeId>d6c65b42-907a-4c2e-a15f-4c019cf6d2ec</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>06de4df8-4fde-4e95-9a36-ce5ab8f4533a</InstructorPersonId>
    <InvoiceRecipientPersonId>58a6cb7f-50d4-4036-8d81-91cfe9946a6e</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2019-10-24T04:39:40.4445129+02:00</LdgDateTime>
    <LdgLocationId>d77f40af-de6a-4981-b519-2256a2effd80</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>402a600b-fed8-41b1-8107-26b9af5502c6</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>60dc6a5a-052c-4c78-8dda-2db01bdd56e4</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2019-10-24T04:39:40.4445129+02:00</StartDateTime>
    <StartLocationId>8cf4cf46-7e27-468a-9064-112783fd9c28</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <BlockEndDateTime>2019-10-24T04:39:40.4445129+02:00</BlockEndDateTime>
    <BlockStartDateTime>2019-10-24T04:39:40.4445129+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>38927d29-cfe1-43e5-a2e6-e9a5714171d5</d3p1:guid>
      <d3p1:guid>19793e29-c3b4-4808-9bf8-d9fa56fe3dfb</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">e72596c9-67ac-44c1-bc0c-450d08bee43b</Id>
    <AirStateId>4</AirStateId>
    <AircraftId>81e2dca4-33ef-4044-bd5c-467bfa9c34a8</AircraftId>
    <CoPilotPersonId>0b61cd9d-85c3-4f31-aae7-4d528f0209b2</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 3</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>e72596c9-67ac-44c1-bc0c-450d08bee43b</FlightId>
    <FlightTypeId>5b325012-559c-42eb-8db6-39549e5b60f5</FlightTypeId>
    <InboundRoute>sample string 9</InboundRoute>
    <InstructorPersonId>197c6134-1df9-485b-8924-9d3e16ca4061</InstructorPersonId>
    <InvoiceRecipientPersonId>cc6f1c3b-b311-40ae-95f2-9295549457f0</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2019-10-24T04:39:40.4445129+02:00</LdgDateTime>
    <LdgLocationId>58c53e79-f256-414f-bacb-03716b4a4d63</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>062e6d5f-8126-400a-b9fd-7ad13fb2f726</ObserverPersonId>
    <OutboundRoute>sample string 8</OutboundRoute>
    <PilotPersonId>390cfba4-074b-46d6-b1d7-737a39a272b4</PilotPersonId>
    <ProcessStateId>5</ProcessStateId>
    <StartDateTime>2019-10-24T04:39:40.4445129+02:00</StartDateTime>
    <StartLocationId>6859d668-cdfb-4f00-bd8b-da12f02b0b7e</StartLocationId>
    <ValidationErrors>sample string 12</ValidationErrors>
  </TowFlightDetailsData>
</FlightDetails>