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": "06b9bc0b-02ed-477c-8428-4e9c44deb750", "NewFlightProcessState": 0 }
text/html
Sample:
{"FlightId":"06b9bc0b-02ed-477c-8428-4e9c44deb750","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>06b9bc0b-02ed-477c-8428-4e9c44deb750</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": "fba84536-859e-48ec-b44b-dfd3d4e9801d", "StartType": 1, "FlightDate": "2025-08-30T06:43:57.0447803+02:00", "GliderFlightDetailsData": { "CouponNumber": "sample string 1", "WinchOperatorPersonId": "bd80bdfa-a4e3-4da7-9fc0-0f01cf0e698b", "StartPosition": 1, "PassengerPersonId": "6c9df240-c94b-4ea9-98ed-c5c72b6cfdcd", "FlightId": "d9a54cbe-4514-4d90-a4c3-7057e41ab36c", "AircraftId": "f64863e0-fbce-4289-986e-bf3f89f2451a", "PilotPersonId": "a588692d-df97-4b15-a03e-a767b5f5d07c", "CoPilotPersonId": "bc94ffe8-55f9-4252-b1d4-6f51b6e8930d", "InstructorPersonId": "da68fa18-de31-4ebb-8338-e92ba0bb3b77", "ObserverPersonId": "614132ed-9b44-40d7-b7e8-72873c9bfcfe", "InvoiceRecipientPersonId": "ef0be129-b566-4009-b8aa-24643955fa29", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 4", "AirStateId": 5, "ProcessStateId": 6, "FlightTypeId": "23c6849d-5acf-43ff-8098-1bba6a6e07f7", "LdgDateTime": "2025-08-30T06:43:57.0447803+02:00", "StartDateTime": "2025-08-30T06:43:57.0447803+02:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "c7b4f298-25b8-4a0a-bc8e-1893b4bea1f1", "LdgLocationId": "15877e53-a895-4469-9db6-ca9553103ccb", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 9", "InboundRoute": "sample string 10", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 13", "Id": "d9a54cbe-4514-4d90-a4c3-7057e41ab36c", "CanUpdateRecord": true, "CanDeleteRecord": true }, "TowFlightDetailsData": { "FlightId": "aef22cfe-f40e-4e9d-a989-f00286fd1932", "AircraftId": "1ffee7ef-5fc7-41cc-a647-4a420dde1d49", "PilotPersonId": "f5f663e5-c9f5-49cf-a529-4283f5e49cde", "CoPilotPersonId": "ae17f697-4b0b-4a7f-8622-b478e6805ea6", "InstructorPersonId": "eb9799fc-5fdb-4281-9de8-e0c08e4a04dd", "ObserverPersonId": "f4d66968-f29c-4d6e-a53c-1fef5b013079", "InvoiceRecipientPersonId": "a4a44989-9550-462e-a358-6df97479eb1b", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 3", "AirStateId": 4, "ProcessStateId": 5, "FlightTypeId": "cbf0cf5c-a887-459f-a719-e86a55321c16", "LdgDateTime": "2025-08-30T06:43:57.0447803+02:00", "StartDateTime": "2025-08-30T06:43:57.0447803+02:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "29e336ff-0e53-48af-b201-e12307e267a1", "LdgLocationId": "c17baf14-4a27-4546-8bbf-75c60f4918c5", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 8", "InboundRoute": "sample string 9", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 12", "Id": "aef22cfe-f40e-4e9d-a989-f00286fd1932", "CanUpdateRecord": true, "CanDeleteRecord": true }, "MotorFlightDetailsData": { "CouponNumber": "sample string 1", "BlockStartDateTime": "2025-08-30T06:43:57.060402+02:00", "BlockEndDateTime": "2025-08-30T06:43:57.060402+02:00", "PassengerPersonIds": [ "3c351beb-18d8-4c4e-b82d-50df79aaeab0", "c5656bdf-8649-4d6a-8669-18ae5ef26c1f" ], "NrOfPassengers": 1, "NrOfLdgsOnStartLocation": 1, "FlightId": "3a100159-a160-4a85-b557-c5965910ca68", "AircraftId": "41c81804-17ef-43db-b7e6-d131ca0f5ba0", "PilotPersonId": "c6abdf91-d0b7-4983-b2ab-85f761249ec6", "CoPilotPersonId": "2247a63e-8f61-4511-8bc2-a4767230b2b8", "InstructorPersonId": "2ccd4215-dee3-452a-85ad-42ef797e8cb8", "ObserverPersonId": "b110df5e-abf6-4f61-a481-fbb988013ecc", "InvoiceRecipientPersonId": "9abd23b3-acf0-4d32-a3c4-8997669758d4", "EngineStartOperatingCounterInSeconds": 1, "EngineEndOperatingCounterInSeconds": 1, "FlightComment": "sample string 4", "AirStateId": 5, "ProcessStateId": 6, "FlightTypeId": "5d352785-7bec-4b9f-b567-820802042c69", "LdgDateTime": "2025-08-30T06:43:57.060402+02:00", "StartDateTime": "2025-08-30T06:43:57.060402+02:00", "FlightDuration": "00:00:00.1234567", "StartLocationId": "a30cbf30-a6da-43c3-a66d-05b06f49a509", "LdgLocationId": "b18a655d-e1c6-427a-9914-b6fa935b188d", "FlightCostBalanceType": 1, "NrOfLdgs": 1, "IsSoloFlight": true, "OutboundRoute": "sample string 9", "InboundRoute": "sample string 10", "NoStartTimeInformation": true, "NoLdgTimeInformation": true, "ValidationErrors": "sample string 13", "Id": "3a100159-a160-4a85-b557-c5965910ca68", "CanUpdateRecord": true, "CanDeleteRecord": true }, "Id": "fba84536-859e-48ec-b44b-dfd3d4e9801d", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"FlightId":"fba84536-859e-48ec-b44b-dfd3d4e9801d","StartType":1,"FlightDate":"2025-08-30T06:43:57.0447803+02:00","GliderFlightDetailsData":{"CouponNumber":"sample string 1","WinchOperatorPersonId":"bd80bdfa-a4e3-4da7-9fc0-0f01cf0e698b","StartPosition":1,"PassengerPersonId":"6c9df240-c94b-4ea9-98ed-c5c72b6cfdcd","FlightId":"d9a54cbe-4514-4d90-a4c3-7057e41ab36c","AircraftId":"f64863e0-fbce-4289-986e-bf3f89f2451a","PilotPersonId":"a588692d-df97-4b15-a03e-a767b5f5d07c","CoPilotPersonId":"bc94ffe8-55f9-4252-b1d4-6f51b6e8930d","InstructorPersonId":"da68fa18-de31-4ebb-8338-e92ba0bb3b77","ObserverPersonId":"614132ed-9b44-40d7-b7e8-72873c9bfcfe","InvoiceRecipientPersonId":"ef0be129-b566-4009-b8aa-24643955fa29","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"23c6849d-5acf-43ff-8098-1bba6a6e07f7","LdgDateTime":"2025-08-30T06:43:57.0447803+02:00","StartDateTime":"2025-08-30T06:43:57.0447803+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"c7b4f298-25b8-4a0a-bc8e-1893b4bea1f1","LdgLocationId":"15877e53-a895-4469-9db6-ca9553103ccb","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"d9a54cbe-4514-4d90-a4c3-7057e41ab36c","CanUpdateRecord":true,"CanDeleteRecord":true},"TowFlightDetailsData":{"FlightId":"aef22cfe-f40e-4e9d-a989-f00286fd1932","AircraftId":"1ffee7ef-5fc7-41cc-a647-4a420dde1d49","PilotPersonId":"f5f663e5-c9f5-49cf-a529-4283f5e49cde","CoPilotPersonId":"ae17f697-4b0b-4a7f-8622-b478e6805ea6","InstructorPersonId":"eb9799fc-5fdb-4281-9de8-e0c08e4a04dd","ObserverPersonId":"f4d66968-f29c-4d6e-a53c-1fef5b013079","InvoiceRecipientPersonId":"a4a44989-9550-462e-a358-6df97479eb1b","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 3","AirStateId":4,"ProcessStateId":5,"FlightTypeId":"cbf0cf5c-a887-459f-a719-e86a55321c16","LdgDateTime":"2025-08-30T06:43:57.0447803+02:00","StartDateTime":"2025-08-30T06:43:57.0447803+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"29e336ff-0e53-48af-b201-e12307e267a1","LdgLocationId":"c17baf14-4a27-4546-8bbf-75c60f4918c5","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 8","InboundRoute":"sample string 9","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 12","Id":"aef22cfe-f40e-4e9d-a989-f00286fd1932","CanUpdateRecord":true,"CanDeleteRecord":true},"MotorFlightDetailsData":{"CouponNumber":"sample string 1","BlockStartDateTime":"2025-08-30T06:43:57.060402+02:00","BlockEndDateTime":"2025-08-30T06:43:57.060402+02:00","PassengerPersonIds":["3c351beb-18d8-4c4e-b82d-50df79aaeab0","c5656bdf-8649-4d6a-8669-18ae5ef26c1f"],"NrOfPassengers":1,"NrOfLdgsOnStartLocation":1,"FlightId":"3a100159-a160-4a85-b557-c5965910ca68","AircraftId":"41c81804-17ef-43db-b7e6-d131ca0f5ba0","PilotPersonId":"c6abdf91-d0b7-4983-b2ab-85f761249ec6","CoPilotPersonId":"2247a63e-8f61-4511-8bc2-a4767230b2b8","InstructorPersonId":"2ccd4215-dee3-452a-85ad-42ef797e8cb8","ObserverPersonId":"b110df5e-abf6-4f61-a481-fbb988013ecc","InvoiceRecipientPersonId":"9abd23b3-acf0-4d32-a3c4-8997669758d4","EngineStartOperatingCounterInSeconds":1,"EngineEndOperatingCounterInSeconds":1,"FlightComment":"sample string 4","AirStateId":5,"ProcessStateId":6,"FlightTypeId":"5d352785-7bec-4b9f-b567-820802042c69","LdgDateTime":"2025-08-30T06:43:57.060402+02:00","StartDateTime":"2025-08-30T06:43:57.060402+02:00","FlightDuration":"00:00:00.1234567","StartLocationId":"a30cbf30-a6da-43c3-a66d-05b06f49a509","LdgLocationId":"b18a655d-e1c6-427a-9914-b6fa935b188d","FlightCostBalanceType":1,"NrOfLdgs":1,"IsSoloFlight":true,"OutboundRoute":"sample string 9","InboundRoute":"sample string 10","NoStartTimeInformation":true,"NoLdgTimeInformation":true,"ValidationErrors":"sample string 13","Id":"3a100159-a160-4a85-b557-c5965910ca68","CanUpdateRecord":true,"CanDeleteRecord":true},"Id":"fba84536-859e-48ec-b44b-dfd3d4e9801d","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">fba84536-859e-48ec-b44b-dfd3d4e9801d</Id> <FlightDate>2025-08-30T06:43:57.0447803+02:00</FlightDate> <FlightId>fba84536-859e-48ec-b44b-dfd3d4e9801d</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">d9a54cbe-4514-4d90-a4c3-7057e41ab36c</Id> <AirStateId>5</AirStateId> <AircraftId>f64863e0-fbce-4289-986e-bf3f89f2451a</AircraftId> <CoPilotPersonId>bc94ffe8-55f9-4252-b1d4-6f51b6e8930d</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 4</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>d9a54cbe-4514-4d90-a4c3-7057e41ab36c</FlightId> <FlightTypeId>23c6849d-5acf-43ff-8098-1bba6a6e07f7</FlightTypeId> <InboundRoute>sample string 10</InboundRoute> <InstructorPersonId>da68fa18-de31-4ebb-8338-e92ba0bb3b77</InstructorPersonId> <InvoiceRecipientPersonId>ef0be129-b566-4009-b8aa-24643955fa29</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2025-08-30T06:43:57.0447803+02:00</LdgDateTime> <LdgLocationId>15877e53-a895-4469-9db6-ca9553103ccb</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>614132ed-9b44-40d7-b7e8-72873c9bfcfe</ObserverPersonId> <OutboundRoute>sample string 9</OutboundRoute> <PilotPersonId>a588692d-df97-4b15-a03e-a767b5f5d07c</PilotPersonId> <ProcessStateId>6</ProcessStateId> <StartDateTime>2025-08-30T06:43:57.0447803+02:00</StartDateTime> <StartLocationId>c7b4f298-25b8-4a0a-bc8e-1893b4bea1f1</StartLocationId> <ValidationErrors>sample string 13</ValidationErrors> <CouponNumber>sample string 1</CouponNumber> <PassengerPersonId>6c9df240-c94b-4ea9-98ed-c5c72b6cfdcd</PassengerPersonId> <StartPosition>1</StartPosition> <WinchOperatorPersonId>bd80bdfa-a4e3-4da7-9fc0-0f01cf0e698b</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">3a100159-a160-4a85-b557-c5965910ca68</Id> <AirStateId>5</AirStateId> <AircraftId>41c81804-17ef-43db-b7e6-d131ca0f5ba0</AircraftId> <CoPilotPersonId>2247a63e-8f61-4511-8bc2-a4767230b2b8</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 4</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>3a100159-a160-4a85-b557-c5965910ca68</FlightId> <FlightTypeId>5d352785-7bec-4b9f-b567-820802042c69</FlightTypeId> <InboundRoute>sample string 10</InboundRoute> <InstructorPersonId>2ccd4215-dee3-452a-85ad-42ef797e8cb8</InstructorPersonId> <InvoiceRecipientPersonId>9abd23b3-acf0-4d32-a3c4-8997669758d4</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2025-08-30T06:43:57.060402+02:00</LdgDateTime> <LdgLocationId>b18a655d-e1c6-427a-9914-b6fa935b188d</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>b110df5e-abf6-4f61-a481-fbb988013ecc</ObserverPersonId> <OutboundRoute>sample string 9</OutboundRoute> <PilotPersonId>c6abdf91-d0b7-4983-b2ab-85f761249ec6</PilotPersonId> <ProcessStateId>6</ProcessStateId> <StartDateTime>2025-08-30T06:43:57.060402+02:00</StartDateTime> <StartLocationId>a30cbf30-a6da-43c3-a66d-05b06f49a509</StartLocationId> <ValidationErrors>sample string 13</ValidationErrors> <BlockEndDateTime>2025-08-30T06:43:57.060402+02:00</BlockEndDateTime> <BlockStartDateTime>2025-08-30T06:43:57.060402+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>3c351beb-18d8-4c4e-b82d-50df79aaeab0</d3p1:guid> <d3p1:guid>c5656bdf-8649-4d6a-8669-18ae5ef26c1f</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">aef22cfe-f40e-4e9d-a989-f00286fd1932</Id> <AirStateId>4</AirStateId> <AircraftId>1ffee7ef-5fc7-41cc-a647-4a420dde1d49</AircraftId> <CoPilotPersonId>ae17f697-4b0b-4a7f-8622-b478e6805ea6</CoPilotPersonId> <EngineEndOperatingCounterInSeconds>1</EngineEndOperatingCounterInSeconds> <EngineStartOperatingCounterInSeconds>1</EngineStartOperatingCounterInSeconds> <FlightComment>sample string 3</FlightComment> <FlightCostBalanceType>1</FlightCostBalanceType> <FlightDuration>PT0.1234567S</FlightDuration> <FlightId>aef22cfe-f40e-4e9d-a989-f00286fd1932</FlightId> <FlightTypeId>cbf0cf5c-a887-459f-a719-e86a55321c16</FlightTypeId> <InboundRoute>sample string 9</InboundRoute> <InstructorPersonId>eb9799fc-5fdb-4281-9de8-e0c08e4a04dd</InstructorPersonId> <InvoiceRecipientPersonId>a4a44989-9550-462e-a358-6df97479eb1b</InvoiceRecipientPersonId> <IsSoloFlight>true</IsSoloFlight> <LdgDateTime>2025-08-30T06:43:57.0447803+02:00</LdgDateTime> <LdgLocationId>c17baf14-4a27-4546-8bbf-75c60f4918c5</LdgLocationId> <NoLdgTimeInformation>true</NoLdgTimeInformation> <NoStartTimeInformation>true</NoStartTimeInformation> <NrOfLdgs>1</NrOfLdgs> <ObserverPersonId>f4d66968-f29c-4d6e-a53c-1fef5b013079</ObserverPersonId> <OutboundRoute>sample string 8</OutboundRoute> <PilotPersonId>f5f663e5-c9f5-49cf-a529-4283f5e49cde</PilotPersonId> <ProcessStateId>5</ProcessStateId> <StartDateTime>2025-08-30T06:43:57.0447803+02:00</StartDateTime> <StartLocationId>29e336ff-0e53-48af-b201-e12307e267a1</StartLocationId> <ValidationErrors>sample string 12</ValidationErrors> </TowFlightDetailsData> </FlightDetails>