PUT api/v1/aircraftoperatingcounters/{aircraftOperatingCounterId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
aircraftOperatingCounterId

globally unique identifier

Required

Body Parameters

AircraftOperatingCounterDetails
NameDescriptionTypeAdditional information
AircraftOperatingCounterId

globally unique identifier

None.

AircraftId

globally unique identifier

None.

AtDateTime

date

None.

TotalTowedGliderStarts

integer

None.

TotalWinchLaunchStarts

integer

None.

TotalSelfStarts

integer

None.

FlightOperatingCounterInSeconds

integer

None.

EngineOperatingCounterInSeconds

integer

None.

NextMaintenanceAtFlightOperatingCounterInSeconds

integer

None.

NextMaintenanceAtEngineOperatingCounterInSeconds

integer

None.

Id

globally unique identifier

None.

CanUpdateRecord

boolean

None.

CanDeleteRecord

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AircraftOperatingCounterId": "230a8c0a-75f9-4d39-9f99-265b906ba2b3",
  "AircraftId": "1a9e9a42-8a5b-46f3-b063-af9c8626bfc4",
  "AtDateTime": "2019-12-07T20:27:07.6421858+01:00",
  "TotalTowedGliderStarts": 1,
  "TotalWinchLaunchStarts": 1,
  "TotalSelfStarts": 1,
  "FlightOperatingCounterInSeconds": 1,
  "EngineOperatingCounterInSeconds": 1,
  "NextMaintenanceAtFlightOperatingCounterInSeconds": 1,
  "NextMaintenanceAtEngineOperatingCounterInSeconds": 1,
  "Id": "230a8c0a-75f9-4d39-9f99-265b906ba2b3",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"AircraftOperatingCounterId":"230a8c0a-75f9-4d39-9f99-265b906ba2b3","AircraftId":"1a9e9a42-8a5b-46f3-b063-af9c8626bfc4","AtDateTime":"2019-12-07T20:27:07.6421858+01:00","TotalTowedGliderStarts":1,"TotalWinchLaunchStarts":1,"TotalSelfStarts":1,"FlightOperatingCounterInSeconds":1,"EngineOperatingCounterInSeconds":1,"NextMaintenanceAtFlightOperatingCounterInSeconds":1,"NextMaintenanceAtEngineOperatingCounterInSeconds":1,"Id":"230a8c0a-75f9-4d39-9f99-265b906ba2b3","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<AircraftOperatingCounterDetails 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">230a8c0a-75f9-4d39-9f99-265b906ba2b3</Id>
  <AircraftId>1a9e9a42-8a5b-46f3-b063-af9c8626bfc4</AircraftId>
  <AircraftOperatingCounterId>230a8c0a-75f9-4d39-9f99-265b906ba2b3</AircraftOperatingCounterId>
  <AtDateTime>2019-12-07T20:27:07.6421858+01:00</AtDateTime>
  <EngineOperatingCounterInSeconds>1</EngineOperatingCounterInSeconds>
  <FlightOperatingCounterInSeconds>1</FlightOperatingCounterInSeconds>
  <NextMaintenanceAtEngineOperatingCounterInSeconds>1</NextMaintenanceAtEngineOperatingCounterInSeconds>
  <NextMaintenanceAtFlightOperatingCounterInSeconds>1</NextMaintenanceAtFlightOperatingCounterInSeconds>
  <TotalSelfStarts>1</TotalSelfStarts>
  <TotalTowedGliderStarts>1</TotalTowedGliderStarts>
  <TotalWinchLaunchStarts>1</TotalWinchLaunchStarts>
</AircraftOperatingCounterDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AircraftOperatingCounterDetails
NameDescriptionTypeAdditional information
AircraftOperatingCounterId

globally unique identifier

None.

AircraftId

globally unique identifier

None.

AtDateTime

date

None.

TotalTowedGliderStarts

integer

None.

TotalWinchLaunchStarts

integer

None.

TotalSelfStarts

integer

None.

FlightOperatingCounterInSeconds

integer

None.

EngineOperatingCounterInSeconds

integer

None.

NextMaintenanceAtFlightOperatingCounterInSeconds

integer

None.

NextMaintenanceAtEngineOperatingCounterInSeconds

integer

None.

Id

globally unique identifier

None.

CanUpdateRecord

boolean

None.

CanDeleteRecord

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "AircraftOperatingCounterId": "a89caf73-8008-428d-8b3a-68518e3d27ef",
  "AircraftId": "3e8594d4-d74d-47d0-8526-f7f9215e75ec",
  "AtDateTime": "2019-12-07T20:27:07.6578068+01:00",
  "TotalTowedGliderStarts": 1,
  "TotalWinchLaunchStarts": 1,
  "TotalSelfStarts": 1,
  "FlightOperatingCounterInSeconds": 1,
  "EngineOperatingCounterInSeconds": 1,
  "NextMaintenanceAtFlightOperatingCounterInSeconds": 1,
  "NextMaintenanceAtEngineOperatingCounterInSeconds": 1,
  "Id": "a89caf73-8008-428d-8b3a-68518e3d27ef",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"AircraftOperatingCounterId":"a89caf73-8008-428d-8b3a-68518e3d27ef","AircraftId":"3e8594d4-d74d-47d0-8526-f7f9215e75ec","AtDateTime":"2019-12-07T20:27:07.6578068+01:00","TotalTowedGliderStarts":1,"TotalWinchLaunchStarts":1,"TotalSelfStarts":1,"FlightOperatingCounterInSeconds":1,"EngineOperatingCounterInSeconds":1,"NextMaintenanceAtFlightOperatingCounterInSeconds":1,"NextMaintenanceAtEngineOperatingCounterInSeconds":1,"Id":"a89caf73-8008-428d-8b3a-68518e3d27ef","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<AircraftOperatingCounterDetails 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">a89caf73-8008-428d-8b3a-68518e3d27ef</Id>
  <AircraftId>3e8594d4-d74d-47d0-8526-f7f9215e75ec</AircraftId>
  <AircraftOperatingCounterId>a89caf73-8008-428d-8b3a-68518e3d27ef</AircraftOperatingCounterId>
  <AtDateTime>2019-12-07T20:27:07.6578068+01:00</AtDateTime>
  <EngineOperatingCounterInSeconds>1</EngineOperatingCounterInSeconds>
  <FlightOperatingCounterInSeconds>1</FlightOperatingCounterInSeconds>
  <NextMaintenanceAtEngineOperatingCounterInSeconds>1</NextMaintenanceAtEngineOperatingCounterInSeconds>
  <NextMaintenanceAtFlightOperatingCounterInSeconds>1</NextMaintenanceAtFlightOperatingCounterInSeconds>
  <TotalSelfStarts>1</TotalSelfStarts>
  <TotalTowedGliderStarts>1</TotalTowedGliderStarts>
  <TotalWinchLaunchStarts>1</TotalWinchLaunchStarts>
</AircraftOperatingCounterDetails>