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": "9d0d67e1-9df8-4774-a335-70c5cf53b88e",
  "StartType": 1,
  "FlightDate": "2019-12-14T04:00:38.8923951+01:00",
  "GliderFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "WinchOperatorPersonId": "dd5ab1aa-a6a1-4b69-b1e3-addd1fdc80c1",
    "StartPosition": 1,
    "PassengerPersonId": "d5b1afdd-af87-4ad4-93fc-0d92295f83f8",
    "FlightId": "d6f4e787-7ef8-40e4-afa8-60558e1c3860",
    "AircraftId": "7457ca45-1941-4d54-9716-ac88931be190",
    "PilotPersonId": "f02057b3-afd3-4628-9b36-087ed73e06a0",
    "CoPilotPersonId": "63ea2508-69ba-4cf8-b22c-f69d9b6e9fd5",
    "InstructorPersonId": "ffceccfb-71eb-4d13-9373-ab219bd6814f",
    "ObserverPersonId": "8e3e0593-38d8-47a5-82d3-74f205d9b282",
    "InvoiceRecipientPersonId": "388b041a-db5f-4e9d-a1e0-021eed1a7d95",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "23a82504-deaa-4c29-bc51-5b85da99311d",
    "LdgDateTime": "2019-12-14T04:00:38.8923951+01:00",
    "StartDateTime": "2019-12-14T04:00:38.8923951+01:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "2fc456a1-06b3-4a7b-bffc-075c1ef3b362",
    "LdgLocationId": "fb90144b-bec1-44a9-a170-7148505706cd",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "d6f4e787-7ef8-40e4-afa8-60558e1c3860",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "TowFlightDetailsData": {
    "FlightId": "1600de82-4b57-4bb9-8e8d-f535af772126",
    "AircraftId": "ee140156-f130-4ae7-a4f1-57f2455cb4be",
    "PilotPersonId": "3d26cc63-055e-42c0-9f21-8fa8033b8719",
    "CoPilotPersonId": "de796995-356f-4eb8-bd5d-fe3e45e1ab1d",
    "InstructorPersonId": "31c5d694-fe1d-4343-a0a4-c2715bb27d78",
    "ObserverPersonId": "8d3e3dce-3f66-4cca-8da4-7d3f2eab1de9",
    "InvoiceRecipientPersonId": "0fa273b3-2f4f-4e63-bdd5-317b61ffa4b2",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 3",
    "AirStateId": 4,
    "ProcessStateId": 5,
    "FlightTypeId": "34335979-0da0-4f53-a69b-d20dc8c93ee4",
    "LdgDateTime": "2019-12-14T04:00:38.8923951+01:00",
    "StartDateTime": "2019-12-14T04:00:38.8923951+01:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "c191f5a9-23fd-4ea3-b7a4-24afed1d883d",
    "LdgLocationId": "61b4fed6-946c-447d-8401-8f1a73ea0c74",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 8",
    "InboundRoute": "sample string 9",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 12",
    "Id": "1600de82-4b57-4bb9-8e8d-f535af772126",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "MotorFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "BlockStartDateTime": "2019-12-14T04:00:38.8923951+01:00",
    "BlockEndDateTime": "2019-12-14T04:00:38.8923951+01:00",
    "PassengerPersonIds": [
      "e4ed9380-d190-49e5-b9d1-adca2835e115",
      "ea238831-f726-4835-a841-543454b1d840"
    ],
    "NrOfPassengers": 1,
    "NrOfLdgsOnStartLocation": 1,
    "FlightId": "3bc3939b-88e4-42b5-b5d0-21db02e92313",
    "AircraftId": "85a16879-3707-4349-b032-61dedda92caa",
    "PilotPersonId": "2a66c325-f84e-4b27-befc-9f44d8c6b721",
    "CoPilotPersonId": "e89e9e28-b9c0-462f-9d53-dc3527f6a68b",
    "InstructorPersonId": "b024d5b6-4025-4f94-9722-9840c4a86e5c",
    "ObserverPersonId": "ce6e9d89-9665-4eeb-a626-10baabccb857",
    "InvoiceRecipientPersonId": "d192063b-fe28-49d3-9b9d-0ca143f4fa7c",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "d0c81bd1-ba0e-4297-8ce9-18890aeb2f1b",
    "LdgDateTime": "2019-12-14T04:00:38.8923951+01:00",
    "StartDateTime": "2019-12-14T04:00:38.8923951+01:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "9a9c067d-1de7-4145-aad2-e4f2d25df9ee",
    "LdgLocationId": "431b727b-688d-4e60-88d5-f9c1d069d284",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "3bc3939b-88e4-42b5-b5d0-21db02e92313",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "Id": "9d0d67e1-9df8-4774-a335-70c5cf53b88e",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"FlightId":"9d0d67e1-9df8-4774-a335-70c5cf53b88e","StartType":1,"FlightDate":"2019-12-14T04:00:38.8923951+01:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"dd5ab1aa-a6a1-4b69-b1e3-addd1fdc80c1","StartPosition":1,"PassengerPersonId":"d5b1afdd-af87-4ad4-93fc-0d92295f83f8","FlightId":"d6f4e787-7ef8-40e4-afa8-60558e1c3860","AircraftId":"7457ca45-1941-4d54-9716-ac88931be190","PilotPersonId":"f02057b3-afd3-4628-9b36-087ed73e06a0","CoPilotPersonId":"63ea2508-69ba-4cf8-b22c-f69d9b6e9fd5","InstructorPersonId":"ffceccfb-71eb-4d13-9373-ab219bd6814f","ObserverPersonId":"8e3e0593-38d8-47a5-82d3-74f205d9b282","InvoiceRecipientPersonId":"388b041a-db5f-4e9d-a1e0-021eed1a7d95","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"23a82504-deaa-4c29-bc51-5b85da99311d","LdgDateTime":"2019-12-14T04:00:38.8923951+01:00","StartDateTime":"2019-12-14T04:00:38.8923951+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"2fc456a1-06b3-4a7b-bffc-075c1ef3b362","LdgLocationId":"fb90144b-bec1-44a9-a170-7148505706cd","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"d6f4e787-7ef8-40e4-afa8-60558e1c3860","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"1600de82-4b57-4bb9-8e8d-f535af772126","AircraftId":"ee140156-f130-4ae7-a4f1-57f2455cb4be","PilotPersonId":"3d26cc63-055e-42c0-9f21-8fa8033b8719","CoPilotPersonId":"de796995-356f-4eb8-bd5d-fe3e45e1ab1d","InstructorPersonId":"31c5d694-fe1d-4343-a0a4-c2715bb27d78","ObserverPersonId":"8d3e3dce-3f66-4cca-8da4-7d3f2eab1de9","InvoiceRecipientPersonId":"0fa273b3-2f4f-4e63-bdd5-317b61ffa4b2","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"34335979-0da0-4f53-a69b-d20dc8c93ee4","LdgDateTime":"2019-12-14T04:00:38.8923951+01:00","StartDateTime":"2019-12-14T04:00:38.8923951+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"c191f5a9-23fd-4ea3-b7a4-24afed1d883d","LdgLocationId":"61b4fed6-946c-447d-8401-8f1a73ea0c74","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"1600de82-4b57-4bb9-8e8d-f535af772126","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2019-12-14T04:00:38.8923951+01:00","BlockEndDateTime":"2019-12-14T04:00:38.8923951+01:00","PassengerPersonIds":["e4ed9380-d190-49e5-b9d1-adca2835e115","ea238831-f726-4835-a841-543454b1d840"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"3bc3939b-88e4-42b5-b5d0-21db02e92313","AircraftId":"85a16879-3707-4349-b032-61dedda92caa","PilotPersonId":"2a66c325-f84e-4b27-befc-9f44d8c6b721","CoPilotPersonId":"e89e9e28-b9c0-462f-9d53-dc3527f6a68b","InstructorPersonId":"b024d5b6-4025-4f94-9722-9840c4a86e5c","ObserverPersonId":"ce6e9d89-9665-4eeb-a626-10baabccb857","InvoiceRecipientPersonId":"d192063b-fe28-49d3-9b9d-0ca143f4fa7c","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"d0c81bd1-ba0e-4297-8ce9-18890aeb2f1b","LdgDateTime":"2019-12-14T04:00:38.8923951+01:00","StartDateTime":"2019-12-14T04:00:38.8923951+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"9a9c067d-1de7-4145-aad2-e4f2d25df9ee","LdgLocationId":"431b727b-688d-4e60-88d5-f9c1d069d284","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"3bc3939b-88e4-42b5-b5d0-21db02e92313","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"9d0d67e1-9df8-4774-a335-70c5cf53b88e","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">9d0d67e1-9df8-4774-a335-70c5cf53b88e</Id>
  <FlightDate>2019-12-14T04:00:38.8923951+01:00</FlightDate>
  <FlightId>9d0d67e1-9df8-4774-a335-70c5cf53b88e</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">d6f4e787-7ef8-40e4-afa8-60558e1c3860</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>7457ca45-1941-4d54-9716-ac88931be190</AircraftId>
    <CoPilotPersonId>63ea2508-69ba-4cf8-b22c-f69d9b6e9fd5</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>d6f4e787-7ef8-40e4-afa8-60558e1c3860</FlightId>
    <FlightTypeId>23a82504-deaa-4c29-bc51-5b85da99311d</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>ffceccfb-71eb-4d13-9373-ab219bd6814f</InstructorPersonId>
    <InvoiceRecipientPersonId>388b041a-db5f-4e9d-a1e0-021eed1a7d95</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2019-12-14T04:00:38.8923951+01:00</LdgDateTime>
    <LdgLocationId>fb90144b-bec1-44a9-a170-7148505706cd</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>8e3e0593-38d8-47a5-82d3-74f205d9b282</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>f02057b3-afd3-4628-9b36-087ed73e06a0</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2019-12-14T04:00:38.8923951+01:00</StartDateTime>
    <StartLocationId>2fc456a1-06b3-4a7b-bffc-075c1ef3b362</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <CouponNumber>sample string 1</CouponNumber>
    <PassengerPersonId>d5b1afdd-af87-4ad4-93fc-0d92295f83f8</PassengerPersonId>
    <StartPosition>1</StartPosition>
    <WinchOperatorPersonId>dd5ab1aa-a6a1-4b69-b1e3-addd1fdc80c1</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">3bc3939b-88e4-42b5-b5d0-21db02e92313</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>85a16879-3707-4349-b032-61dedda92caa</AircraftId>
    <CoPilotPersonId>e89e9e28-b9c0-462f-9d53-dc3527f6a68b</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>3bc3939b-88e4-42b5-b5d0-21db02e92313</FlightId>
    <FlightTypeId>d0c81bd1-ba0e-4297-8ce9-18890aeb2f1b</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>b024d5b6-4025-4f94-9722-9840c4a86e5c</InstructorPersonId>
    <InvoiceRecipientPersonId>d192063b-fe28-49d3-9b9d-0ca143f4fa7c</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2019-12-14T04:00:38.8923951+01:00</LdgDateTime>
    <LdgLocationId>431b727b-688d-4e60-88d5-f9c1d069d284</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>ce6e9d89-9665-4eeb-a626-10baabccb857</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>2a66c325-f84e-4b27-befc-9f44d8c6b721</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2019-12-14T04:00:38.8923951+01:00</StartDateTime>
    <StartLocationId>9a9c067d-1de7-4145-aad2-e4f2d25df9ee</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <BlockEndDateTime>2019-12-14T04:00:38.8923951+01:00</BlockEndDateTime>
    <BlockStartDateTime>2019-12-14T04:00:38.8923951+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>e4ed9380-d190-49e5-b9d1-adca2835e115</d3p1:guid>
      <d3p1:guid>ea238831-f726-4835-a841-543454b1d840</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">1600de82-4b57-4bb9-8e8d-f535af772126</Id>
    <AirStateId>4</AirStateId>
    <AircraftId>ee140156-f130-4ae7-a4f1-57f2455cb4be</AircraftId>
    <CoPilotPersonId>de796995-356f-4eb8-bd5d-fe3e45e1ab1d</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 3</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>1600de82-4b57-4bb9-8e8d-f535af772126</FlightId>
    <FlightTypeId>34335979-0da0-4f53-a69b-d20dc8c93ee4</FlightTypeId>
    <InboundRoute>sample string 9</InboundRoute>
    <InstructorPersonId>31c5d694-fe1d-4343-a0a4-c2715bb27d78</InstructorPersonId>
    <InvoiceRecipientPersonId>0fa273b3-2f4f-4e63-bdd5-317b61ffa4b2</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2019-12-14T04:00:38.8923951+01:00</LdgDateTime>
    <LdgLocationId>61b4fed6-946c-447d-8401-8f1a73ea0c74</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>8d3e3dce-3f66-4cca-8da4-7d3f2eab1de9</ObserverPersonId>
    <OutboundRoute>sample string 8</OutboundRoute>
    <PilotPersonId>3d26cc63-055e-42c0-9f21-8fa8033b8719</PilotPersonId>
    <ProcessStateId>5</ProcessStateId>
    <StartDateTime>2019-12-14T04:00:38.8923951+01:00</StartDateTime>
    <StartLocationId>c191f5a9-23fd-4ea3-b7a4-24afed1d883d</StartLocationId>
    <ValidationErrors>sample string 12</ValidationErrors>
  </TowFlightDetailsData>
</FlightDetails>