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": "a1749d73-952e-4cb9-a679-5f67a989e546", "AircraftStateData": { "AircraftId": "c48bafaf-a2e7-4aa8-b280-4f7386ad2643", "AircraftState": 2, "ValidFrom": "2024-05-16T13:41:49.3648781+02:00", "ValidTo": "2024-05-16T13:41:49.3648781+02:00", "NoticedByPersonId": "8433c795-3534-4ace-a7ab-3cd94220bbcc", "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": "20197961-7b79-4cf2-8e91-cc19cbea3c1f", "AircraftOwnerPersonId": "049db734-3057-435f-8acd-cc2e2323a611", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2024-05-16T13:41:49.3648781+02:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "d84ca01c-cff7-4088-a6ee-493102106855", "Id": "a1749d73-952e-4cb9-a679-5f67a989e546", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"a1749d73-952e-4cb9-a679-5f67a989e546","AircraftStateData":{"AircraftId":"c48bafaf-a2e7-4aa8-b280-4f7386ad2643","AircraftState":2,"ValidFrom":"2024-05-16T13:41:49.3648781+02:00","ValidTo":"2024-05-16T13:41:49.3648781+02:00","NoticedByPersonId":"8433c795-3534-4ace-a7ab-3cd94220bbcc","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":"20197961-7b79-4cf2-8e91-cc19cbea3c1f","AircraftOwnerPersonId":"049db734-3057-435f-8acd-cc2e2323a611","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2024-05-16T13:41:49.3648781+02:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"d84ca01c-cff7-4088-a6ee-493102106855","Id":"a1749d73-952e-4cb9-a679-5f67a989e546","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">a1749d73-952e-4cb9-a679-5f67a989e546</Id> <AircraftId>a1749d73-952e-4cb9-a679-5f67a989e546</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>20197961-7b79-4cf2-8e91-cc19cbea3c1f</AircraftOwnerClubId> <AircraftOwnerPersonId>049db734-3057-435f-8acd-cc2e2323a611</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>c48bafaf-a2e7-4aa8-b280-4f7386ad2643</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>8433c795-3534-4ace-a7ab-3cd94220bbcc</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2024-05-16T13:41:49.3648781+02:00</ValidFrom> <ValidTo>2024-05-16T13:41:49.3648781+02: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>d84ca01c-cff7-4088-a6ee-493102106855</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-05-16T13:41:49.3648781+02: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": "2dccdf9e-c8b2-4916-b577-944d99cbaf52", "AircraftStateData": { "AircraftId": "f74cd4fc-d962-470a-8ecb-d647454f0d0f", "AircraftState": 2, "ValidFrom": "2024-05-16T13:41:49.3648781+02:00", "ValidTo": "2024-05-16T13:41:49.3648781+02:00", "NoticedByPersonId": "e8c41fae-1f26-4ed7-9984-4f4e39f3eba9", "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": "cb41d466-3cdf-469a-b64d-06457bbb7c74", "AircraftOwnerPersonId": "cde2d671-566b-44c7-86ca-942bc4d3a2d1", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2024-05-16T13:41:49.3648781+02:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "af0c26b4-d8f9-4832-8b19-6b86facd21e8", "Id": "2dccdf9e-c8b2-4916-b577-944d99cbaf52", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"2dccdf9e-c8b2-4916-b577-944d99cbaf52","AircraftStateData":{"AircraftId":"f74cd4fc-d962-470a-8ecb-d647454f0d0f","AircraftState":2,"ValidFrom":"2024-05-16T13:41:49.3648781+02:00","ValidTo":"2024-05-16T13:41:49.3648781+02:00","NoticedByPersonId":"e8c41fae-1f26-4ed7-9984-4f4e39f3eba9","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":"cb41d466-3cdf-469a-b64d-06457bbb7c74","AircraftOwnerPersonId":"cde2d671-566b-44c7-86ca-942bc4d3a2d1","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2024-05-16T13:41:49.3648781+02:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"af0c26b4-d8f9-4832-8b19-6b86facd21e8","Id":"2dccdf9e-c8b2-4916-b577-944d99cbaf52","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">2dccdf9e-c8b2-4916-b577-944d99cbaf52</Id> <AircraftId>2dccdf9e-c8b2-4916-b577-944d99cbaf52</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>cb41d466-3cdf-469a-b64d-06457bbb7c74</AircraftOwnerClubId> <AircraftOwnerPersonId>cde2d671-566b-44c7-86ca-942bc4d3a2d1</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>f74cd4fc-d962-470a-8ecb-d647454f0d0f</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>e8c41fae-1f26-4ed7-9984-4f4e39f3eba9</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2024-05-16T13:41:49.3648781+02:00</ValidFrom> <ValidTo>2024-05-16T13:41:49.3648781+02: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>af0c26b4-d8f9-4832-8b19-6b86facd21e8</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-05-16T13:41:49.3648781+02:00</YearOfManufacture> </AircraftDetails>