POST api/Statistics

Creates PowerReading.

Request Information

URI Parameters

None.

Body Parameters

Statistics
NameDescriptionTypeAdditional information
AddressID

string

None.

StartTime

date

None.

QPowerCount

integer

None.

UnknownCount

integer

None.

InvalidCount

integer

None.

ZenseHomeBoxFirmware

string

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressID": "sample string 1",
  "StartTime": "2020-11-24T11:07:48.0629472+01:00",
  "QPowerCount": 3,
  "UnknownCount": 4,
  "InvalidCount": 5,
  "ZenseHomeBoxFirmware": "sample string 6",
  "ID": 7
}

text/html

Sample:
{"AddressID":"sample string 1","StartTime":"2020-11-24T11:07:48.0629472+01:00","QPowerCount":3,"UnknownCount":4,"InvalidCount":5,"ZenseHomeBoxFirmware":"sample string 6","ID":7}

application/xml, text/xml

Sample:
<Statistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZPPModel">
  <ID>7</ID>
  <AddressID>sample string 1</AddressID>
  <InvalidCount>5</InvalidCount>
  <QPowerCount>3</QPowerCount>
  <StartTime>2020-11-24T11:07:48.0629472+01:00</StartTime>
  <UnknownCount>4</UnknownCount>
  <ZenseHomeBoxFirmware>sample string 6</ZenseHomeBoxFirmware>
</Statistics>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.