POST api/v1/flights

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
{
  "FlightId": "41321037-15ef-4d06-9a4a-d202b67b0df0",
  "StartType": 1,
  "FlightDate": "2020-04-09T08:22:51.2447402+02:00",
  "GliderFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "WinchOperatorPersonId": "8c2c82f2-e057-455d-94c5-30382f4a8c0a",
    "StartPosition": 1,
    "PassengerPersonId": "100a1845-9e04-4cec-80e1-49e5992174e5",
    "FlightId": "bcd1fa16-0705-4946-9165-8e3ad0d80674",
    "AircraftId": "d79f9b3f-dba9-492f-ad9a-8d5f14473fee",
    "PilotPersonId": "7e642a4c-86df-475d-8b15-fdb42b72aed9",
    "CoPilotPersonId": "19f5f18c-911b-4dd0-b203-62aa265b553c",
    "InstructorPersonId": "60c5aa16-046d-48b8-9525-0e6a395bf4fd",
    "ObserverPersonId": "576ccf57-3590-495e-bcd0-6e402ba2a1ba",
    "InvoiceRecipientPersonId": "00b8adf3-2269-4639-b42e-291824dff474",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "8dd42eac-d363-4771-ac2e-873b50ad5afd",
    "LdgDateTime": "2020-04-09T08:22:51.2447402+02:00",
    "StartDateTime": "2020-04-09T08:22:51.2447402+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "3ff991be-ad57-4c22-8e1c-b19b6ffd4ace",
    "LdgLocationId": "4a9cc75c-88ae-4049-9940-f94642415842",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "bcd1fa16-0705-4946-9165-8e3ad0d80674",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "TowFlightDetailsData": {
    "FlightId": "06227f77-6276-4b2c-beaa-077405c3cd05",
    "AircraftId": "6a6faa9d-bbb3-4edd-95e3-32c88f40e4b9",
    "PilotPersonId": "ad3c564e-38ca-4492-9167-44fd21f94932",
    "CoPilotPersonId": "5f24153d-04ea-470d-b1b8-68d31d071cd2",
    "InstructorPersonId": "aa6d98c1-4563-409d-8de1-06188cbb9342",
    "ObserverPersonId": "f0dd2738-c0a1-482d-841f-1a57b6880cc2",
    "InvoiceRecipientPersonId": "5b186c19-fe50-41c4-95c2-d5cd6271e010",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 3",
    "AirStateId": 4,
    "ProcessStateId": 5,
    "FlightTypeId": "365dce8d-623d-43e3-8f0b-cb511e1e1efc",
    "LdgDateTime": "2020-04-09T08:22:51.2447402+02:00",
    "StartDateTime": "2020-04-09T08:22:51.2447402+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "1cd8c53d-4b56-4954-8cf3-10889fadf075",
    "LdgLocationId": "01886d8f-69c5-44bf-af3e-e5b08bf30039",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 8",
    "InboundRoute": "sample string 9",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 12",
    "Id": "06227f77-6276-4b2c-beaa-077405c3cd05",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "MotorFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "BlockStartDateTime": "2020-04-09T08:22:51.2447402+02:00",
    "BlockEndDateTime": "2020-04-09T08:22:51.2447402+02:00",
    "PassengerPersonIds": [
      "d92aa7dd-80e0-4201-801d-f81e36414ba3",
      "00df560f-f6a9-4913-b3dc-b2de4d27f333"
    ],
    "NrOfPassengers": 1,
    "NrOfLdgsOnStartLocation": 1,
    "FlightId": "42ae33d2-bd93-4b44-b34f-904b233f7d00",
    "AircraftId": "5811d801-c9d3-4c5d-9c51-8c732edccfd1",
    "PilotPersonId": "ef346a0a-5c85-4674-bc8c-d695e8202171",
    "CoPilotPersonId": "ac033c4e-e252-4bd7-92e2-208c2757f5fa",
    "InstructorPersonId": "48b1bc9a-d191-4c3e-b12d-57119e826f14",
    "ObserverPersonId": "61d0580e-5010-4bda-af8e-bab8aba0b8f6",
    "InvoiceRecipientPersonId": "7b810196-ff88-4f17-9ca8-6a9138a92796",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "1ece544a-13ce-4608-882f-3fb8e246c8e2",
    "LdgDateTime": "2020-04-09T08:22:51.2447402+02:00",
    "StartDateTime": "2020-04-09T08:22:51.2447402+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "098675b7-7a1b-491a-9ef2-e10e0c27d410",
    "LdgLocationId": "a3bc4185-6ffa-48f2-8da0-ce1df2fd16cf",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "42ae33d2-bd93-4b44-b34f-904b233f7d00",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "Id": "41321037-15ef-4d06-9a4a-d202b67b0df0",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"FlightId":"41321037-15ef-4d06-9a4a-d202b67b0df0","StartType":1,"FlightDate":"2020-04-09T08:22:51.2447402+02:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"8c2c82f2-e057-455d-94c5-30382f4a8c0a","StartPosition":1,"PassengerPersonId":"100a1845-9e04-4cec-80e1-49e5992174e5","FlightId":"bcd1fa16-0705-4946-9165-8e3ad0d80674","AircraftId":"d79f9b3f-dba9-492f-ad9a-8d5f14473fee","PilotPersonId":"7e642a4c-86df-475d-8b15-fdb42b72aed9","CoPilotPersonId":"19f5f18c-911b-4dd0-b203-62aa265b553c","InstructorPersonId":"60c5aa16-046d-48b8-9525-0e6a395bf4fd","ObserverPersonId":"576ccf57-3590-495e-bcd0-6e402ba2a1ba","InvoiceRecipientPersonId":"00b8adf3-2269-4639-b42e-291824dff474","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"8dd42eac-d363-4771-ac2e-873b50ad5afd","LdgDateTime":"2020-04-09T08:22:51.2447402+02:00","StartDateTime":"2020-04-09T08:22:51.2447402+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"3ff991be-ad57-4c22-8e1c-b19b6ffd4ace","LdgLocationId":"4a9cc75c-88ae-4049-9940-f94642415842","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"bcd1fa16-0705-4946-9165-8e3ad0d80674","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"06227f77-6276-4b2c-beaa-077405c3cd05","AircraftId":"6a6faa9d-bbb3-4edd-95e3-32c88f40e4b9","PilotPersonId":"ad3c564e-38ca-4492-9167-44fd21f94932","CoPilotPersonId":"5f24153d-04ea-470d-b1b8-68d31d071cd2","InstructorPersonId":"aa6d98c1-4563-409d-8de1-06188cbb9342","ObserverPersonId":"f0dd2738-c0a1-482d-841f-1a57b6880cc2","InvoiceRecipientPersonId":"5b186c19-fe50-41c4-95c2-d5cd6271e010","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"365dce8d-623d-43e3-8f0b-cb511e1e1efc","LdgDateTime":"2020-04-09T08:22:51.2447402+02:00","StartDateTime":"2020-04-09T08:22:51.2447402+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"1cd8c53d-4b56-4954-8cf3-10889fadf075","LdgLocationId":"01886d8f-69c5-44bf-af3e-e5b08bf30039","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"06227f77-6276-4b2c-beaa-077405c3cd05","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2020-04-09T08:22:51.2447402+02:00","BlockEndDateTime":"2020-04-09T08:22:51.2447402+02:00","PassengerPersonIds":["d92aa7dd-80e0-4201-801d-f81e36414ba3","00df560f-f6a9-4913-b3dc-b2de4d27f333"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"42ae33d2-bd93-4b44-b34f-904b233f7d00","AircraftId":"5811d801-c9d3-4c5d-9c51-8c732edccfd1","PilotPersonId":"ef346a0a-5c85-4674-bc8c-d695e8202171","CoPilotPersonId":"ac033c4e-e252-4bd7-92e2-208c2757f5fa","InstructorPersonId":"48b1bc9a-d191-4c3e-b12d-57119e826f14","ObserverPersonId":"61d0580e-5010-4bda-af8e-bab8aba0b8f6","InvoiceRecipientPersonId":"7b810196-ff88-4f17-9ca8-6a9138a92796","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"1ece544a-13ce-4608-882f-3fb8e246c8e2","LdgDateTime":"2020-04-09T08:22:51.2447402+02:00","StartDateTime":"2020-04-09T08:22:51.2447402+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"098675b7-7a1b-491a-9ef2-e10e0c27d410","LdgLocationId":"a3bc4185-6ffa-48f2-8da0-ce1df2fd16cf","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"42ae33d2-bd93-4b44-b34f-904b233f7d00","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"41321037-15ef-4d06-9a4a-d202b67b0df0","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">41321037-15ef-4d06-9a4a-d202b67b0df0</Id>
  <FlightDate>2020-04-09T08:22:51.2447402+02:00</FlightDate>
  <FlightId>41321037-15ef-4d06-9a4a-d202b67b0df0</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">bcd1fa16-0705-4946-9165-8e3ad0d80674</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>d79f9b3f-dba9-492f-ad9a-8d5f14473fee</AircraftId>
    <CoPilotPersonId>19f5f18c-911b-4dd0-b203-62aa265b553c</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>bcd1fa16-0705-4946-9165-8e3ad0d80674</FlightId>
    <FlightTypeId>8dd42eac-d363-4771-ac2e-873b50ad5afd</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>60c5aa16-046d-48b8-9525-0e6a395bf4fd</InstructorPersonId>
    <InvoiceRecipientPersonId>00b8adf3-2269-4639-b42e-291824dff474</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-04-09T08:22:51.2447402+02:00</LdgDateTime>
    <LdgLocationId>4a9cc75c-88ae-4049-9940-f94642415842</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>576ccf57-3590-495e-bcd0-6e402ba2a1ba</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>7e642a4c-86df-475d-8b15-fdb42b72aed9</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2020-04-09T08:22:51.2447402+02:00</StartDateTime>
    <StartLocationId>3ff991be-ad57-4c22-8e1c-b19b6ffd4ace</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <CouponNumber>sample string 1</CouponNumber>
    <PassengerPersonId>100a1845-9e04-4cec-80e1-49e5992174e5</PassengerPersonId>
    <StartPosition>1</StartPosition>
    <WinchOperatorPersonId>8c2c82f2-e057-455d-94c5-30382f4a8c0a</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">42ae33d2-bd93-4b44-b34f-904b233f7d00</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>5811d801-c9d3-4c5d-9c51-8c732edccfd1</AircraftId>
    <CoPilotPersonId>ac033c4e-e252-4bd7-92e2-208c2757f5fa</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>42ae33d2-bd93-4b44-b34f-904b233f7d00</FlightId>
    <FlightTypeId>1ece544a-13ce-4608-882f-3fb8e246c8e2</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>48b1bc9a-d191-4c3e-b12d-57119e826f14</InstructorPersonId>
    <InvoiceRecipientPersonId>7b810196-ff88-4f17-9ca8-6a9138a92796</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-04-09T08:22:51.2447402+02:00</LdgDateTime>
    <LdgLocationId>a3bc4185-6ffa-48f2-8da0-ce1df2fd16cf</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>61d0580e-5010-4bda-af8e-bab8aba0b8f6</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>ef346a0a-5c85-4674-bc8c-d695e8202171</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2020-04-09T08:22:51.2447402+02:00</StartDateTime>
    <StartLocationId>098675b7-7a1b-491a-9ef2-e10e0c27d410</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <BlockEndDateTime>2020-04-09T08:22:51.2447402+02:00</BlockEndDateTime>
    <BlockStartDateTime>2020-04-09T08:22:51.2447402+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>d92aa7dd-80e0-4201-801d-f81e36414ba3</d3p1:guid>
      <d3p1:guid>00df560f-f6a9-4913-b3dc-b2de4d27f333</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">06227f77-6276-4b2c-beaa-077405c3cd05</Id>
    <AirStateId>4</AirStateId>
    <AircraftId>6a6faa9d-bbb3-4edd-95e3-32c88f40e4b9</AircraftId>
    <CoPilotPersonId>5f24153d-04ea-470d-b1b8-68d31d071cd2</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 3</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>06227f77-6276-4b2c-beaa-077405c3cd05</FlightId>
    <FlightTypeId>365dce8d-623d-43e3-8f0b-cb511e1e1efc</FlightTypeId>
    <InboundRoute>sample string 9</InboundRoute>
    <InstructorPersonId>aa6d98c1-4563-409d-8de1-06188cbb9342</InstructorPersonId>
    <InvoiceRecipientPersonId>5b186c19-fe50-41c4-95c2-d5cd6271e010</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-04-09T08:22:51.2447402+02:00</LdgDateTime>
    <LdgLocationId>01886d8f-69c5-44bf-af3e-e5b08bf30039</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>f0dd2738-c0a1-482d-841f-1a57b6880cc2</ObserverPersonId>
    <OutboundRoute>sample string 8</OutboundRoute>
    <PilotPersonId>ad3c564e-38ca-4492-9167-44fd21f94932</PilotPersonId>
    <ProcessStateId>5</ProcessStateId>
    <StartDateTime>2020-04-09T08:22:51.2447402+02:00</StartDateTime>
    <StartLocationId>1cd8c53d-4b56-4954-8cf3-10889fadf075</StartLocationId>
    <ValidationErrors>sample string 12</ValidationErrors>
  </TowFlightDetailsData>
</FlightDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

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": "41f76768-edf5-4ae6-a91e-3b07bb253e7f",
  "StartType": 1,
  "FlightDate": "2020-04-09T08:22:51.3227877+02:00",
  "GliderFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "WinchOperatorPersonId": "3f04491a-d30b-40b5-a870-b19a35f89a48",
    "StartPosition": 1,
    "PassengerPersonId": "6f354787-2ce2-46b4-9513-c777cdbb992a",
    "FlightId": "9f74bc50-8dd8-4a0d-9ea8-9675d575297d",
    "AircraftId": "bc6a9092-13b2-40b8-a8b8-c7b3cd3564e2",
    "PilotPersonId": "6cf12bd5-fcae-4c91-8b06-ee6a7868a6b6",
    "CoPilotPersonId": "4be1885a-0075-420f-8e38-07c50473c21b",
    "InstructorPersonId": "ea4564a1-7d17-479b-98a5-f5decc59d914",
    "ObserverPersonId": "7efc337e-bd6f-4e9a-9502-5c593555469f",
    "InvoiceRecipientPersonId": "42db6317-e588-4d9c-a512-3db1526400fc",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "df6e1458-db07-4e33-93b0-5364b73b2768",
    "LdgDateTime": "2020-04-09T08:22:51.3227877+02:00",
    "StartDateTime": "2020-04-09T08:22:51.3227877+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "4d014d91-ce1b-43d8-beb7-b2da07494128",
    "LdgLocationId": "c44994ce-5eb0-4ea5-be3c-c69b5b413101",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "9f74bc50-8dd8-4a0d-9ea8-9675d575297d",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "TowFlightDetailsData": {
    "FlightId": "74156d80-d838-464c-913f-913eb3c7bfce",
    "AircraftId": "598cc9ad-99e1-4491-ac6d-58ba2600d696",
    "PilotPersonId": "9bc9104b-28e1-4683-90de-033558c45684",
    "CoPilotPersonId": "8b49c2ef-7ce5-4aa0-be91-a93771bfcf6e",
    "InstructorPersonId": "dee11a6a-8a76-4fb1-8fe0-ba3929607c8e",
    "ObserverPersonId": "5f7a6924-179f-4c7d-9425-7f55a52c4073",
    "InvoiceRecipientPersonId": "84535320-1322-4e00-85f4-b94c8bf86d3e",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 3",
    "AirStateId": 4,
    "ProcessStateId": 5,
    "FlightTypeId": "9cd26bb0-9d0c-4f12-9365-69b9c788c5d8",
    "LdgDateTime": "2020-04-09T08:22:51.3227877+02:00",
    "StartDateTime": "2020-04-09T08:22:51.3227877+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "e56e6eda-a880-4f2f-9775-abf3f17ba89e",
    "LdgLocationId": "7eb1d666-c9b8-4d43-baaa-f95eb2b9899c",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 8",
    "InboundRoute": "sample string 9",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 12",
    "Id": "74156d80-d838-464c-913f-913eb3c7bfce",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "MotorFlightDetailsData": {
    "CouponNumber": "sample string 1",
    "BlockStartDateTime": "2020-04-09T08:22:51.3227877+02:00",
    "BlockEndDateTime": "2020-04-09T08:22:51.3227877+02:00",
    "PassengerPersonIds": [
      "cbdf8821-9eac-42d7-8baf-942c56d3969c",
      "ee275024-cf3d-47e5-9b62-16c035af90a6"
    ],
    "NrOfPassengers": 1,
    "NrOfLdgsOnStartLocation": 1,
    "FlightId": "99ef7af6-8d1e-41bf-9182-e198b6121599",
    "AircraftId": "d391fbcb-36f1-4e7d-b0c7-7675214925d8",
    "PilotPersonId": "557fd3b9-d826-4050-ba33-3e095c616647",
    "CoPilotPersonId": "6511f1f3-7721-4c05-a8e6-a112c75db643",
    "InstructorPersonId": "7d23234f-a3d7-45ed-a781-c0c79e514765",
    "ObserverPersonId": "d4947a43-3620-4676-84ce-28a2fc800b1a",
    "InvoiceRecipientPersonId": "b5bf4356-0ce9-4a53-8b8a-7b786c1d789c",
    "EngineStartOperatingCounterInSeconds": 1,
    "EngineEndOperatingCounterInSeconds": 1,
    "FlightComment": "sample string 4",
    "AirStateId": 5,
    "ProcessStateId": 6,
    "FlightTypeId": "32da40d9-4df6-46c7-9e80-c3752ca9d580",
    "LdgDateTime": "2020-04-09T08:22:51.3227877+02:00",
    "StartDateTime": "2020-04-09T08:22:51.3227877+02:00",
    "FlightDuration": "00:00:00.1234567",
    "StartLocationId": "d4eaa6d7-6a73-43b9-b53a-5f6803489cbc",
    "LdgLocationId": "2823a840-65a9-40f0-ba80-b67683197415",
    "FlightCostBalanceType": 1,
    "NrOfLdgs": 1,
    "IsSoloFlight": true,
    "OutboundRoute": "sample string 9",
    "InboundRoute": "sample string 10",
    "NoStartTimeInformation": true,
    "NoLdgTimeInformation": true,
    "ValidationErrors": "sample string 13",
    "Id": "99ef7af6-8d1e-41bf-9182-e198b6121599",
    "CanUpdateRecord": true,
    "CanDeleteRecord": true
  },
  "Id": "41f76768-edf5-4ae6-a91e-3b07bb253e7f",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"FlightId":"41f76768-edf5-4ae6-a91e-3b07bb253e7f","StartType":1,"FlightDate":"2020-04-09T08:22:51.3227877+02:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"3f04491a-d30b-40b5-a870-b19a35f89a48","StartPosition":1,"PassengerPersonId":"6f354787-2ce2-46b4-9513-c777cdbb992a","FlightId":"9f74bc50-8dd8-4a0d-9ea8-9675d575297d","AircraftId":"bc6a9092-13b2-40b8-a8b8-c7b3cd3564e2","PilotPersonId":"6cf12bd5-fcae-4c91-8b06-ee6a7868a6b6","CoPilotPersonId":"4be1885a-0075-420f-8e38-07c50473c21b","InstructorPersonId":"ea4564a1-7d17-479b-98a5-f5decc59d914","ObserverPersonId":"7efc337e-bd6f-4e9a-9502-5c593555469f","InvoiceRecipientPersonId":"42db6317-e588-4d9c-a512-3db1526400fc","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"df6e1458-db07-4e33-93b0-5364b73b2768","LdgDateTime":"2020-04-09T08:22:51.3227877+02:00","StartDateTime":"2020-04-09T08:22:51.3227877+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"4d014d91-ce1b-43d8-beb7-b2da07494128","LdgLocationId":"c44994ce-5eb0-4ea5-be3c-c69b5b413101","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"9f74bc50-8dd8-4a0d-9ea8-9675d575297d","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"74156d80-d838-464c-913f-913eb3c7bfce","AircraftId":"598cc9ad-99e1-4491-ac6d-58ba2600d696","PilotPersonId":"9bc9104b-28e1-4683-90de-033558c45684","CoPilotPersonId":"8b49c2ef-7ce5-4aa0-be91-a93771bfcf6e","InstructorPersonId":"dee11a6a-8a76-4fb1-8fe0-ba3929607c8e","ObserverPersonId":"5f7a6924-179f-4c7d-9425-7f55a52c4073","InvoiceRecipientPersonId":"84535320-1322-4e00-85f4-b94c8bf86d3e","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"9cd26bb0-9d0c-4f12-9365-69b9c788c5d8","LdgDateTime":"2020-04-09T08:22:51.3227877+02:00","StartDateTime":"2020-04-09T08:22:51.3227877+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"e56e6eda-a880-4f2f-9775-abf3f17ba89e","LdgLocationId":"7eb1d666-c9b8-4d43-baaa-f95eb2b9899c","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"74156d80-d838-464c-913f-913eb3c7bfce","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2020-04-09T08:22:51.3227877+02:00","BlockEndDateTime":"2020-04-09T08:22:51.3227877+02:00","PassengerPersonIds":["cbdf8821-9eac-42d7-8baf-942c56d3969c","ee275024-cf3d-47e5-9b62-16c035af90a6"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"99ef7af6-8d1e-41bf-9182-e198b6121599","AircraftId":"d391fbcb-36f1-4e7d-b0c7-7675214925d8","PilotPersonId":"557fd3b9-d826-4050-ba33-3e095c616647","CoPilotPersonId":"6511f1f3-7721-4c05-a8e6-a112c75db643","InstructorPersonId":"7d23234f-a3d7-45ed-a781-c0c79e514765","ObserverPersonId":"d4947a43-3620-4676-84ce-28a2fc800b1a","InvoiceRecipientPersonId":"b5bf4356-0ce9-4a53-8b8a-7b786c1d789c","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"32da40d9-4df6-46c7-9e80-c3752ca9d580","LdgDateTime":"2020-04-09T08:22:51.3227877+02:00","StartDateTime":"2020-04-09T08:22:51.3227877+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"d4eaa6d7-6a73-43b9-b53a-5f6803489cbc","LdgLocationId":"2823a840-65a9-40f0-ba80-b67683197415","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"99ef7af6-8d1e-41bf-9182-e198b6121599","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"41f76768-edf5-4ae6-a91e-3b07bb253e7f","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">41f76768-edf5-4ae6-a91e-3b07bb253e7f</Id>
  <FlightDate>2020-04-09T08:22:51.3227877+02:00</FlightDate>
  <FlightId>41f76768-edf5-4ae6-a91e-3b07bb253e7f</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">9f74bc50-8dd8-4a0d-9ea8-9675d575297d</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>bc6a9092-13b2-40b8-a8b8-c7b3cd3564e2</AircraftId>
    <CoPilotPersonId>4be1885a-0075-420f-8e38-07c50473c21b</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>9f74bc50-8dd8-4a0d-9ea8-9675d575297d</FlightId>
    <FlightTypeId>df6e1458-db07-4e33-93b0-5364b73b2768</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>ea4564a1-7d17-479b-98a5-f5decc59d914</InstructorPersonId>
    <InvoiceRecipientPersonId>42db6317-e588-4d9c-a512-3db1526400fc</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-04-09T08:22:51.3227877+02:00</LdgDateTime>
    <LdgLocationId>c44994ce-5eb0-4ea5-be3c-c69b5b413101</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>7efc337e-bd6f-4e9a-9502-5c593555469f</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>6cf12bd5-fcae-4c91-8b06-ee6a7868a6b6</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2020-04-09T08:22:51.3227877+02:00</StartDateTime>
    <StartLocationId>4d014d91-ce1b-43d8-beb7-b2da07494128</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <CouponNumber>sample string 1</CouponNumber>
    <PassengerPersonId>6f354787-2ce2-46b4-9513-c777cdbb992a</PassengerPersonId>
    <StartPosition>1</StartPosition>
    <WinchOperatorPersonId>3f04491a-d30b-40b5-a870-b19a35f89a48</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">99ef7af6-8d1e-41bf-9182-e198b6121599</Id>
    <AirStateId>5</AirStateId>
    <AircraftId>d391fbcb-36f1-4e7d-b0c7-7675214925d8</AircraftId>
    <CoPilotPersonId>6511f1f3-7721-4c05-a8e6-a112c75db643</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 4</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>99ef7af6-8d1e-41bf-9182-e198b6121599</FlightId>
    <FlightTypeId>32da40d9-4df6-46c7-9e80-c3752ca9d580</FlightTypeId>
    <InboundRoute>sample string 10</InboundRoute>
    <InstructorPersonId>7d23234f-a3d7-45ed-a781-c0c79e514765</InstructorPersonId>
    <InvoiceRecipientPersonId>b5bf4356-0ce9-4a53-8b8a-7b786c1d789c</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-04-09T08:22:51.3227877+02:00</LdgDateTime>
    <LdgLocationId>2823a840-65a9-40f0-ba80-b67683197415</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>d4947a43-3620-4676-84ce-28a2fc800b1a</ObserverPersonId>
    <OutboundRoute>sample string 9</OutboundRoute>
    <PilotPersonId>557fd3b9-d826-4050-ba33-3e095c616647</PilotPersonId>
    <ProcessStateId>6</ProcessStateId>
    <StartDateTime>2020-04-09T08:22:51.3227877+02:00</StartDateTime>
    <StartLocationId>d4eaa6d7-6a73-43b9-b53a-5f6803489cbc</StartLocationId>
    <ValidationErrors>sample string 13</ValidationErrors>
    <BlockEndDateTime>2020-04-09T08:22:51.3227877+02:00</BlockEndDateTime>
    <BlockStartDateTime>2020-04-09T08:22:51.3227877+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>cbdf8821-9eac-42d7-8baf-942c56d3969c</d3p1:guid>
      <d3p1:guid>ee275024-cf3d-47e5-9b62-16c035af90a6</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">74156d80-d838-464c-913f-913eb3c7bfce</Id>
    <AirStateId>4</AirStateId>
    <AircraftId>598cc9ad-99e1-4491-ac6d-58ba2600d696</AircraftId>
    <CoPilotPersonId>8b49c2ef-7ce5-4aa0-be91-a93771bfcf6e</CoPilotPersonId>
    <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds>
    <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds>
    <FlightComment>sample string 3</FlightComment>
    <FlightCostBalanceType>1</FlightCostBalanceType>
    <FlightDuration>PT0.1234567S</FlightDuration>
    <FlightId>74156d80-d838-464c-913f-913eb3c7bfce</FlightId>
    <FlightTypeId>9cd26bb0-9d0c-4f12-9365-69b9c788c5d8</FlightTypeId>
    <InboundRoute>sample string 9</InboundRoute>
    <InstructorPersonId>dee11a6a-8a76-4fb1-8fe0-ba3929607c8e</InstructorPersonId>
    <InvoiceRecipientPersonId>84535320-1322-4e00-85f4-b94c8bf86d3e</InvoiceRecipientPersonId>
    <IsSoloFlight>true</IsSoloFlight>
    <LdgDateTime>2020-04-09T08:22:51.3227877+02:00</LdgDateTime>
    <LdgLocationId>7eb1d666-c9b8-4d43-baaa-f95eb2b9899c</LdgLocationId>
    <NoLdgTimeInformation>true</NoLdgTimeInformation>
    <NoStartTimeInformation>true</NoStartTimeInformation>
    <NrOfLdgs>1</NrOfLdgs>
    <ObserverPersonId>5f7a6924-179f-4c7d-9425-7f55a52c4073</ObserverPersonId>
    <OutboundRoute>sample string 8</OutboundRoute>
    <PilotPersonId>9bc9104b-28e1-4683-90de-033558c45684</PilotPersonId>
    <ProcessStateId>5</ProcessStateId>
    <StartDateTime>2020-04-09T08:22:51.3227877+02:00</StartDateTime>
    <StartLocationId>e56e6eda-a880-4f2f-9775-abf3f17ba89e</StartLocationId>
    <ValidationErrors>sample string 12</ValidationErrors>
  </TowFlightDetailsData>
</FlightDetails>