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": "50b679b7-b12d-45f8-93d1-230010ff38ae",
  "StartType": 1,
  "FlightDate": "2020-09-25T16:25:13.0924503+02:00",
  "GliderFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "WinchOperatorPersonId": "0e44752a-1b71-48e8-bf10-3c9283775855",
    "StartPosition": 1,
    "PassengerPersonId": "56428f72-2471-4b50-a73e-40801e249cb5",
    "FlightId": "1aff29d6-1923-4efd-866d-13f1c75dbc37",
    "AircraftId": "00ccf046-8bc3-4ec9-b3c9-b5072c09cfa3",
    "PilotPersonId": "a5b5c8f3-9aa5-4656-b7ac-7f8d6d2635e5",
    "CoPilotPersonId": "f0377775-9fbd-4ef5-8668-d1abd9cdd6ed",
    "InstructorPersonId": "81e5aaaa-1c73-4cd3-9be4-3a0968284a8c",
    "ObserverPersonId": "c3e23fb0-8116-42db-8824-06c97c320c47",
    "InvoiceRecipientPersonId": "1e4920ba-f991-434e-a664-37126a02dbe5",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "b7f0263f-0ed9-4803-bc0e-b3716f445ef9",
    "LdgDateTime": "2020-09-25T16:25:13.0924503+02:00",
    "StartDateTime": "2020-09-25T16:25:13.0924503+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "6bf2115c-4f11-4455-b816-8228013e67d8",
    "LdgLocationId": "1ccc01e0-0b59-4cb0-ab2f-06626c7c4f65",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "1aff29d6-1923-4efd-866d-13f1c75dbc37",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "TowFlightDetailsData": {
    "FlightId": "3b493a1b-bc6a-4b02-9708-27aad49c7494",
    "AircraftId": "cb1cb4d0-dc12-41e4-ac75-51a3be76022a",
    "PilotPersonId": "0d832e4d-9cab-4438-ba6c-420775c698a3",
    "CoPilotPersonId": "75a2a675-b36a-4e99-b85e-de336c75a9b5",
    "InstructorPersonId": "20620530-2649-4125-bc3e-0937339862aa",
    "ObserverPersonId": "10c9ba74-0f2f-4422-83fa-4fda2911542f",
    "InvoiceRecipientPersonId": "85c02277-3b59-4ce4-9bc3-e38ebb16b3cd",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 3",
    "AirStateId": 4,
    "ProcessStateId": 5,
    "FlightTypeId": "910c0b07-ccbd-40d8-9f6a-39472280231b",
    "LdgDateTime": "2020-09-25T16:25:13.0924503+02:00",
    "StartDateTime": "2020-09-25T16:25:13.0924503+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "da603d9e-0079-41ac-9daa-63a8f2d86c1a",
    "LdgLocationId": "f31ad42a-3f1b-43c2-add0-ac32fb75ed62",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 8",
    "InboundRoute": "sample string 9",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 12",
    "Id": "3b493a1b-bc6a-4b02-9708-27aad49c7494",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "MotorFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "BlockStartDateTime": "2020-09-25T16:25:13.0924503+02:00",
    "BlockEndDateTime": "2020-09-25T16:25:13.0924503+02:00",
    "PassengerPersonIds": [
      "63b6a759-cdaa-4a03-97b5-dec4c7246d29",
      "2493d091-787a-4d1a-afbe-ff92ea90fe4f"
    ],
    "NrOfPassengers": 1,
    "NrOfLdgsOnStartLocation": 1,
    "FlightId": "bc25f4d9-61cf-4064-bb86-7a85bc3e2553",
    "AircraftId": "7c4b3808-a689-4cee-b66b-a68735709042",
    "PilotPersonId": "43f2158a-8851-48ec-957a-546021917c64",
    "CoPilotPersonId": "2ab795af-3add-45fb-9857-44c7ad0fb765",
    "InstructorPersonId": "e6d9c166-a174-49a8-9586-96a504f11ff6",
    "ObserverPersonId": "1ecd4529-d452-4d18-87ca-2fa98b193985",
    "InvoiceRecipientPersonId": "998513c2-3121-4119-8e92-4d0aaf59523f",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "29995776-c1ef-4ada-ab43-cba8c9de3a12",
    "LdgDateTime": "2020-09-25T16:25:13.0924503+02:00",
    "StartDateTime": "2020-09-25T16:25:13.0924503+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "24a5aaa7-f804-4096-961f-40ca73c2b650",
    "LdgLocationId": "7ed379fe-02eb-4a84-9dbe-36213a4cbd1e",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "bc25f4d9-61cf-4064-bb86-7a85bc3e2553",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "Id": "50b679b7-b12d-45f8-93d1-230010ff38ae",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"FlightId":"50b679b7-b12d-45f8-93d1-230010ff38ae","StartType":1,"FlightDate":"2020-09-25T16:25:13.0924503+02:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"0e44752a-1b71-48e8-bf10-3c9283775855","StartPosition":1,"PassengerPersonId":"56428f72-2471-4b50-a73e-40801e249cb5","FlightId":"1aff29d6-1923-4efd-866d-13f1c75dbc37","AircraftId":"00ccf046-8bc3-4ec9-b3c9-b5072c09cfa3","PilotPersonId":"a5b5c8f3-9aa5-4656-b7ac-7f8d6d2635e5","CoPilotPersonId":"f0377775-9fbd-4ef5-8668-d1abd9cdd6ed","InstructorPersonId":"81e5aaaa-1c73-4cd3-9be4-3a0968284a8c","ObserverPersonId":"c3e23fb0-8116-42db-8824-06c97c320c47","InvoiceRecipientPersonId":"1e4920ba-f991-434e-a664-37126a02dbe5","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"b7f0263f-0ed9-4803-bc0e-b3716f445ef9","LdgDateTime":"2020-09-25T16:25:13.0924503+02:00","StartDateTime":"2020-09-25T16:25:13.0924503+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"6bf2115c-4f11-4455-b816-8228013e67d8","LdgLocationId":"1ccc01e0-0b59-4cb0-ab2f-06626c7c4f65","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"1aff29d6-1923-4efd-866d-13f1c75dbc37","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"3b493a1b-bc6a-4b02-9708-27aad49c7494","AircraftId":"cb1cb4d0-dc12-41e4-ac75-51a3be76022a","PilotPersonId":"0d832e4d-9cab-4438-ba6c-420775c698a3","CoPilotPersonId":"75a2a675-b36a-4e99-b85e-de336c75a9b5","InstructorPersonId":"20620530-2649-4125-bc3e-0937339862aa","ObserverPersonId":"10c9ba74-0f2f-4422-83fa-4fda2911542f","InvoiceRecipientPersonId":"85c02277-3b59-4ce4-9bc3-e38ebb16b3cd","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"910c0b07-ccbd-40d8-9f6a-39472280231b","LdgDateTime":"2020-09-25T16:25:13.0924503+02:00","StartDateTime":"2020-09-25T16:25:13.0924503+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"da603d9e-0079-41ac-9daa-63a8f2d86c1a","LdgLocationId":"f31ad42a-3f1b-43c2-add0-ac32fb75ed62","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"3b493a1b-bc6a-4b02-9708-27aad49c7494","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2020-09-25T16:25:13.0924503+02:00","BlockEndDateTime":"2020-09-25T16:25:13.0924503+02:00","PassengerPersonIds":["63b6a759-cdaa-4a03-97b5-dec4c7246d29","2493d091-787a-4d1a-afbe-ff92ea90fe4f"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"bc25f4d9-61cf-4064-bb86-7a85bc3e2553","AircraftId":"7c4b3808-a689-4cee-b66b-a68735709042","PilotPersonId":"43f2158a-8851-48ec-957a-546021917c64","CoPilotPersonId":"2ab795af-3add-45fb-9857-44c7ad0fb765","InstructorPersonId":"e6d9c166-a174-49a8-9586-96a504f11ff6","ObserverPersonId":"1ecd4529-d452-4d18-87ca-2fa98b193985","InvoiceRecipientPersonId":"998513c2-3121-4119-8e92-4d0aaf59523f","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"29995776-c1ef-4ada-ab43-cba8c9de3a12","LdgDateTime":"2020-09-25T16:25:13.0924503+02:00","StartDateTime":"2020-09-25T16:25:13.0924503+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"24a5aaa7-f804-4096-961f-40ca73c2b650","LdgLocationId":"7ed379fe-02eb-4a84-9dbe-36213a4cbd1e","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"bc25f4d9-61cf-4064-bb86-7a85bc3e2553","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"50b679b7-b12d-45f8-93d1-230010ff38ae","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">50b679b7-b12d-45f8-93d1-230010ff38ae</Id>
  <FlightDate>2020-09-25T16:25:13.0924503+02:00</FlightDate>
  <FlightId>50b679b7-b12d-45f8-93d1-230010ff38ae</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">1aff29d6-1923-4efd-866d-13f1c75dbc37</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>00ccf046-8bc3-4ec9-b3c9-b5072c09cfa3</AircraftId>
    <CoPilotPersonId>f0377775-9fbd-4ef5-8668-d1abd9cdd6ed</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>1aff29d6-1923-4efd-866d-13f1c75dbc37</FlightId>
    <FlightTypeId>b7f0263f-0ed9-4803-bc0e-b3716f445ef9</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>81e5aaaa-1c73-4cd3-9be4-3a0968284a8c</InstructorPersonId>
    <InvoiceRecipientPersonId>1e4920ba-f991-434e-a664-37126a02dbe5</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-09-25T16:25:13.0924503+02:00</LdgDateTime>
    <LdgLocationId>1ccc01e0-0b59-4cb0-ab2f-06626c7c4f65</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>c3e23fb0-8116-42db-8824-06c97c320c47</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>a5b5c8f3-9aa5-4656-b7ac-7f8d6d2635e5</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2020-09-25T16:25:13.0924503+02:00</StartDateTime>
    <StartLocationId>6bf2115c-4f11-4455-b816-8228013e67d8</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <CouponNumber>sample string 1</CouponNumber>
    <PassengerPersonId>56428f72-2471-4b50-a73e-40801e249cb5</PassengerPersonId>
    <StartPosition>1</StartPosition>
    <WinchOperatorPersonId>0e44752a-1b71-48e8-bf10-3c9283775855</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">bc25f4d9-61cf-4064-bb86-7a85bc3e2553</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>7c4b3808-a689-4cee-b66b-a68735709042</AircraftId>
    <CoPilotPersonId>2ab795af-3add-45fb-9857-44c7ad0fb765</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>bc25f4d9-61cf-4064-bb86-7a85bc3e2553</FlightId>
    <FlightTypeId>29995776-c1ef-4ada-ab43-cba8c9de3a12</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>e6d9c166-a174-49a8-9586-96a504f11ff6</InstructorPersonId>
    <InvoiceRecipientPersonId>998513c2-3121-4119-8e92-4d0aaf59523f</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-09-25T16:25:13.0924503+02:00</LdgDateTime>
    <LdgLocationId>7ed379fe-02eb-4a84-9dbe-36213a4cbd1e</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>1ecd4529-d452-4d18-87ca-2fa98b193985</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>43f2158a-8851-48ec-957a-546021917c64</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2020-09-25T16:25:13.0924503+02:00</StartDateTime>
    <StartLocationId>24a5aaa7-f804-4096-961f-40ca73c2b650</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <BlockEndDateTime>2020-09-25T16:25:13.0924503+02:00</BlockEndDateTime>
    <BlockStartDateTime>2020-09-25T16:25:13.0924503+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>63b6a759-cdaa-4a03-97b5-dec4c7246d29</d3p1:guid>
      <d3p1:guid>2493d091-787a-4d1a-afbe-ff92ea90fe4f</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">3b493a1b-bc6a-4b02-9708-27aad49c7494</Id>
    <AirStateId>4</AirStateId>
    <AircraftId>cb1cb4d0-dc12-41e4-ac75-51a3be76022a</AircraftId>
    <CoPilotPersonId>75a2a675-b36a-4e99-b85e-de336c75a9b5</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 3</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>3b493a1b-bc6a-4b02-9708-27aad49c7494</FlightId>
    <FlightTypeId>910c0b07-ccbd-40d8-9f6a-39472280231b</FlightTypeId>
    <InboundRoute>sample string 9</InboundRoute>
    <InstructorPersonId>20620530-2649-4125-bc3e-0937339862aa</InstructorPersonId>
    <InvoiceRecipientPersonId>85c02277-3b59-4ce4-9bc3-e38ebb16b3cd</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-09-25T16:25:13.0924503+02:00</LdgDateTime>
    <LdgLocationId>f31ad42a-3f1b-43c2-add0-ac32fb75ed62</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>10c9ba74-0f2f-4422-83fa-4fda2911542f</ObserverPersonId>
    <OutboundRoute>sample string 8</OutboundRoute>
    <PilotPersonId>0d832e4d-9cab-4438-ba6c-420775c698a3</PilotPersonId>
    <ProcessStateId>5</ProcessStateId>
    <StartDateTime>2020-09-25T16:25:13.0924503+02:00</StartDateTime>
    <StartLocationId>da603d9e-0079-41ac-9daa-63a8f2d86c1a</StartLocationId>
    <ValidationErrors>sample string 12</ValidationErrors>
  </TowFlightDetailsData>
</FlightDetails>