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": "5323342d-d537-4c6d-9191-80f905dc3c55", "AircraftStateData": { "AircraftId": "dc86c4cc-4e42-4072-9ae5-3a3fd1aebef3", "AircraftState": 2, "ValidFrom": "2024-10-29T15:42:43.2457169+01:00", "ValidTo": "2024-10-29T15:42:43.2457169+01:00", "NoticedByPersonId": "2c47a21e-a15a-44de-821c-92c2334ab72f", "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": "312c2798-7986-416d-9a42-e25d0fa18964", "AircraftOwnerPersonId": "ac6a1a1d-e632-4596-8857-b34fc4ded555", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2024-10-29T15:42:43.2613341+01:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "3284a1ec-d0fe-444c-9471-49076950538f", "Id": "5323342d-d537-4c6d-9191-80f905dc3c55", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"5323342d-d537-4c6d-9191-80f905dc3c55","AircraftStateData":{"AircraftId":"dc86c4cc-4e42-4072-9ae5-3a3fd1aebef3","AircraftState":2,"ValidFrom":"2024-10-29T15:42:43.2457169+01:00","ValidTo":"2024-10-29T15:42:43.2457169+01:00","NoticedByPersonId":"2c47a21e-a15a-44de-821c-92c2334ab72f","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":"312c2798-7986-416d-9a42-e25d0fa18964","AircraftOwnerPersonId":"ac6a1a1d-e632-4596-8857-b34fc4ded555","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2024-10-29T15:42:43.2613341+01:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"3284a1ec-d0fe-444c-9471-49076950538f","Id":"5323342d-d537-4c6d-9191-80f905dc3c55","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">5323342d-d537-4c6d-9191-80f905dc3c55</Id> <AircraftId>5323342d-d537-4c6d-9191-80f905dc3c55</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>312c2798-7986-416d-9a42-e25d0fa18964</AircraftOwnerClubId> <AircraftOwnerPersonId>ac6a1a1d-e632-4596-8857-b34fc4ded555</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>dc86c4cc-4e42-4072-9ae5-3a3fd1aebef3</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>2c47a21e-a15a-44de-821c-92c2334ab72f</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2024-10-29T15:42:43.2457169+01:00</ValidFrom> <ValidTo>2024-10-29T15:42:43.2457169+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>3284a1ec-d0fe-444c-9471-49076950538f</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-10-29T15:42:43.2613341+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": "85f7377d-3e05-42e9-8e20-c5dcf78b4bec", "AircraftStateData": { "AircraftId": "25a53f1e-42ff-41d0-9055-3396ff8fbc49", "AircraftState": 2, "ValidFrom": "2024-10-29T15:42:43.2769581+01:00", "ValidTo": "2024-10-29T15:42:43.2769581+01:00", "NoticedByPersonId": "a1beaa7f-4bcf-4de7-8585-e859a46aec13", "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": "a8ffde81-6257-417d-bb7c-b2ce379f1c33", "AircraftOwnerPersonId": "ee0c4481-d07e-43b9-a80b-cfb195ca64cb", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2024-10-29T15:42:43.2769581+01:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "267f0ef2-8b37-4a48-94bc-9e10d550c1c4", "Id": "85f7377d-3e05-42e9-8e20-c5dcf78b4bec", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"85f7377d-3e05-42e9-8e20-c5dcf78b4bec","AircraftStateData":{"AircraftId":"25a53f1e-42ff-41d0-9055-3396ff8fbc49","AircraftState":2,"ValidFrom":"2024-10-29T15:42:43.2769581+01:00","ValidTo":"2024-10-29T15:42:43.2769581+01:00","NoticedByPersonId":"a1beaa7f-4bcf-4de7-8585-e859a46aec13","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":"a8ffde81-6257-417d-bb7c-b2ce379f1c33","AircraftOwnerPersonId":"ee0c4481-d07e-43b9-a80b-cfb195ca64cb","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2024-10-29T15:42:43.2769581+01:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"267f0ef2-8b37-4a48-94bc-9e10d550c1c4","Id":"85f7377d-3e05-42e9-8e20-c5dcf78b4bec","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">85f7377d-3e05-42e9-8e20-c5dcf78b4bec</Id> <AircraftId>85f7377d-3e05-42e9-8e20-c5dcf78b4bec</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>a8ffde81-6257-417d-bb7c-b2ce379f1c33</AircraftOwnerClubId> <AircraftOwnerPersonId>ee0c4481-d07e-43b9-a80b-cfb195ca64cb</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>25a53f1e-42ff-41d0-9055-3396ff8fbc49</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>a1beaa7f-4bcf-4de7-8585-e859a46aec13</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2024-10-29T15:42:43.2769581+01:00</ValidFrom> <ValidTo>2024-10-29T15:42:43.2769581+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>267f0ef2-8b37-4a48-94bc-9e10d550c1c4</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-10-29T15:42:43.2769581+01:00</YearOfManufacture> </AircraftDetails>