POST api/v1/aircrafts
Inserts the specified aircraft.
Request Information
URI Parameters
None.
Body Parameters
The aircraft details.
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. |
|
Cost | decimal number |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Request Formats
application/json, text/json
{ "AircraftId": "b4b7f1a8-bdd8-443f-a91a-ec1fa63c2faf", "AircraftStateData": { "AircraftId": "80a8b5db-cd5c-4be2-9aa0-8b32be5f8687", "AircraftState": 2, "ValidFrom": "2024-03-30T04:49:40.800707+01:00", "ValidTo": "2024-03-30T04:49:40.800707+01:00", "NoticedByPersonId": "9b9151d7-942a-49bf-ace8-6b36559d0eec", "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": "054e22bd-cea2-4dd8-b598-3051c3e3fcc4", "AircraftOwnerPersonId": "92708e4f-69f5-4bc3-a512-45a87353d0f9", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2024-03-30T04:49:40.800707+01:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "e8493863-c798-4faa-98e4-5102eca2ed4c", "Cost": 17.0, "Id": "b4b7f1a8-bdd8-443f-a91a-ec1fa63c2faf", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"b4b7f1a8-bdd8-443f-a91a-ec1fa63c2faf","AircraftStateData":{"AircraftId":"80a8b5db-cd5c-4be2-9aa0-8b32be5f8687","AircraftState":2,"ValidFrom":"2024-03-30T04:49:40.800707+01:00","ValidTo":"2024-03-30T04:49:40.800707+01:00","NoticedByPersonId":"9b9151d7-942a-49bf-ace8-6b36559d0eec","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":"054e22bd-cea2-4dd8-b598-3051c3e3fcc4","AircraftOwnerPersonId":"92708e4f-69f5-4bc3-a512-45a87353d0f9","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2024-03-30T04:49:40.800707+01:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"e8493863-c798-4faa-98e4-5102eca2ed4c","Cost":17.0,"Id":"b4b7f1a8-bdd8-443f-a91a-ec1fa63c2faf","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">b4b7f1a8-bdd8-443f-a91a-ec1fa63c2faf</Id> <AircraftId>b4b7f1a8-bdd8-443f-a91a-ec1fa63c2faf</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>054e22bd-cea2-4dd8-b598-3051c3e3fcc4</AircraftOwnerClubId> <AircraftOwnerPersonId>92708e4f-69f5-4bc3-a512-45a87353d0f9</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>80a8b5db-cd5c-4be2-9aa0-8b32be5f8687</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>9b9151d7-942a-49bf-ace8-6b36559d0eec</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2024-03-30T04:49:40.800707+01:00</ValidFrom> <ValidTo>2024-03-30T04:49:40.800707+01:00</ValidTo> </AircraftStateData> <AircraftType>8</AircraftType> <Comment>sample string 4</Comment> <CompetitionSign>sample string 5</CompetitionSign> <Cost>17</Cost> <DaecIndex>1</DaecIndex> <EngineOperatingCounterUnitTypeId>1</EngineOperatingCounterUnitTypeId> <FLARMId>sample string 6</FLARMId> <FlightOperatingCounterUnitTypeId>1</FlightOperatingCounterUnitTypeId> <HasEngine>true</HasEngine> <HomebaseId>e8493863-c798-4faa-98e4-5102eca2ed4c</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-03-30T04:49:40.800707+01:00</YearOfManufacture> </AircraftDetails>
application/x-www-form-urlencoded
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. |
|
Cost | decimal number |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
{ "AircraftId": "d8ffcadf-08b0-456a-b685-0bde44a74c57", "AircraftStateData": { "AircraftId": "d10cb9d7-45b9-4342-86da-665bb12ea581", "AircraftState": 2, "ValidFrom": "2024-03-30T04:49:40.8337114+01:00", "ValidTo": "2024-03-30T04:49:40.8337114+01:00", "NoticedByPersonId": "c235845e-9df7-4843-9de5-91178c62172e", "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": "08ffeab0-3836-46a5-a23d-ef177485d1b1", "AircraftOwnerPersonId": "ca96e83f-33d8-493f-b05e-c9901b9de64f", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2024-03-30T04:49:40.8346975+01:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "d25ad58d-a051-4b60-b370-f054c6059d5a", "Cost": 17.0, "Id": "d8ffcadf-08b0-456a-b685-0bde44a74c57", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"d8ffcadf-08b0-456a-b685-0bde44a74c57","AircraftStateData":{"AircraftId":"d10cb9d7-45b9-4342-86da-665bb12ea581","AircraftState":2,"ValidFrom":"2024-03-30T04:49:40.8337114+01:00","ValidTo":"2024-03-30T04:49:40.8337114+01:00","NoticedByPersonId":"c235845e-9df7-4843-9de5-91178c62172e","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":"08ffeab0-3836-46a5-a23d-ef177485d1b1","AircraftOwnerPersonId":"ca96e83f-33d8-493f-b05e-c9901b9de64f","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2024-03-30T04:49:40.8346975+01:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"d25ad58d-a051-4b60-b370-f054c6059d5a","Cost":17.0,"Id":"d8ffcadf-08b0-456a-b685-0bde44a74c57","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">d8ffcadf-08b0-456a-b685-0bde44a74c57</Id> <AircraftId>d8ffcadf-08b0-456a-b685-0bde44a74c57</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>08ffeab0-3836-46a5-a23d-ef177485d1b1</AircraftOwnerClubId> <AircraftOwnerPersonId>ca96e83f-33d8-493f-b05e-c9901b9de64f</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>d10cb9d7-45b9-4342-86da-665bb12ea581</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>c235845e-9df7-4843-9de5-91178c62172e</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2024-03-30T04:49:40.8337114+01:00</ValidFrom> <ValidTo>2024-03-30T04:49:40.8337114+01:00</ValidTo> </AircraftStateData> <AircraftType>8</AircraftType> <Comment>sample string 4</Comment> <CompetitionSign>sample string 5</CompetitionSign> <Cost>17</Cost> <DaecIndex>1</DaecIndex> <EngineOperatingCounterUnitTypeId>1</EngineOperatingCounterUnitTypeId> <FLARMId>sample string 6</FLARMId> <FlightOperatingCounterUnitTypeId>1</FlightOperatingCounterUnitTypeId> <HasEngine>true</HasEngine> <HomebaseId>d25ad58d-a051-4b60-b370-f054c6059d5a</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-03-30T04:49:40.8346975+01:00</YearOfManufacture> </AircraftDetails>