PUT api/v1/aircrafts/{aircraftId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
aircraftId

globally unique identifier

Required

Body Parameters

AircraftDetails
NameDescriptionTypeAdditional 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

Sample:
{
  "AircraftId": "a58ec35c-9a59-490d-bf89-aa8d4f3781d3",
  "AircraftStateData": {
    "AircraftId": "268668e7-781e-4a73-ae40-ffdcd704882f",
    "AircraftState": 2,
    "ValidFrom": "2019-12-14T03:40:56.3432003+01:00",
    "ValidTo": "2019-12-14T03:40:56.3432003+01:00",
    "NoticedByPersonId": "785abbc7-25c2-4649-934b-355639defc43",
    "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": "66c9df08-7540-43bc-90b0-2fd037d364c5",
  "AircraftOwnerPersonId": "930bbda6-3714-4a18-b0e6-d2cc1e935e93",
  "AircraftSerialNumber": "sample string 13",
  "YearOfManufacture": "2019-12-14T03:40:56.3588135+01:00",
  "NoiseClass": "sample string 14",
  "NoiseLevel": 1.0,
  "MTOM": 1,
  "FlightOperatingCounterUnitTypeId": 1,
  "EngineOperatingCounterUnitTypeId": 1,
  "HasEngine": true,
  "SpotLink": "sample string 16",
  "HomebaseId": "52dd143b-c454-4502-9337-d2ed248f0464",
  "Id": "a58ec35c-9a59-490d-bf89-aa8d4f3781d3",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"AircraftId":"a58ec35c-9a59-490d-bf89-aa8d4f3781d3","AircraftStateData":{"AircraftId":"268668e7-781e-4a73-ae40-ffdcd704882f","AircraftState":2,"ValidFrom":"2019-12-14T03:40:56.3432003+01:00","ValidTo":"2019-12-14T03:40:56.3432003+01:00","NoticedByPersonId":"785abbc7-25c2-4649-934b-355639defc43","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":"66c9df08-7540-43bc-90b0-2fd037d364c5","AircraftOwnerPersonId":"930bbda6-3714-4a18-b0e6-d2cc1e935e93","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2019-12-14T03:40:56.3588135+01:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"52dd143b-c454-4502-9337-d2ed248f0464","Id":"a58ec35c-9a59-490d-bf89-aa8d4f3781d3","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<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">a58ec35c-9a59-490d-bf89-aa8d4f3781d3</Id>
  <AircraftId>a58ec35c-9a59-490d-bf89-aa8d4f3781d3</AircraftId>
  <AircraftModel>sample string 3</AircraftModel>
  <AircraftOwnerClubId>66c9df08-7540-43bc-90b0-2fd037d364c5</AircraftOwnerClubId>
  <AircraftOwnerPersonId>930bbda6-3714-4a18-b0e6-d2cc1e935e93</AircraftOwnerPersonId>
  <AircraftSerialNumber>sample string 13</AircraftSerialNumber>
  <AircraftStateData>
    <AircraftId>268668e7-781e-4a73-ae40-ffdcd704882f</AircraftId>
    <AircraftState>2</AircraftState>
    <NoticedByPersonId>785abbc7-25c2-4649-934b-355639defc43</NoticedByPersonId>
    <Remarks>sample string 4</Remarks>
    <ValidFrom>2019-12-14T03:40:56.3432003+01:00</ValidFrom>
    <ValidTo>2019-12-14T03:40:56.3432003+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>52dd143b-c454-4502-9337-d2ed248f0464</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>2019-12-14T03:40:56.3588135+01:00</YearOfManufacture>
</AircraftDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AircraftDetails
NameDescriptionTypeAdditional 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

Sample:
{
  "AircraftId": "9e08ef71-1178-4eaf-9d99-5b133fac41cb",
  "AircraftStateData": {
    "AircraftId": "5d517a99-65cb-4df7-9448-b1eb58d3533d",
    "AircraftState": 2,
    "ValidFrom": "2019-12-14T03:40:56.3744373+01:00",
    "ValidTo": "2019-12-14T03:40:56.3744373+01:00",
    "NoticedByPersonId": "607dee9c-7ba1-4b3b-9ca2-378244012b49",
    "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": "f313e8ea-64f1-4974-8e1b-f621bec0c579",
  "AircraftOwnerPersonId": "63b47707-401d-4dcb-afc7-a7aa28d93c04",
  "AircraftSerialNumber": "sample string 13",
  "YearOfManufacture": "2019-12-14T03:40:56.3744373+01:00",
  "NoiseClass": "sample string 14",
  "NoiseLevel": 1.0,
  "MTOM": 1,
  "FlightOperatingCounterUnitTypeId": 1,
  "EngineOperatingCounterUnitTypeId": 1,
  "HasEngine": true,
  "SpotLink": "sample string 16",
  "HomebaseId": "5abfaa1d-0399-4fc2-aa7e-6746ef6897d5",
  "Id": "9e08ef71-1178-4eaf-9d99-5b133fac41cb",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"AircraftId":"9e08ef71-1178-4eaf-9d99-5b133fac41cb","AircraftStateData":{"AircraftId":"5d517a99-65cb-4df7-9448-b1eb58d3533d","AircraftState":2,"ValidFrom":"2019-12-14T03:40:56.3744373+01:00","ValidTo":"2019-12-14T03:40:56.3744373+01:00","NoticedByPersonId":"607dee9c-7ba1-4b3b-9ca2-378244012b49","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":"f313e8ea-64f1-4974-8e1b-f621bec0c579","AircraftOwnerPersonId":"63b47707-401d-4dcb-afc7-a7aa28d93c04","AircraftSerialNumber":"sample string 13","YearOfManufacture":"2019-12-14T03:40:56.3744373+01:00","NoiseClass":"sample string 14","NoiseLevel":1.0,"MTOM":1,"FlightOperatingCounterUnitTypeId":1,"EngineOperatingCounterUnitTypeId":1,"HasEngine":true,"SpotLink":"sample string 16","HomebaseId":"5abfaa1d-0399-4fc2-aa7e-6746ef6897d5","Id":"9e08ef71-1178-4eaf-9d99-5b133fac41cb","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<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">9e08ef71-1178-4eaf-9d99-5b133fac41cb</Id>
  <AircraftId>9e08ef71-1178-4eaf-9d99-5b133fac41cb</AircraftId>
  <AircraftModel>sample string 3</AircraftModel>
  <AircraftOwnerClubId>f313e8ea-64f1-4974-8e1b-f621bec0c579</AircraftOwnerClubId>
  <AircraftOwnerPersonId>63b47707-401d-4dcb-afc7-a7aa28d93c04</AircraftOwnerPersonId>
  <AircraftSerialNumber>sample string 13</AircraftSerialNumber>
  <AircraftStateData>
    <AircraftId>5d517a99-65cb-4df7-9448-b1eb58d3533d</AircraftId>
    <AircraftState>2</AircraftState>
    <NoticedByPersonId>607dee9c-7ba1-4b3b-9ca2-378244012b49</NoticedByPersonId>
    <Remarks>sample string 4</Remarks>
    <ValidFrom>2019-12-14T03:40:56.3744373+01:00</ValidFrom>
    <ValidTo>2019-12-14T03:40:56.3744373+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>5abfaa1d-0399-4fc2-aa7e-6746ef6897d5</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>2019-12-14T03:40:56.3744373+01:00</YearOfManufacture>
</AircraftDetails>