GET api/BatteryStats?CompCode={CompCode}&ScoutGroup={ScoutGroup}&D1={D1}&D2={D2}&D3={D3}&D4={D4}&D5={D5}&D6={D6}

Gets the current battery percentage of the current 6 registered and active devices

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompCode

string

Required

ScoutGroup

string

Required

D1

integer

Required

D2

integer

Required

D3

integer

Required

D4

integer

Required

D5

integer

Required

D6

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DTOBatteryStat
NameDescriptionTypeAdditional information
Device1Level

decimal number

None.

Device2Level

decimal number

None.

Device3Level

decimal number

None.

Device4Level

decimal number

None.

Device5Level

decimal number

None.

Device6Level

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Device1Level": 1.1,
    "Device2Level": 2.1,
    "Device3Level": 3.1,
    "Device4Level": 4.1,
    "Device5Level": 5.1,
    "Device6Level": 6.1
  },
  {
    "Device1Level": 1.1,
    "Device2Level": 2.1,
    "Device3Level": 3.1,
    "Device4Level": 4.1,
    "Device5Level": 5.1,
    "Device6Level": 6.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfDTOBatteryStat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FiresUniAPI.Models">
  <DTOBatteryStat>
    <Device1Level>1.1</Device1Level>
    <Device2Level>2.1</Device2Level>
    <Device3Level>3.1</Device3Level>
    <Device4Level>4.1</Device4Level>
    <Device5Level>5.1</Device5Level>
    <Device6Level>6.1</Device6Level>
  </DTOBatteryStat>
  <DTOBatteryStat>
    <Device1Level>1.1</Device1Level>
    <Device2Level>2.1</Device2Level>
    <Device3Level>3.1</Device3Level>
    <Device4Level>4.1</Device4Level>
    <Device5Level>5.1</Device5Level>
    <Device6Level>6.1</Device6Level>
  </DTOBatteryStat>
</ArrayOfDTOBatteryStat>