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": "f63e4c64-fca7-42f2-bb8e-b9311660a589",
  "AtDateTime": "2019-10-15T18:30:49.368727+02:00"
}

text/html

Sample:
{"AircraftId":"f63e4c64-fca7-42f2-bb8e-b9311660a589","AtDateTime":"2019-10-15T18:30:49.368727+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>f63e4c64-fca7-42f2-bb8e-b9311660a589</AircraftId>
  <AtDateTime>2019-10-15T18:30:49.368727+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": "19e0cc29-fbdc-4a27-b029-140d750728a3",
  "AtDateTime": "2019-10-15T18:30:49.368727+02:00",
  "EngineOperatingCounterInSeconds": 1,
  "EngineOperatingCounterUnitTypeKeyName": "sample string 2",
  "AircraftHasNoEngine": true
}

text/html

Sample:
{"AircraftId":"19e0cc29-fbdc-4a27-b029-140d750728a3","AtDateTime":"2019-10-15T18:30:49.368727+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>19e0cc29-fbdc-4a27-b029-140d750728a3</AircraftId>
  <AtDateTime>2019-10-15T18:30:49.368727+02:00</AtDateTime>
  <EngineOperatingCounterInSeconds>1</EngineOperatingCounterInSeconds>
  <EngineOperatingCounterUnitTypeKeyName>sample string 2</EngineOperatingCounterUnitTypeKeyName>
</AircraftOperatingCounterResult>