POST api/v1/aircraftoperatingcounters/request

Request Information

URI Parameters

None.

Body Parameters

AircraftOperatingCounterRequest
NameDescriptionTypeAdditional information
AircraftId

globally unique identifier

Required

AtDateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "AircraftId": "c6e15ed3-99d7-48a7-ab8d-1790f8343ec4",
  "AtDateTime": "2020-04-09T09:11:34.0472702+02:00"
}

text/html

Sample:
{"AircraftId":"c6e15ed3-99d7-48a7-ab8d-1790f8343ec4","AtDateTime":"2020-04-09T09:11:34.0472702+02:00"}

application/xml, text/xml

Sample:
<AircraftOperatingCounterRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Aircraft">
  <AircraftId>c6e15ed3-99d7-48a7-ab8d-1790f8343ec4</AircraftId>
  <AtDateTime>2020-04-09T09:11:34.0472702+02:00</AtDateTime>
</AircraftOperatingCounterRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AircraftOperatingCounterResult
NameDescriptionTypeAdditional information
AircraftId

globally unique identifier

Required

AtDateTime

date

None.

EngineOperatingCounterInSeconds

integer

None.

EngineOperatingCounterUnitTypeKeyName

string

None.

AircraftHasNoEngine

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "AircraftId": "c2ff3fff-ab84-42b3-acf3-1c9bae356770",
  "AtDateTime": "2020-04-09T09:11:34.0628819+02:00",
  "EngineOperatingCounterInSeconds": 1,
  "EngineOperatingCounterUnitTypeKeyName": "sample string 2",
  "AircraftHasNoEngine": true
}

text/html

Sample:
{"AircraftId":"c2ff3fff-ab84-42b3-acf3-1c9bae356770","AtDateTime":"2020-04-09T09:11:34.0628819+02:00","EngineOperatingCounterInSeconds":1,"EngineOperatingCounterUnitTypeKeyName":"sample string 2","AircraftHasNoEngine":true}

application/xml, text/xml

Sample:
<AircraftOperatingCounterResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Aircraft">
  <AircraftHasNoEngine>true</AircraftHasNoEngine>
  <AircraftId>c2ff3fff-ab84-42b3-acf3-1c9bae356770</AircraftId>
  <AtDateTime>2020-04-09T09:11:34.0628819+02:00</AtDateTime>
  <EngineOperatingCounterInSeconds>1</EngineOperatingCounterInSeconds>
  <EngineOperatingCounterUnitTypeKeyName>sample string 2</EngineOperatingCounterUnitTypeKeyName>
</AircraftOperatingCounterResult>