POST api/BatteryStats
Request Information
URI Parameters
None.
Body Parameters
BatteryStat| Name | Description | Type | Additional information |
|---|---|---|---|
| BatteryStatID | integer |
None. |
|
| CompCode | string |
None. |
|
| ScoutGroup | string |
None. |
|
| DeviceID | integer |
None. |
|
| BatteryLevel | decimal number |
None. |
|
| BatteryTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"BatteryStatID": 1,
"CompCode": "sample string 2",
"ScoutGroup": "sample string 3",
"DeviceID": 4,
"BatteryLevel": 5.1,
"BatteryTime": "2025-12-06T12:19:42.091458+00:00"
}
application/xml, text/xml
Sample:
<BatteryStat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fires2024API.Models"> <BatteryLevel>5.1</BatteryLevel> <BatteryStatID>1</BatteryStatID> <BatteryTime>2025-12-06T12:19:42.091458+00:00</BatteryTime> <CompCode>sample string 2</CompCode> <DeviceID>4</DeviceID> <ScoutGroup>sample string 3</ScoutGroup> </BatteryStat>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.