POST api/v1/aircrafts
Request Information
URI Parameters
None.
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": "ff4be866-2c45-4715-82f8-2e78a9a0e217", "AircraftStateData": { "AircraftId": "64a58134-24b9-4f70-abf9-8dae5abab624", "AircraftState": 2, "ValidFrom": "2024-11-21T11:26:25.6627214+01:00", "ValidTo": "2024-11-21T11:26:25.6627214+01:00", "NoticedByPersonId": "29b050af-4333-43cc-8ce7-09d15ce3f9ec", "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": "2a65972a-7ce7-4fdf-b6a7-65eb40bfddf5", "AircraftOwnerPersonId": "697c1370-e427-4b3e-aabd-f92938532d2e", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2024-11-21T11:26:25.6627214+01:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "c2f4a206-c58a-40b5-b9f5-f90e83d9166f", "Id": "ff4be866-2c45-4715-82f8-2e78a9a0e217", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"ff4be866-2c45-4715-82f8-2e78a9a0e217","AircraftStateData":{"AircraftId":"64a58134-24b9-4f70-abf9-8dae5abab624","AircraftState":2,"ValidFrom":"2024-11-21T11:26:25.6627214+01:00","ValidTo":"2024-11-21T11:26:25.6627214+01:00","NoticedByPersonId":"29b050af-4333-43cc-8ce7-09d15ce3f9ec","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":"2a65972a-7ce7-4fdf-b6a7-65eb40bfddf5","AircraftOwnerPersonId":"697c1370-e427-4b3e-aabd-f92938532d2e","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2024-11-21T11:26:25.6627214+01:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"c2f4a206-c58a-40b5-b9f5-f90e83d9166f","Id":"ff4be866-2c45-4715-82f8-2e78a9a0e217","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">ff4be866-2c45-4715-82f8-2e78a9a0e217</Id> <AircraftId>ff4be866-2c45-4715-82f8-2e78a9a0e217</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>2a65972a-7ce7-4fdf-b6a7-65eb40bfddf5</AircraftOwnerClubId> <AircraftOwnerPersonId>697c1370-e427-4b3e-aabd-f92938532d2e</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>64a58134-24b9-4f70-abf9-8dae5abab624</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>29b050af-4333-43cc-8ce7-09d15ce3f9ec</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2024-11-21T11:26:25.6627214+01:00</ValidFrom> <ValidTo>2024-11-21T11:26:25.6627214+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>c2f4a206-c58a-40b5-b9f5-f90e83d9166f</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>2024-11-21T11:26:25.6627214+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": "8ff1a382-83ca-447b-a83f-98544e6c17cb", "AircraftStateData": { "AircraftId": "bed662e1-c71c-4dfd-9a8d-22fbad6c8b27", "AircraftState": 2, "ValidFrom": "2024-11-21T11:26:25.6783424+01:00", "ValidTo": "2024-11-21T11:26:25.6783424+01:00", "NoticedByPersonId": "79b338a8-d1c1-4cc0-bd4b-81bcfa8566f6", "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": "cfc460d2-52f7-479f-bf90-d4137fd39779", "AircraftOwnerPersonId": "7e940f6a-c7d0-4ed1-92f2-86ff54d53acd", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2024-11-21T11:26:25.6783424+01:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "d7413fcb-3e3e-40cc-b4fc-9e42112dac0e", "Id": "8ff1a382-83ca-447b-a83f-98544e6c17cb", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"8ff1a382-83ca-447b-a83f-98544e6c17cb","AircraftStateData":{"AircraftId":"bed662e1-c71c-4dfd-9a8d-22fbad6c8b27","AircraftState":2,"ValidFrom":"2024-11-21T11:26:25.6783424+01:00","ValidTo":"2024-11-21T11:26:25.6783424+01:00","NoticedByPersonId":"79b338a8-d1c1-4cc0-bd4b-81bcfa8566f6","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":"cfc460d2-52f7-479f-bf90-d4137fd39779","AircraftOwnerPersonId":"7e940f6a-c7d0-4ed1-92f2-86ff54d53acd","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2024-11-21T11:26:25.6783424+01:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"d7413fcb-3e3e-40cc-b4fc-9e42112dac0e","Id":"8ff1a382-83ca-447b-a83f-98544e6c17cb","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">8ff1a382-83ca-447b-a83f-98544e6c17cb</Id> <AircraftId>8ff1a382-83ca-447b-a83f-98544e6c17cb</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>cfc460d2-52f7-479f-bf90-d4137fd39779</AircraftOwnerClubId> <AircraftOwnerPersonId>7e940f6a-c7d0-4ed1-92f2-86ff54d53acd</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>bed662e1-c71c-4dfd-9a8d-22fbad6c8b27</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>79b338a8-d1c1-4cc0-bd4b-81bcfa8566f6</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2024-11-21T11:26:25.6783424+01:00</ValidFrom> <ValidTo>2024-11-21T11:26:25.6783424+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>d7413fcb-3e3e-40cc-b4fc-9e42112dac0e</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>2024-11-21T11:26:25.6783424+01:00</YearOfManufacture> </AircraftDetails>