PUT api/v1/flights/changeprocessstate/{flightId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
flightId | globally unique identifier |
Required |
Body Parameters
FlightProcessRequestName | Description | Type | Additional information |
---|---|---|---|
FlightId | globally unique identifier |
None. |
|
NewFlightProcessState | FlightProcessState |
None. |
Request Formats
application/json, text/json
Sample:
{ "FlightId": "1c4a01c4-d140-4c57-9a83-fea9a80a8d65", "NewFlightProcessState": 0 }
text/html
Sample:
{"FlightId":"1c4a01c4-d140-4c57-9a83-fea9a80a8d65","NewFlightProcessState":0}
application/xml, text/xml
Sample:
<FlightProcessRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Processing"> <FlightId>1c4a01c4-d140-4c57-9a83-fea9a80a8d65</FlightId> <NewFlightProcessState>NotProcessed</NewFlightProcessState> </FlightProcessRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FlightDetailsName | Description | Type | Additional 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": "0c83b5cc-ff8a-46d4-bc24-a3c9d1c7f2ed", "StartType": 1, "FlightDate": "2025-04-04T04:57:05.1383747+02:00", "GliderFlightDetailsData": { "CouponNumber": "sample string 1", "WinchOperatorPersonId": "94ea83ed-b39b-4509-acdc-1199ceb5755a", "StartPosition": 1, "PassengerPersonId": "30b2713f-c017-47e5-9c9e-375918f8ed3f", "FlightId": "3f2ff02b-1775-46b3-9edb-4d6ad7db6423", "AircraftId": "fb103eb5-01ce-4aa1-a54f-67330ed8dd49", "PilotPersonId": "2eb2cd98-6b6c-4388-897e-d1aba119cd90", "CoPilotPersonId": "25756772-b465-4f62-aa3e-01eb8a483290", "InstructorPersonId": "2dca6410-b011-4a98-bd8d-c73ed7839391", "ObserverPersonId": "502ea30e-e33d-49be-af2f-53f34236a397", "InvoiceRecipientPersonId": "1c1bed45-1283-43ec-90fb-f1b486aba6cb", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 4", "AirStateId": 5, "ProcessStateId": 6, "FlightTypeId": "a3169765-cdfc-4580-8815-c22e84e6318a", "LdgDateTime": "2025-04-04T04:57:05.1383747+02:00", "StartDateTime": "2025-04-04T04:57:05.1383747+02:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "20a5cd93-3047-44b5-bf07-c38eddaea380", "LdgLocationId": "6794031c-37ec-4db7-ab32-7b65056f5a6c", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 9", "InboundRoute": "sample string 10", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 13", "Id": "3f2ff02b-1775-46b3-9edb-4d6ad7db6423", "CanUpdateRecord": true, "CanDeleteRecord": true }, "TowFlightDetailsData": { "FlightId": "27180bda-a3ab-4056-8a54-876f8fe89fc9", "AircraftId": "34dcf127-342f-41f6-8e8b-af97fb76ff7e", "PilotPersonId": "1fd3f679-5677-417a-9342-28ff6af73b01", "CoPilotPersonId": "0c14f460-f55d-4de1-aa91-e9dfd9cf9aa9", "InstructorPersonId": "e2604d2b-05ba-4e56-9eb4-2758f1fa261d", "ObserverPersonId": "c9115e29-321b-4eb0-83bd-2dd223efd098", "InvoiceRecipientPersonId": "85ed8485-593b-4013-b5a1-02a373508d53", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 3", "AirStateId": 4, "ProcessStateId": 5, "FlightTypeId": "5c09a1a7-c4ce-4af5-9433-8b5b888ce850", "LdgDateTime": "2025-04-04T04:57:05.1383747+02:00", "StartDateTime": "2025-04-04T04:57:05.1383747+02:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "2e0ee5c1-af96-4b77-8c61-fcf867802906", "LdgLocationId": "0ad97cda-9d5e-43b2-b6c7-f2a941200ce7", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 8", "InboundRoute": "sample string 9", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 12", "Id": "27180bda-a3ab-4056-8a54-876f8fe89fc9", "CanUpdateRecord": true, "CanDeleteRecord": true }, "MotorFlightDetailsData": { "CouponNumber": "sample string 1", "BlockStartDateTime": "2025-04-04T04:57:05.1383747+02:00", "BlockEndDateTime": "2025-04-04T04:57:05.1383747+02:00", "PassengerPersonIds": [ "0d25479d-b17f-4a6a-ae99-dc10a6effe48", "91f5005d-b767-4c5d-af9c-977def8bd2f4" ], "NrOfPassengers": 1, "NrOfLdgsOnStartLocation": 1, "FlightId": "6699f414-b6de-4f5f-9ac5-7d92199d456a", "AircraftId": "a08972fa-ecc7-41b8-8497-de47a12cf189", "PilotPersonId": "ffb1a091-62d2-4179-b687-70c24e7c73b4", "CoPilotPersonId": "58e58a90-4c61-41a7-91a1-1da7b61b762f", "InstructorPersonId": "680cc0ab-573f-4dca-8cf7-2d4ab51c1f2e", "ObserverPersonId": "553becfe-2aad-40e1-93e5-07d97c85725d", "InvoiceRecipientPersonId": "2007eb66-9975-4612-bd65-d22951493558", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 4", "AirStateId": 5, "ProcessStateId": 6, "FlightTypeId": "ad3b5a18-a977-4bdb-9b38-1502f4f67b73", "LdgDateTime": "2025-04-04T04:57:05.1383747+02:00", "StartDateTime": "2025-04-04T04:57:05.1383747+02:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "48bf4915-3bee-4574-95dc-bf0662ceb7cc", "LdgLocationId": "93911a34-fe9b-46c7-b5ef-fa0c8e68c594", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 9", "InboundRoute": "sample string 10", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 13", "Id": "6699f414-b6de-4f5f-9ac5-7d92199d456a", "CanUpdateRecord": true, "CanDeleteRecord": true }, "Id": "0c83b5cc-ff8a-46d4-bc24-a3c9d1c7f2ed", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"FlightId":"0c83b5cc-ff8a-46d4-bc24-a3c9d1c7f2ed","StartType":1,"FlightDate":"2025-04-04T04:57:05.1383747+02:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"94ea83ed-b39b-4509-acdc-1199ceb5755a","StartPosition":1,"PassengerPersonId":"30b2713f-c017-47e5-9c9e-375918f8ed3f","FlightId":"3f2ff02b-1775-46b3-9edb-4d6ad7db6423","AircraftId":"fb103eb5-01ce-4aa1-a54f-67330ed8dd49","PilotPersonId":"2eb2cd98-6b6c-4388-897e-d1aba119cd90","CoPilotPersonId":"25756772-b465-4f62-aa3e-01eb8a483290","InstructorPersonId":"2dca6410-b011-4a98-bd8d-c73ed7839391","ObserverPersonId":"502ea30e-e33d-49be-af2f-53f34236a397","InvoiceRecipientPersonId":"1c1bed45-1283-43ec-90fb-f1b486aba6cb","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"a3169765-cdfc-4580-8815-c22e84e6318a","LdgDateTime":"2025-04-04T04:57:05.1383747+02:00","StartDateTime":"2025-04-04T04:57:05.1383747+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"20a5cd93-3047-44b5-bf07-c38eddaea380","LdgLocationId":"6794031c-37ec-4db7-ab32-7b65056f5a6c","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"3f2ff02b-1775-46b3-9edb-4d6ad7db6423","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"27180bda-a3ab-4056-8a54-876f8fe89fc9","AircraftId":"34dcf127-342f-41f6-8e8b-af97fb76ff7e","PilotPersonId":"1fd3f679-5677-417a-9342-28ff6af73b01","CoPilotPersonId":"0c14f460-f55d-4de1-aa91-e9dfd9cf9aa9","InstructorPersonId":"e2604d2b-05ba-4e56-9eb4-2758f1fa261d","ObserverPersonId":"c9115e29-321b-4eb0-83bd-2dd223efd098","InvoiceRecipientPersonId":"85ed8485-593b-4013-b5a1-02a373508d53","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"5c09a1a7-c4ce-4af5-9433-8b5b888ce850","LdgDateTime":"2025-04-04T04:57:05.1383747+02:00","StartDateTime":"2025-04-04T04:57:05.1383747+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"2e0ee5c1-af96-4b77-8c61-fcf867802906","LdgLocationId":"0ad97cda-9d5e-43b2-b6c7-f2a941200ce7","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"27180bda-a3ab-4056-8a54-876f8fe89fc9","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2025-04-04T04:57:05.1383747+02:00","BlockEndDateTime":"2025-04-04T04:57:05.1383747+02:00","PassengerPersonIds":["0d25479d-b17f-4a6a-ae99-dc10a6effe48","91f5005d-b767-4c5d-af9c-977def8bd2f4"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"6699f414-b6de-4f5f-9ac5-7d92199d456a","AircraftId":"a08972fa-ecc7-41b8-8497-de47a12cf189","PilotPersonId":"ffb1a091-62d2-4179-b687-70c24e7c73b4","CoPilotPersonId":"58e58a90-4c61-41a7-91a1-1da7b61b762f","InstructorPersonId":"680cc0ab-573f-4dca-8cf7-2d4ab51c1f2e","ObserverPersonId":"553becfe-2aad-40e1-93e5-07d97c85725d","InvoiceRecipientPersonId":"2007eb66-9975-4612-bd65-d22951493558","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"ad3b5a18-a977-4bdb-9b38-1502f4f67b73","LdgDateTime":"2025-04-04T04:57:05.1383747+02:00","StartDateTime":"2025-04-04T04:57:05.1383747+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"48bf4915-3bee-4574-95dc-bf0662ceb7cc","LdgLocationId":"93911a34-fe9b-46c7-b5ef-fa0c8e68c594","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"6699f414-b6de-4f5f-9ac5-7d92199d456a","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"0c83b5cc-ff8a-46d4-bc24-a3c9d1c7f2ed","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">0c83b5cc-ff8a-46d4-bc24-a3c9d1c7f2ed</Id> <FlightDate>2025-04-04T04:57:05.1383747+02:00</FlightDate> <FlightId>0c83b5cc-ff8a-46d4-bc24-a3c9d1c7f2ed</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">3f2ff02b-1775-46b3-9edb-4d6ad7db6423</Id> <AirStateId>5</AirStateId> <AircraftId>fb103eb5-01ce-4aa1-a54f-67330ed8dd49</AircraftId> <CoPilotPersonId>25756772-b465-4f62-aa3e-01eb8a483290</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 4</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>3f2ff02b-1775-46b3-9edb-4d6ad7db6423</FlightId> <FlightTypeId>a3169765-cdfc-4580-8815-c22e84e6318a</FlightTypeId> <InboundRoute>sample string 10</InboundRoute> <InstructorPersonId>2dca6410-b011-4a98-bd8d-c73ed7839391</InstructorPersonId> <InvoiceRecipientPersonId>1c1bed45-1283-43ec-90fb-f1b486aba6cb</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2025-04-04T04:57:05.1383747+02:00</LdgDateTime> <LdgLocationId>6794031c-37ec-4db7-ab32-7b65056f5a6c</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>502ea30e-e33d-49be-af2f-53f34236a397</ObserverPersonId> <OutboundRoute>sample string 9</OutboundRoute> <PilotPersonId>2eb2cd98-6b6c-4388-897e-d1aba119cd90</PilotPersonId> <ProcessStateId>6</ProcessStateId> <StartDateTime>2025-04-04T04:57:05.1383747+02:00</StartDateTime> <StartLocationId>20a5cd93-3047-44b5-bf07-c38eddaea380</StartLocationId> <ValidationErrors>sample string 13</ValidationErrors> <CouponNumber>sample string 1</CouponNumber> <PassengerPersonId>30b2713f-c017-47e5-9c9e-375918f8ed3f</PassengerPersonId> <StartPosition>1</StartPosition> <WinchOperatorPersonId>94ea83ed-b39b-4509-acdc-1199ceb5755a</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">6699f414-b6de-4f5f-9ac5-7d92199d456a</Id> <AirStateId>5</AirStateId> <AircraftId>a08972fa-ecc7-41b8-8497-de47a12cf189</AircraftId> <CoPilotPersonId>58e58a90-4c61-41a7-91a1-1da7b61b762f</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 4</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>6699f414-b6de-4f5f-9ac5-7d92199d456a</FlightId> <FlightTypeId>ad3b5a18-a977-4bdb-9b38-1502f4f67b73</FlightTypeId> <InboundRoute>sample string 10</InboundRoute> <InstructorPersonId>680cc0ab-573f-4dca-8cf7-2d4ab51c1f2e</InstructorPersonId> <InvoiceRecipientPersonId>2007eb66-9975-4612-bd65-d22951493558</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2025-04-04T04:57:05.1383747+02:00</LdgDateTime> <LdgLocationId>93911a34-fe9b-46c7-b5ef-fa0c8e68c594</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>553becfe-2aad-40e1-93e5-07d97c85725d</ObserverPersonId> <OutboundRoute>sample string 9</OutboundRoute> <PilotPersonId>ffb1a091-62d2-4179-b687-70c24e7c73b4</PilotPersonId> <ProcessStateId>6</ProcessStateId> <StartDateTime>2025-04-04T04:57:05.1383747+02:00</StartDateTime> <StartLocationId>48bf4915-3bee-4574-95dc-bf0662ceb7cc</StartLocationId> <ValidationErrors>sample string 13</ValidationErrors> <BlockEndDateTime>2025-04-04T04:57:05.1383747+02:00</BlockEndDateTime> <BlockStartDateTime>2025-04-04T04:57:05.1383747+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>0d25479d-b17f-4a6a-ae99-dc10a6effe48</d3p1:guid> <d3p1:guid>91f5005d-b767-4c5d-af9c-977def8bd2f4</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">27180bda-a3ab-4056-8a54-876f8fe89fc9</Id> <AirStateId>4</AirStateId> <AircraftId>34dcf127-342f-41f6-8e8b-af97fb76ff7e</AircraftId> <CoPilotPersonId>0c14f460-f55d-4de1-aa91-e9dfd9cf9aa9</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 3</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>27180bda-a3ab-4056-8a54-876f8fe89fc9</FlightId> <FlightTypeId>5c09a1a7-c4ce-4af5-9433-8b5b888ce850</FlightTypeId> <InboundRoute>sample string 9</InboundRoute> <InstructorPersonId>e2604d2b-05ba-4e56-9eb4-2758f1fa261d</InstructorPersonId> <InvoiceRecipientPersonId>85ed8485-593b-4013-b5a1-02a373508d53</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2025-04-04T04:57:05.1383747+02:00</LdgDateTime> <LdgLocationId>0ad97cda-9d5e-43b2-b6c7-f2a941200ce7</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>c9115e29-321b-4eb0-83bd-2dd223efd098</ObserverPersonId> <OutboundRoute>sample string 8</OutboundRoute> <PilotPersonId>1fd3f679-5677-417a-9342-28ff6af73b01</PilotPersonId> <ProcessStateId>5</ProcessStateId> <StartDateTime>2025-04-04T04:57:05.1383747+02:00</StartDateTime> <StartLocationId>2e0ee5c1-af96-4b77-8c61-fcf867802906</StartLocationId> <ValidationErrors>sample string 12</ValidationErrors> </TowFlightDetailsData> </FlightDetails>