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": "0992750c-c03b-40a6-b628-ac261176738b",
  "AtDateTime": "2020-10-28T09:23:27.8423264+01:00"
}

text/html

Sample:
{"AircraftId":"0992750c-c03b-40a6-b628-ac261176738b","AtDateTime":"2020-10-28T09:23:27.8423264+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>0992750c-c03b-40a6-b628-ac261176738b</AircraftId>
  <AtDateTime>2020-10-28T09:23:27.8423264+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": "3c180e54-c46d-401a-bf0f-e242c6c0304c",
  "AtDateTime": "2020-10-28T09:23:27.8423264+01:00",
  "EngineOperatingCounterInSeconds": 1,
  "EngineOperatingCounterUnitTypeKeyName": "sample string 2",
  "AircraftHasNoEngine": true
}

text/html

Sample:
{"AircraftId":"3c180e54-c46d-401a-bf0f-e242c6c0304c","AtDateTime":"2020-10-28T09:23:27.8423264+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>3c180e54-c46d-401a-bf0f-e242c6c0304c</AircraftId>
  <AtDateTime>2020-10-28T09:23:27.8423264+01:00</AtDateTime>
  <EngineOperatingCounterInSeconds>1</EngineOperatingCounterInSeconds>
  <EngineOperatingCounterUnitTypeKeyName>sample string 2</EngineOperatingCounterUnitTypeKeyName>
</AircraftOperatingCounterResult>