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": "92163db5-fb59-4d75-9f85-2ce9fce281ba",
  "AtDateTime": "2019-12-09T08:57:01.9905646+01:00"
}

text/html

Sample:
{"AircraftId":"92163db5-fb59-4d75-9f85-2ce9fce281ba","AtDateTime":"2019-12-09T08:57:01.9905646+01: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>92163db5-fb59-4d75-9f85-2ce9fce281ba</AircraftId>
  <AtDateTime>2019-12-09T08:57:01.9905646+01: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": "5594789c-6d98-483f-9f8c-f765424ae7a7",
  "AtDateTime": "2019-12-09T08:57:01.9905646+01:00",
  "EngineOperatingCounterInSeconds": 1,
  "EngineOperatingCounterUnitTypeKeyName": "sample string 2",
  "AircraftHasNoEngine": true
}

text/html

Sample:
{"AircraftId":"5594789c-6d98-483f-9f8c-f765424ae7a7","AtDateTime":"2019-12-09T08:57:01.9905646+01: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>5594789c-6d98-483f-9f8c-f765424ae7a7</AircraftId>
  <AtDateTime>2019-12-09T08:57:01.9905646+01:00</AtDateTime>
  <EngineOperatingCounterInSeconds>1</EngineOperatingCounterInSeconds>
  <EngineOperatingCounterUnitTypeKeyName>sample string 2</EngineOperatingCounterUnitTypeKeyName>
</AircraftOperatingCounterResult>