PUT api/v1/aircrafts/{aircraftId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
aircraftId | globally unique identifier |
Required |
Body Parameters
AircraftDetailsName | Description | Type | Additional information |
---|---|---|---|
AircraftId | globally unique identifier |
None. |
|
AircraftStateData | AircraftStateData |
None. |
|
ManufacturerName | string |
String length: inclusive between 0 and 100 |
|
AircraftModel | string |
String length: inclusive between 0 and 50 |
|
Comment | string |
String length: inclusive between 0 and 250 |
|
CompetitionSign | string |
String length: inclusive between 0 and 5 |
|
DaecIndex | integer |
None. |
|
FLARMId | string |
String length: inclusive between 0 and 50 |
|
Immatriculation | string |
Required String length: inclusive between 0 and 15 |
|
AircraftType | integer |
None. |
|
IsTowingAircraft | boolean |
None. |
|
IsTowingOrWinchRequired | boolean |
None. |
|
IsTowingstartAllowed | boolean |
None. |
|
IsWinchstartAllowed | boolean |
None. |
|
NrOfSeats | integer |
None. |
|
AircraftOwnerClubId | globally unique identifier |
None. |
|
AircraftOwnerPersonId | globally unique identifier |
None. |
|
AircraftSerialNumber | string |
String length: inclusive between 0 and 20 |
|
YearOfManufacture | date |
None. |
|
NoiseClass | string |
String length: inclusive between 0 and 1 |
|
NoiseLevel | decimal number |
None. |
|
MTOM | integer |
None. |
|
FlightOperatingCounterUnitTypeId | integer |
None. |
|
EngineOperatingCounterUnitTypeId | integer |
None. |
|
HasEngine | boolean |
None. |
|
SpotLink | string |
String length: inclusive between 0 and 250 |
|
HomebaseId | globally unique identifier |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Request Formats
application/json, text/json
{ "AircraftId": "05a61bd7-cef9-422f-8b15-d7d666bacfae", "AircraftStateData": { "AircraftId": "a93f82cb-8216-4a6a-8999-1194661cb845", "AircraftState": 2, "ValidFrom": "2023-01-31T05:08:34.4387676+01:00", "ValidTo": "2023-01-31T05:08:34.4387676+01:00", "NoticedByPersonId": "911a730f-6e9a-4f50-919f-8b95987c53b0", "Remarks": "sample string 4" }, "ManufacturerName": "sample string 2", "AircraftModel": "sample string 3", "Comment": "sample string 4", "CompetitionSign": "sample string 5", "DaecIndex": 1, "FLARMId": "sample string 6", "Immatriculation": "sample string 7", "AircraftType": 8, "IsTowingAircraft": true, "IsTowingOrWinchRequired": true, "IsTowingstartAllowed": true, "IsWinchstartAllowed": true, "NrOfSeats": 1, "AircraftOwnerClubId": "818758c5-18e0-48f6-9865-daabf4ec54c2", "AircraftOwnerPersonId": "99a56baf-fcb2-4449-a6f7-253934ddf6b6", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2023-01-31T05:08:34.4387676+01:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "306ec859-7e24-4094-987b-3bb002582d01", "Id": "05a61bd7-cef9-422f-8b15-d7d666bacfae", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"05a61bd7-cef9-422f-8b15-d7d666bacfae","AircraftStateData":{"AircraftId":"a93f82cb-8216-4a6a-8999-1194661cb845","AircraftState":2,"ValidFrom":"2023-01-31T05:08:34.4387676+01:00","ValidTo":"2023-01-31T05:08:34.4387676+01:00","NoticedByPersonId":"911a730f-6e9a-4f50-919f-8b95987c53b0","Remarks":"sample string 4"},"ManufacturerName":"sample string 2","AircraftModel":"sample string 3","Comment":"sample string 4","CompetitionSign":"sample string 5","DaecIndex":1,"FLARMId":"sample string 6","Immatriculation":"sample string 7","AircraftType":8,"IsTowingAircraft":true,"IsTowingOrWinchRequired":true,"IsTowingstartAllowed":true,"IsWinchstartAllowed":true,"NrOfSeats":1,"AircraftOwnerClubId":"818758c5-18e0-48f6-9865-daabf4ec54c2","AircraftOwnerPersonId":"99a56baf-fcb2-4449-a6f7-253934ddf6b6","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2023-01-31T05:08:34.4387676+01:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"306ec859-7e24-4094-987b-3bb002582d01","Id":"05a61bd7-cef9-422f-8b15-d7d666bacfae","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
<AircraftDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Aircraft"> <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">05a61bd7-cef9-422f-8b15-d7d666bacfae</Id> <AircraftId>05a61bd7-cef9-422f-8b15-d7d666bacfae</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>818758c5-18e0-48f6-9865-daabf4ec54c2</AircraftOwnerClubId> <AircraftOwnerPersonId>99a56baf-fcb2-4449-a6f7-253934ddf6b6</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>a93f82cb-8216-4a6a-8999-1194661cb845</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>911a730f-6e9a-4f50-919f-8b95987c53b0</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2023-01-31T05:08:34.4387676+01:00</ValidFrom> <ValidTo>2023-01-31T05:08:34.4387676+01:00</ValidTo> </AircraftStateData> <AircraftType>8</AircraftType> <Comment>sample string 4</Comment> <CompetitionSign>sample string 5</CompetitionSign> <DaecIndex>1</DaecIndex> <EngineOperatingCounterUnitTypeId>1</EngineOperatingCounterUnitTypeId> <FLARMId>sample string 6</FLARMId> <FlightOperatingCounterUnitTypeId>1</FlightOperatingCounterUnitTypeId> <HasEngine>true</HasEngine> <HomebaseId>306ec859-7e24-4094-987b-3bb002582d01</HomebaseId> <Immatriculation>sample string 7</Immatriculation> <IsTowingAircraft>true</IsTowingAircraft> <IsTowingOrWinchRequired>true</IsTowingOrWinchRequired> <IsTowingstartAllowed>true</IsTowingstartAllowed> <IsWinchstartAllowed>true</IsWinchstartAllowed> <MTOM>1</MTOM> <ManufacturerName>sample string 2</ManufacturerName> <NoiseClass>sample string 14</NoiseClass> <NoiseLevel>1</NoiseLevel> <NrOfSeats>1</NrOfSeats> <SpotLink>sample string 16</SpotLink> <YearOfManufacture>2023-01-31T05:08:34.4387676+01:00</YearOfManufacture> </AircraftDetails>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
AircraftDetailsName | Description | Type | Additional information |
---|---|---|---|
AircraftId | globally unique identifier |
None. |
|
AircraftStateData | AircraftStateData |
None. |
|
ManufacturerName | string |
String length: inclusive between 0 and 100 |
|
AircraftModel | string |
String length: inclusive between 0 and 50 |
|
Comment | string |
String length: inclusive between 0 and 250 |
|
CompetitionSign | string |
String length: inclusive between 0 and 5 |
|
DaecIndex | integer |
None. |
|
FLARMId | string |
String length: inclusive between 0 and 50 |
|
Immatriculation | string |
Required String length: inclusive between 0 and 15 |
|
AircraftType | integer |
None. |
|
IsTowingAircraft | boolean |
None. |
|
IsTowingOrWinchRequired | boolean |
None. |
|
IsTowingstartAllowed | boolean |
None. |
|
IsWinchstartAllowed | boolean |
None. |
|
NrOfSeats | integer |
None. |
|
AircraftOwnerClubId | globally unique identifier |
None. |
|
AircraftOwnerPersonId | globally unique identifier |
None. |
|
AircraftSerialNumber | string |
String length: inclusive between 0 and 20 |
|
YearOfManufacture | date |
None. |
|
NoiseClass | string |
String length: inclusive between 0 and 1 |
|
NoiseLevel | decimal number |
None. |
|
MTOM | integer |
None. |
|
FlightOperatingCounterUnitTypeId | integer |
None. |
|
EngineOperatingCounterUnitTypeId | integer |
None. |
|
HasEngine | boolean |
None. |
|
SpotLink | string |
String length: inclusive between 0 and 250 |
|
HomebaseId | globally unique identifier |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
{ "AircraftId": "7f1651a7-7140-40c8-8307-6b25a9ee57fd", "AircraftStateData": { "AircraftId": "b5e5f130-0021-47f3-b6f6-751e079d6fdb", "AircraftState": 2, "ValidFrom": "2023-01-31T05:08:34.4387676+01:00", "ValidTo": "2023-01-31T05:08:34.4387676+01:00", "NoticedByPersonId": "b19a6da3-e85d-4b4f-8fd9-f6477483b07b", "Remarks": "sample string 4" }, "ManufacturerName": "sample string 2", "AircraftModel": "sample string 3", "Comment": "sample string 4", "CompetitionSign": "sample string 5", "DaecIndex": 1, "FLARMId": "sample string 6", "Immatriculation": "sample string 7", "AircraftType": 8, "IsTowingAircraft": true, "IsTowingOrWinchRequired": true, "IsTowingstartAllowed": true, "IsWinchstartAllowed": true, "NrOfSeats": 1, "AircraftOwnerClubId": "2149348a-5060-49fc-b43f-08bc1ef7bfda", "AircraftOwnerPersonId": "0714f278-abdf-4dd1-bfc0-452347186c66", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2023-01-31T05:08:34.4387676+01:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "6c6df012-d343-4402-a12e-2e00c53b3252", "Id": "7f1651a7-7140-40c8-8307-6b25a9ee57fd", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"7f1651a7-7140-40c8-8307-6b25a9ee57fd","AircraftStateData":{"AircraftId":"b5e5f130-0021-47f3-b6f6-751e079d6fdb","AircraftState":2,"ValidFrom":"2023-01-31T05:08:34.4387676+01:00","ValidTo":"2023-01-31T05:08:34.4387676+01:00","NoticedByPersonId":"b19a6da3-e85d-4b4f-8fd9-f6477483b07b","Remarks":"sample string 4"},"ManufacturerName":"sample string 2","AircraftModel":"sample string 3","Comment":"sample string 4","CompetitionSign":"sample string 5","DaecIndex":1,"FLARMId":"sample string 6","Immatriculation":"sample string 7","AircraftType":8,"IsTowingAircraft":true,"IsTowingOrWinchRequired":true,"IsTowingstartAllowed":true,"IsWinchstartAllowed":true,"NrOfSeats":1,"AircraftOwnerClubId":"2149348a-5060-49fc-b43f-08bc1ef7bfda","AircraftOwnerPersonId":"0714f278-abdf-4dd1-bfc0-452347186c66","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2023-01-31T05:08:34.4387676+01:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"6c6df012-d343-4402-a12e-2e00c53b3252","Id":"7f1651a7-7140-40c8-8307-6b25a9ee57fd","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
<AircraftDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Aircraft"> <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">7f1651a7-7140-40c8-8307-6b25a9ee57fd</Id> <AircraftId>7f1651a7-7140-40c8-8307-6b25a9ee57fd</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>2149348a-5060-49fc-b43f-08bc1ef7bfda</AircraftOwnerClubId> <AircraftOwnerPersonId>0714f278-abdf-4dd1-bfc0-452347186c66</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>b5e5f130-0021-47f3-b6f6-751e079d6fdb</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>b19a6da3-e85d-4b4f-8fd9-f6477483b07b</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2023-01-31T05:08:34.4387676+01:00</ValidFrom> <ValidTo>2023-01-31T05:08:34.4387676+01:00</ValidTo> </AircraftStateData> <AircraftType>8</AircraftType> <Comment>sample string 4</Comment> <CompetitionSign>sample string 5</CompetitionSign> <DaecIndex>1</DaecIndex> <EngineOperatingCounterUnitTypeId>1</EngineOperatingCounterUnitTypeId> <FLARMId>sample string 6</FLARMId> <FlightOperatingCounterUnitTypeId>1</FlightOperatingCounterUnitTypeId> <HasEngine>true</HasEngine> <HomebaseId>6c6df012-d343-4402-a12e-2e00c53b3252</HomebaseId> <Immatriculation>sample string 7</Immatriculation> <IsTowingAircraft>true</IsTowingAircraft> <IsTowingOrWinchRequired>true</IsTowingOrWinchRequired> <IsTowingstartAllowed>true</IsTowingstartAllowed> <IsWinchstartAllowed>true</IsWinchstartAllowed> <MTOM>1</MTOM> <ManufacturerName>sample string 2</ManufacturerName> <NoiseClass>sample string 14</NoiseClass> <NoiseLevel>1</NoiseLevel> <NrOfSeats>1</NrOfSeats> <SpotLink>sample string 16</SpotLink> <YearOfManufacture>2023-01-31T05:08:34.4387676+01:00</YearOfManufacture> </AircraftDetails>