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": "b60db962-ff51-4ba9-bf89-de724a901112", "NewFlightProcessState": 0 }
text/html
Sample:
{"FlightId":"b60db962-ff51-4ba9-bf89-de724a901112","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>b60db962-ff51-4ba9-bf89-de724a901112</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": "214d30d9-3dc3-434f-a64c-25e9b91367bb", "StartType": 1, "FlightDate": "2024-11-21T09:35:23.2408429+01:00", "GliderFlightDetailsData": { "CouponNumber": "sample string 1", "WinchOperatorPersonId": "85124d0e-48f1-479c-acd3-670ebf4e5d46", "StartPosition": 1, "PassengerPersonId": "92a57866-6cb1-42da-bd6f-f2d9ccf3feeb", "FlightId": "b3fba926-6314-4547-860a-e98374d4229e", "AircraftId": "793a2bdb-0648-4e3c-983f-fb82df37fbd7", "PilotPersonId": "a75ab27c-d401-43f5-9a52-9f01986953cf", "CoPilotPersonId": "8a81f8d9-5b5b-4c92-82f9-389127ad0b14", "InstructorPersonId": "e8ebc136-308d-4712-aca8-b68a38c3521f", "ObserverPersonId": "0ce0d6c5-51fb-4e51-8408-b48c7af8f37f", "InvoiceRecipientPersonId": "427db74d-7047-45d1-bd01-845ef7cc9dd0", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 4", "AirStateId": 5, "ProcessStateId": 6, "FlightTypeId": "715e50e6-4252-47c8-bf0d-5137cefe0066", "LdgDateTime": "2024-11-21T09:35:23.2408429+01:00", "StartDateTime": "2024-11-21T09:35:23.2408429+01:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "d3013309-4de4-45f6-89c8-f84b6b9205df", "LdgLocationId": "3fcb7aa5-a770-4deb-bcd3-bf268e7d5b50", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 9", "InboundRoute": "sample string 10", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 13", "Id": "b3fba926-6314-4547-860a-e98374d4229e", "CanUpdateRecord": true, "CanDeleteRecord": true }, "TowFlightDetailsData": { "FlightId": "b1e1ff30-831a-4a71-bb0f-496f8e779d41", "AircraftId": "f4b8eda9-7e40-472a-9be0-a176286fb086", "PilotPersonId": "17df14d1-224c-4fb7-bf05-8cb4e63642dc", "CoPilotPersonId": "b4ea753e-e7e5-45bc-adfa-b01fd3bcd19e", "InstructorPersonId": "cc640bf4-c426-4b73-a690-87fcd486344a", "ObserverPersonId": "f3ff38ce-bb99-4d39-91d5-77ca9424d871", "InvoiceRecipientPersonId": "1e89cdad-2f9a-4d8e-a652-5f15bc432a96", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 3", "AirStateId": 4, "ProcessStateId": 5, "FlightTypeId": "e5ed351d-668e-4ca5-8916-e7a9a1bcef87", "LdgDateTime": "2024-11-21T09:35:23.2408429+01:00", "StartDateTime": "2024-11-21T09:35:23.2408429+01:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "154d4767-301e-4423-ae07-a77be1edf6fc", "LdgLocationId": "9c395f8e-66d6-4368-92dc-6cca413ad738", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 8", "InboundRoute": "sample string 9", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 12", "Id": "b1e1ff30-831a-4a71-bb0f-496f8e779d41", "CanUpdateRecord": true, "CanDeleteRecord": true }, "MotorFlightDetailsData": { "CouponNumber": "sample string 1", "BlockStartDateTime": "2024-11-21T09:35:23.2408429+01:00", "BlockEndDateTime": "2024-11-21T09:35:23.2408429+01:00", "PassengerPersonIds": [ "8f6971a6-1990-4bfe-9529-1e1a7ce02f94", "bd9ccb86-aca2-461a-9ab2-0a8a4773cd96" ], "NrOfPassengers": 1, "NrOfLdgsOnStartLocation": 1, "FlightId": "ced8e888-17e5-4133-bb9f-321a355c5c8c", "AircraftId": "a92c2011-e08b-41cc-a3fd-2a598845086f", "PilotPersonId": "fd252ad7-b1f5-45d4-8183-98b1050c087b", "CoPilotPersonId": "1cee064c-87df-436b-86de-6194624b3efa", "InstructorPersonId": "01258a3a-0364-4cbb-93b9-5a6cce541c8e", "ObserverPersonId": "e123a293-3e0f-4f4b-9177-808b032cd38f", "InvoiceRecipientPersonId": "bffd6255-731b-46de-882a-8c9bcc22bf01", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 4", "AirStateId": 5, "ProcessStateId": 6, "FlightTypeId": "b6cf4dc6-79a4-4827-8cf3-4386af3b0da4", "LdgDateTime": "2024-11-21T09:35:23.2408429+01:00", "StartDateTime": "2024-11-21T09:35:23.2408429+01:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "8fc09f6f-8566-42f0-ad0c-f3a2ad2a2ecd", "LdgLocationId": "c7805cbb-6a4c-4631-878a-11093bfc0520", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 9", "InboundRoute": "sample string 10", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 13", "Id": "ced8e888-17e5-4133-bb9f-321a355c5c8c", "CanUpdateRecord": true, "CanDeleteRecord": true }, "Id": "214d30d9-3dc3-434f-a64c-25e9b91367bb", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"FlightId":"214d30d9-3dc3-434f-a64c-25e9b91367bb","StartType":1,"FlightDate":"2024-11-21T09:35:23.2408429+01:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"85124d0e-48f1-479c-acd3-670ebf4e5d46","StartPosition":1,"PassengerPersonId":"92a57866-6cb1-42da-bd6f-f2d9ccf3feeb","FlightId":"b3fba926-6314-4547-860a-e98374d4229e","AircraftId":"793a2bdb-0648-4e3c-983f-fb82df37fbd7","PilotPersonId":"a75ab27c-d401-43f5-9a52-9f01986953cf","CoPilotPersonId":"8a81f8d9-5b5b-4c92-82f9-389127ad0b14","InstructorPersonId":"e8ebc136-308d-4712-aca8-b68a38c3521f","ObserverPersonId":"0ce0d6c5-51fb-4e51-8408-b48c7af8f37f","InvoiceRecipientPersonId":"427db74d-7047-45d1-bd01-845ef7cc9dd0","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"715e50e6-4252-47c8-bf0d-5137cefe0066","LdgDateTime":"2024-11-21T09:35:23.2408429+01:00","StartDateTime":"2024-11-21T09:35:23.2408429+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"d3013309-4de4-45f6-89c8-f84b6b9205df","LdgLocationId":"3fcb7aa5-a770-4deb-bcd3-bf268e7d5b50","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"b3fba926-6314-4547-860a-e98374d4229e","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"b1e1ff30-831a-4a71-bb0f-496f8e779d41","AircraftId":"f4b8eda9-7e40-472a-9be0-a176286fb086","PilotPersonId":"17df14d1-224c-4fb7-bf05-8cb4e63642dc","CoPilotPersonId":"b4ea753e-e7e5-45bc-adfa-b01fd3bcd19e","InstructorPersonId":"cc640bf4-c426-4b73-a690-87fcd486344a","ObserverPersonId":"f3ff38ce-bb99-4d39-91d5-77ca9424d871","InvoiceRecipientPersonId":"1e89cdad-2f9a-4d8e-a652-5f15bc432a96","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"e5ed351d-668e-4ca5-8916-e7a9a1bcef87","LdgDateTime":"2024-11-21T09:35:23.2408429+01:00","StartDateTime":"2024-11-21T09:35:23.2408429+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"154d4767-301e-4423-ae07-a77be1edf6fc","LdgLocationId":"9c395f8e-66d6-4368-92dc-6cca413ad738","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"b1e1ff30-831a-4a71-bb0f-496f8e779d41","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2024-11-21T09:35:23.2408429+01:00","BlockEndDateTime":"2024-11-21T09:35:23.2408429+01:00","PassengerPersonIds":["8f6971a6-1990-4bfe-9529-1e1a7ce02f94","bd9ccb86-aca2-461a-9ab2-0a8a4773cd96"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"ced8e888-17e5-4133-bb9f-321a355c5c8c","AircraftId":"a92c2011-e08b-41cc-a3fd-2a598845086f","PilotPersonId":"fd252ad7-b1f5-45d4-8183-98b1050c087b","CoPilotPersonId":"1cee064c-87df-436b-86de-6194624b3efa","InstructorPersonId":"01258a3a-0364-4cbb-93b9-5a6cce541c8e","ObserverPersonId":"e123a293-3e0f-4f4b-9177-808b032cd38f","InvoiceRecipientPersonId":"bffd6255-731b-46de-882a-8c9bcc22bf01","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"b6cf4dc6-79a4-4827-8cf3-4386af3b0da4","LdgDateTime":"2024-11-21T09:35:23.2408429+01:00","StartDateTime":"2024-11-21T09:35:23.2408429+01:00","FlightDuration":"00:00:00.1234567","StartLocationId":"8fc09f6f-8566-42f0-ad0c-f3a2ad2a2ecd","LdgLocationId":"c7805cbb-6a4c-4631-878a-11093bfc0520","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"ced8e888-17e5-4133-bb9f-321a355c5c8c","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"214d30d9-3dc3-434f-a64c-25e9b91367bb","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">214d30d9-3dc3-434f-a64c-25e9b91367bb</Id> <FlightDate>2024-11-21T09:35:23.2408429+01:00</FlightDate> <FlightId>214d30d9-3dc3-434f-a64c-25e9b91367bb</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">b3fba926-6314-4547-860a-e98374d4229e</Id> <AirStateId>5</AirStateId> <AircraftId>793a2bdb-0648-4e3c-983f-fb82df37fbd7</AircraftId> <CoPilotPersonId>8a81f8d9-5b5b-4c92-82f9-389127ad0b14</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 4</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>b3fba926-6314-4547-860a-e98374d4229e</FlightId> <FlightTypeId>715e50e6-4252-47c8-bf0d-5137cefe0066</FlightTypeId> <InboundRoute>sample string 10</InboundRoute> <InstructorPersonId>e8ebc136-308d-4712-aca8-b68a38c3521f</InstructorPersonId> <InvoiceRecipientPersonId>427db74d-7047-45d1-bd01-845ef7cc9dd0</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2024-11-21T09:35:23.2408429+01:00</LdgDateTime> <LdgLocationId>3fcb7aa5-a770-4deb-bcd3-bf268e7d5b50</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>0ce0d6c5-51fb-4e51-8408-b48c7af8f37f</ObserverPersonId> <OutboundRoute>sample string 9</OutboundRoute> <PilotPersonId>a75ab27c-d401-43f5-9a52-9f01986953cf</PilotPersonId> <ProcessStateId>6</ProcessStateId> <StartDateTime>2024-11-21T09:35:23.2408429+01:00</StartDateTime> <StartLocationId>d3013309-4de4-45f6-89c8-f84b6b9205df</StartLocationId> <ValidationErrors>sample string 13</ValidationErrors> <CouponNumber>sample string 1</CouponNumber> <PassengerPersonId>92a57866-6cb1-42da-bd6f-f2d9ccf3feeb</PassengerPersonId> <StartPosition>1</StartPosition> <WinchOperatorPersonId>85124d0e-48f1-479c-acd3-670ebf4e5d46</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">ced8e888-17e5-4133-bb9f-321a355c5c8c</Id> <AirStateId>5</AirStateId> <AircraftId>a92c2011-e08b-41cc-a3fd-2a598845086f</AircraftId> <CoPilotPersonId>1cee064c-87df-436b-86de-6194624b3efa</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 4</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>ced8e888-17e5-4133-bb9f-321a355c5c8c</FlightId> <FlightTypeId>b6cf4dc6-79a4-4827-8cf3-4386af3b0da4</FlightTypeId> <InboundRoute>sample string 10</InboundRoute> <InstructorPersonId>01258a3a-0364-4cbb-93b9-5a6cce541c8e</InstructorPersonId> <InvoiceRecipientPersonId>bffd6255-731b-46de-882a-8c9bcc22bf01</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2024-11-21T09:35:23.2408429+01:00</LdgDateTime> <LdgLocationId>c7805cbb-6a4c-4631-878a-11093bfc0520</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>e123a293-3e0f-4f4b-9177-808b032cd38f</ObserverPersonId> <OutboundRoute>sample string 9</OutboundRoute> <PilotPersonId>fd252ad7-b1f5-45d4-8183-98b1050c087b</PilotPersonId> <ProcessStateId>6</ProcessStateId> <StartDateTime>2024-11-21T09:35:23.2408429+01:00</StartDateTime> <StartLocationId>8fc09f6f-8566-42f0-ad0c-f3a2ad2a2ecd</StartLocationId> <ValidationErrors>sample string 13</ValidationErrors> <BlockEndDateTime>2024-11-21T09:35:23.2408429+01:00</BlockEndDateTime> <BlockStartDateTime>2024-11-21T09:35:23.2408429+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>8f6971a6-1990-4bfe-9529-1e1a7ce02f94</d3p1:guid> <d3p1:guid>bd9ccb86-aca2-461a-9ab2-0a8a4773cd96</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">b1e1ff30-831a-4a71-bb0f-496f8e779d41</Id> <AirStateId>4</AirStateId> <AircraftId>f4b8eda9-7e40-472a-9be0-a176286fb086</AircraftId> <CoPilotPersonId>b4ea753e-e7e5-45bc-adfa-b01fd3bcd19e</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 3</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>b1e1ff30-831a-4a71-bb0f-496f8e779d41</FlightId> <FlightTypeId>e5ed351d-668e-4ca5-8916-e7a9a1bcef87</FlightTypeId> <InboundRoute>sample string 9</InboundRoute> <InstructorPersonId>cc640bf4-c426-4b73-a690-87fcd486344a</InstructorPersonId> <InvoiceRecipientPersonId>1e89cdad-2f9a-4d8e-a652-5f15bc432a96</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2024-11-21T09:35:23.2408429+01:00</LdgDateTime> <LdgLocationId>9c395f8e-66d6-4368-92dc-6cca413ad738</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>f3ff38ce-bb99-4d39-91d5-77ca9424d871</ObserverPersonId> <OutboundRoute>sample string 8</OutboundRoute> <PilotPersonId>17df14d1-224c-4fb7-bf05-8cb4e63642dc</PilotPersonId> <ProcessStateId>5</ProcessStateId> <StartDateTime>2024-11-21T09:35:23.2408429+01:00</StartDateTime> <StartLocationId>154d4767-301e-4423-ae07-a77be1edf6fc</StartLocationId> <ValidationErrors>sample string 12</ValidationErrors> </TowFlightDetailsData> </FlightDetails>