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": "55c18867-8c5e-4fb9-8a12-2549e3b97840", "AircraftStateData": { "AircraftId": "f84be1cb-9880-487c-a35c-9baf068129fe", "AircraftState": 2, "ValidFrom": "2024-04-25T15:40:57.2212627+02:00", "ValidTo": "2024-04-25T15:40:57.2212627+02:00", "NoticedByPersonId": "c0a76ee7-7b45-428a-919b-ddf0602d1b9f", "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": "8439d7c7-f734-45cf-85ec-a80043213f24", "AircraftOwnerPersonId": "3547a138-94e9-47fc-87db-65db67f8e234", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2024-04-25T15:40:57.2212627+02:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "910db1b5-5d24-42a9-bb20-3992d07c8d1b", "Id": "55c18867-8c5e-4fb9-8a12-2549e3b97840", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"55c18867-8c5e-4fb9-8a12-2549e3b97840","AircraftStateData":{"AircraftId":"f84be1cb-9880-487c-a35c-9baf068129fe","AircraftState":2,"ValidFrom":"2024-04-25T15:40:57.2212627+02:00","ValidTo":"2024-04-25T15:40:57.2212627+02:00","NoticedByPersonId":"c0a76ee7-7b45-428a-919b-ddf0602d1b9f","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":"8439d7c7-f734-45cf-85ec-a80043213f24","AircraftOwnerPersonId":"3547a138-94e9-47fc-87db-65db67f8e234","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2024-04-25T15:40:57.2212627+02:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"910db1b5-5d24-42a9-bb20-3992d07c8d1b","Id":"55c18867-8c5e-4fb9-8a12-2549e3b97840","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">55c18867-8c5e-4fb9-8a12-2549e3b97840</Id> <AircraftId>55c18867-8c5e-4fb9-8a12-2549e3b97840</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>8439d7c7-f734-45cf-85ec-a80043213f24</AircraftOwnerClubId> <AircraftOwnerPersonId>3547a138-94e9-47fc-87db-65db67f8e234</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>f84be1cb-9880-487c-a35c-9baf068129fe</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>c0a76ee7-7b45-428a-919b-ddf0602d1b9f</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2024-04-25T15:40:57.2212627+02:00</ValidFrom> <ValidTo>2024-04-25T15:40:57.2212627+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>910db1b5-5d24-42a9-bb20-3992d07c8d1b</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-04-25T15:40:57.2212627+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": "01c89a0e-6215-4e7e-ba5f-0cd3d9f3b0f6", "AircraftStateData": { "AircraftId": "6aa108c5-efcb-4fd6-922a-175ba20d7412", "AircraftState": 2, "ValidFrom": "2024-04-25T15:40:57.2681353+02:00", "ValidTo": "2024-04-25T15:40:57.2681353+02:00", "NoticedByPersonId": "743d218e-d637-4a5d-b1fe-b00a65b5db2f", "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": "e6dffaef-6a40-49f7-a7e9-be7cfdcefc57", "AircraftOwnerPersonId": "c98311eb-a480-48a9-9578-1c11b481784d", "AircraftSerialNumber": "sample string 13", "YearOfManufacture": "2024-04-25T15:40:57.2681353+02:00", "NoiseClass": "sample string 14", "NoiseLevel": 1.0, "MTOM": 1, "FlightOperatingCounterUnitTypeId": 1, "EngineOperatingCounterUnitTypeId": 1, "HasEngine": true, "SpotLink": "sample string 16", "HomebaseId": "f4605575-1943-474e-a3cc-f3c5911e3a59", "Id": "01c89a0e-6215-4e7e-ba5f-0cd3d9f3b0f6", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"AircraftId":"01c89a0e-6215-4e7e-ba5f-0cd3d9f3b0f6","AircraftStateData":{"AircraftId":"6aa108c5-efcb-4fd6-922a-175ba20d7412","AircraftState":2,"ValidFrom":"2024-04-25T15:40:57.2681353+02:00","ValidTo":"2024-04-25T15:40:57.2681353+02:00","NoticedByPersonId":"743d218e-d637-4a5d-b1fe-b00a65b5db2f","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":"e6dffaef-6a40-49f7-a7e9-be7cfdcefc57","AircraftOwnerPersonId":"c98311eb-a480-48a9-9578-1c11b481784d","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2024-04-25T15:40:57.2681353+02:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"f4605575-1943-474e-a3cc-f3c5911e3a59","Id":"01c89a0e-6215-4e7e-ba5f-0cd3d9f3b0f6","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">01c89a0e-6215-4e7e-ba5f-0cd3d9f3b0f6</Id> <AircraftId>01c89a0e-6215-4e7e-ba5f-0cd3d9f3b0f6</AircraftId> <AircraftModel>sample string 3</AircraftModel> <AircraftOwnerClubId>e6dffaef-6a40-49f7-a7e9-be7cfdcefc57</AircraftOwnerClubId> <AircraftOwnerPersonId>c98311eb-a480-48a9-9578-1c11b481784d</AircraftOwnerPersonId> <AircraftSerialNumber>sample string 13</AircraftSerialNumber> <AircraftStateData> <AircraftId>6aa108c5-efcb-4fd6-922a-175ba20d7412</AircraftId> <AircraftState>2</AircraftState> <NoticedByPersonId>743d218e-d637-4a5d-b1fe-b00a65b5db2f</NoticedByPersonId> <Remarks>sample string 4</Remarks> <ValidFrom>2024-04-25T15:40:57.2681353+02:00</ValidFrom> <ValidTo>2024-04-25T15:40:57.2681353+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>f4605575-1943-474e-a3cc-f3c5911e3a59</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-04-25T15:40:57.2681353+02:00</YearOfManufacture> </AircraftDetails>