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": "d9cf16a7-eda0-480e-aa6c-ed1ee1951d87",
  "StartType": 1,
  "FlightDate": "2020-04-05T13:00:01.3540953+02:00",
  "GliderFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "WinchOperatorPersonId": "587fe356-15d3-4181-b23a-91709ee495c4",
    "StartPosition": 1,
    "PassengerPersonId": "7d680a48-bc96-4a06-9cbc-ac3a204996a3",
    "FlightId": "d7ee91c2-ff25-4a57-852c-d05a52f61161",
    "AircraftId": "afb1797e-6804-44eb-b95a-46490d838bb9",
    "PilotPersonId": "9d7ad478-cccb-453a-aeb8-08bff9a1f649",
    "CoPilotPersonId": "5ee9ae3e-e6a4-49f2-a87f-8ce76fe044e2",
    "InstructorPersonId": "200e2f90-a2fd-40a1-b22f-a46d20159695",
    "ObserverPersonId": "296f7ad7-2e21-4421-bf1a-f1283d94cef8",
    "InvoiceRecipientPersonId": "7685caff-e613-40fc-8a6b-12ed6409a31b",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "24b46a9f-b19d-4fae-8715-12c4cad494d4",
    "LdgDateTime": "2020-04-05T13:00:01.3540953+02:00",
    "StartDateTime": "2020-04-05T13:00:01.3540953+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "5397268d-3266-4997-8eaf-1bc719cfa9f2",
    "LdgLocationId": "f1b63500-fb29-490e-a712-f00f146a8066",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "d7ee91c2-ff25-4a57-852c-d05a52f61161",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "TowFlightDetailsData": {
    "FlightId": "3a3887ac-a623-453c-919f-f23b663b17e4",
    "AircraftId": "14292b30-5c4a-4eda-adb4-16d86b93e4ae",
    "PilotPersonId": "4aa21456-ac04-40c0-9657-93536144a30f",
    "CoPilotPersonId": "31f3a7a4-9576-473c-a8c1-d7d05ddae6e5",
    "InstructorPersonId": "dbaa4aa5-95d9-4898-a461-22f250ff3b1b",
    "ObserverPersonId": "41b8fe79-8ae9-4638-880d-88f17737da23",
    "InvoiceRecipientPersonId": "aea7428a-d6fd-40ca-930b-3850ca7d8dff",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 3",
    "AirStateId": 4,
    "ProcessStateId": 5,
    "FlightTypeId": "6f141809-bc3b-4f94-8919-9755390e8c96",
    "LdgDateTime": "2020-04-05T13:00:01.3540953+02:00",
    "StartDateTime": "2020-04-05T13:00:01.3540953+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "a5141ec6-e4a8-4505-9bda-05f11f1414e9",
    "LdgLocationId": "c8d4b34f-cbcb-4d2f-8c8b-8dd85c192142",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 8",
    "InboundRoute": "sample string 9",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 12",
    "Id": "3a3887ac-a623-453c-919f-f23b663b17e4",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "MotorFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "BlockStartDateTime": "2020-04-05T13:00:01.3540953+02:00",
    "BlockEndDateTime": "2020-04-05T13:00:01.3540953+02:00",
    "PassengerPersonIds": [
      "12493930-16de-47e6-aa16-0b7d23b1cc0e",
      "0600be26-e003-402c-b3ae-5720d7182888"
    ],
    "NrOfPassengers": 1,
    "NrOfLdgsOnStartLocation": 1,
    "FlightId": "8e636fc3-e7ec-4cc0-a603-ccca1a13e322",
    "AircraftId": "adfbb13a-57f8-4ead-978c-36e364ef8cfa",
    "PilotPersonId": "60bcb1f7-38a5-4d31-bd1e-0e789d27b80f",
    "CoPilotPersonId": "2f07c053-c6d6-4fc4-97a0-2026c595e7ee",
    "InstructorPersonId": "1ca45b3d-040a-416c-9bca-c15c90a78fcc",
    "ObserverPersonId": "40c0a686-8fe5-4385-8728-b66fd2fbe98a",
    "InvoiceRecipientPersonId": "464aee41-254f-44b2-a2d3-574a2e492705",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "65207a7d-28de-474f-822a-c16d91ffcb0e",
    "LdgDateTime": "2020-04-05T13:00:01.3540953+02:00",
    "StartDateTime": "2020-04-05T13:00:01.3540953+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "85d66e33-1098-418e-b886-e5311e065a5d",
    "LdgLocationId": "00519ac2-a9e2-4cd3-b083-e0ef93776208",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "8e636fc3-e7ec-4cc0-a603-ccca1a13e322",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "Id": "d9cf16a7-eda0-480e-aa6c-ed1ee1951d87",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"FlightId":"d9cf16a7-eda0-480e-aa6c-ed1ee1951d87","StartType":1,"FlightDate":"2020-04-05T13:00:01.3540953+02:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"587fe356-15d3-4181-b23a-91709ee495c4","StartPosition":1,"PassengerPersonId":"7d680a48-bc96-4a06-9cbc-ac3a204996a3","FlightId":"d7ee91c2-ff25-4a57-852c-d05a52f61161","AircraftId":"afb1797e-6804-44eb-b95a-46490d838bb9","PilotPersonId":"9d7ad478-cccb-453a-aeb8-08bff9a1f649","CoPilotPersonId":"5ee9ae3e-e6a4-49f2-a87f-8ce76fe044e2","InstructorPersonId":"200e2f90-a2fd-40a1-b22f-a46d20159695","ObserverPersonId":"296f7ad7-2e21-4421-bf1a-f1283d94cef8","InvoiceRecipientPersonId":"7685caff-e613-40fc-8a6b-12ed6409a31b","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"24b46a9f-b19d-4fae-8715-12c4cad494d4","LdgDateTime":"2020-04-05T13:00:01.3540953+02:00","StartDateTime":"2020-04-05T13:00:01.3540953+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"5397268d-3266-4997-8eaf-1bc719cfa9f2","LdgLocationId":"f1b63500-fb29-490e-a712-f00f146a8066","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"d7ee91c2-ff25-4a57-852c-d05a52f61161","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"3a3887ac-a623-453c-919f-f23b663b17e4","AircraftId":"14292b30-5c4a-4eda-adb4-16d86b93e4ae","PilotPersonId":"4aa21456-ac04-40c0-9657-93536144a30f","CoPilotPersonId":"31f3a7a4-9576-473c-a8c1-d7d05ddae6e5","InstructorPersonId":"dbaa4aa5-95d9-4898-a461-22f250ff3b1b","ObserverPersonId":"41b8fe79-8ae9-4638-880d-88f17737da23","InvoiceRecipientPersonId":"aea7428a-d6fd-40ca-930b-3850ca7d8dff","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"6f141809-bc3b-4f94-8919-9755390e8c96","LdgDateTime":"2020-04-05T13:00:01.3540953+02:00","StartDateTime":"2020-04-05T13:00:01.3540953+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"a5141ec6-e4a8-4505-9bda-05f11f1414e9","LdgLocationId":"c8d4b34f-cbcb-4d2f-8c8b-8dd85c192142","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"3a3887ac-a623-453c-919f-f23b663b17e4","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2020-04-05T13:00:01.3540953+02:00","BlockEndDateTime":"2020-04-05T13:00:01.3540953+02:00","PassengerPersonIds":["12493930-16de-47e6-aa16-0b7d23b1cc0e","0600be26-e003-402c-b3ae-5720d7182888"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"8e636fc3-e7ec-4cc0-a603-ccca1a13e322","AircraftId":"adfbb13a-57f8-4ead-978c-36e364ef8cfa","PilotPersonId":"60bcb1f7-38a5-4d31-bd1e-0e789d27b80f","CoPilotPersonId":"2f07c053-c6d6-4fc4-97a0-2026c595e7ee","InstructorPersonId":"1ca45b3d-040a-416c-9bca-c15c90a78fcc","ObserverPersonId":"40c0a686-8fe5-4385-8728-b66fd2fbe98a","InvoiceRecipientPersonId":"464aee41-254f-44b2-a2d3-574a2e492705","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"65207a7d-28de-474f-822a-c16d91ffcb0e","LdgDateTime":"2020-04-05T13:00:01.3540953+02:00","StartDateTime":"2020-04-05T13:00:01.3540953+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"85d66e33-1098-418e-b886-e5311e065a5d","LdgLocationId":"00519ac2-a9e2-4cd3-b083-e0ef93776208","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"8e636fc3-e7ec-4cc0-a603-ccca1a13e322","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"d9cf16a7-eda0-480e-aa6c-ed1ee1951d87","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">d9cf16a7-eda0-480e-aa6c-ed1ee1951d87</Id>
  <FlightDate>2020-04-05T13:00:01.3540953+02:00</FlightDate>
  <FlightId>d9cf16a7-eda0-480e-aa6c-ed1ee1951d87</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">d7ee91c2-ff25-4a57-852c-d05a52f61161</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>afb1797e-6804-44eb-b95a-46490d838bb9</AircraftId>
    <CoPilotPersonId>5ee9ae3e-e6a4-49f2-a87f-8ce76fe044e2</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>d7ee91c2-ff25-4a57-852c-d05a52f61161</FlightId>
    <FlightTypeId>24b46a9f-b19d-4fae-8715-12c4cad494d4</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>200e2f90-a2fd-40a1-b22f-a46d20159695</InstructorPersonId>
    <InvoiceRecipientPersonId>7685caff-e613-40fc-8a6b-12ed6409a31b</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-04-05T13:00:01.3540953+02:00</LdgDateTime>
    <LdgLocationId>f1b63500-fb29-490e-a712-f00f146a8066</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>296f7ad7-2e21-4421-bf1a-f1283d94cef8</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>9d7ad478-cccb-453a-aeb8-08bff9a1f649</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2020-04-05T13:00:01.3540953+02:00</StartDateTime>
    <StartLocationId>5397268d-3266-4997-8eaf-1bc719cfa9f2</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <CouponNumber>sample string 1</CouponNumber>
    <PassengerPersonId>7d680a48-bc96-4a06-9cbc-ac3a204996a3</PassengerPersonId>
    <StartPosition>1</StartPosition>
    <WinchOperatorPersonId>587fe356-15d3-4181-b23a-91709ee495c4</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">8e636fc3-e7ec-4cc0-a603-ccca1a13e322</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>adfbb13a-57f8-4ead-978c-36e364ef8cfa</AircraftId>
    <CoPilotPersonId>2f07c053-c6d6-4fc4-97a0-2026c595e7ee</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>8e636fc3-e7ec-4cc0-a603-ccca1a13e322</FlightId>
    <FlightTypeId>65207a7d-28de-474f-822a-c16d91ffcb0e</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>1ca45b3d-040a-416c-9bca-c15c90a78fcc</InstructorPersonId>
    <InvoiceRecipientPersonId>464aee41-254f-44b2-a2d3-574a2e492705</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-04-05T13:00:01.3540953+02:00</LdgDateTime>
    <LdgLocationId>00519ac2-a9e2-4cd3-b083-e0ef93776208</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>40c0a686-8fe5-4385-8728-b66fd2fbe98a</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>60bcb1f7-38a5-4d31-bd1e-0e789d27b80f</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2020-04-05T13:00:01.3540953+02:00</StartDateTime>
    <StartLocationId>85d66e33-1098-418e-b886-e5311e065a5d</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <BlockEndDateTime>2020-04-05T13:00:01.3540953+02:00</BlockEndDateTime>
    <BlockStartDateTime>2020-04-05T13:00:01.3540953+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>12493930-16de-47e6-aa16-0b7d23b1cc0e</d3p1:guid>
      <d3p1:guid>0600be26-e003-402c-b3ae-5720d7182888</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">3a3887ac-a623-453c-919f-f23b663b17e4</Id>
    <AirStateId>4</AirStateId>
    <AircraftId>14292b30-5c4a-4eda-adb4-16d86b93e4ae</AircraftId>
    <CoPilotPersonId>31f3a7a4-9576-473c-a8c1-d7d05ddae6e5</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 3</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>3a3887ac-a623-453c-919f-f23b663b17e4</FlightId>
    <FlightTypeId>6f141809-bc3b-4f94-8919-9755390e8c96</FlightTypeId>
    <InboundRoute>sample string 9</InboundRoute>
    <InstructorPersonId>dbaa4aa5-95d9-4898-a461-22f250ff3b1b</InstructorPersonId>
    <InvoiceRecipientPersonId>aea7428a-d6fd-40ca-930b-3850ca7d8dff</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-04-05T13:00:01.3540953+02:00</LdgDateTime>
    <LdgLocationId>c8d4b34f-cbcb-4d2f-8c8b-8dd85c192142</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>41b8fe79-8ae9-4638-880d-88f17737da23</ObserverPersonId>
    <OutboundRoute>sample string 8</OutboundRoute>
    <PilotPersonId>4aa21456-ac04-40c0-9657-93536144a30f</PilotPersonId>
    <ProcessStateId>5</ProcessStateId>
    <StartDateTime>2020-04-05T13:00:01.3540953+02:00</StartDateTime>
    <StartLocationId>a5141ec6-e4a8-4505-9bda-05f11f1414e9</StartLocationId>
    <ValidationErrors>sample string 12</ValidationErrors>
  </TowFlightDetailsData>
</FlightDetails>