GET OneStop/v3/Customers/{customerID}/MeterSummary?readingDate={readingDate}&managed={managed}

Gets meter reading summary for specified customer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerID

ID of customer to get

globally unique identifier

Required

readingDate

Date for which readings should be used. This will use the latest reading for each device before this date

date

Required

managed

Whether to include only managed, or all devices for customer. Defaults to true

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

MeterReadingSummary
NameDescriptionTypeAdditional information
DeviceTotal

integer

None.

ColourTotal

integer

None.

MonoTotal

integer

None.

ScanTotal

integer

None.

LargeTotal

integer

None.

DuplexTotal

integer

None.

SmallTotal

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "DeviceTotal": 1,
  "ColourTotal": 2,
  "MonoTotal": 3,
  "ScanTotal": 4,
  "LargeTotal": 5,
  "DuplexTotal": 6,
  "SmallTotal": 7
}

application/xml, text/xml

Sample:
<MeterReadingSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OneStopWebAPI.DTO.v3">
  <ColourTotal>2</ColourTotal>
  <DeviceTotal>1</DeviceTotal>
  <DuplexTotal>6</DuplexTotal>
  <LargeTotal>5</LargeTotal>
  <MonoTotal>3</MonoTotal>
  <ScanTotal>4</ScanTotal>
  <SmallTotal>7</SmallTotal>
</MeterReadingSummary>