Get water meter list

https://api.sciener.com/v3/waterMeter/list

This interface retrieves water meters added by users in the TechHero app, or water meters initialized via the initialization lock interface through the app SDK.

For water meters added in the TechHero app, please use the app's username and password used to add the water meter to obtain an access token before calling this interface.

For water meters initialized via the cloud-based initialization lock interface, please use the same access token used when initializing the water meter.

1 Request example

POST, ContentType:application/x-www-form-urlencoded

2 Request parameters

NameTypeRequiredDescription
clientIdStringYAssigned client_id from created application
accessTokenStringYAccess token, obtain by calling get access token API
dateLongYCurrent time (timestamp, in milliseconds)
groupIdIntNWater Meter ID
searchStrStringNSearch criteria include searching by meter name and meter number/water meter ID list.
pageNoIntYPage numbers start from 1
pageSizeIntYNumber of pages per page, maximum 1000

3 Response and example

NameTypeDescription
listJSONObjectList
totalIntTotal number of items

Objects in the list

NameTypeDescription
waterMeterIdIntWater Meter ID
onlineIntOnline status: 0 - No 1 - Yes
rssiIntSignal strength
onOffIntWater supply status: 0 - No 1 - Yes 2 - Unknown
nameStringWater meter name
numberStringWater meter number
payModeIntOperating modes: 0 - Energy metering mode; 1 - Prepaid mode
totalM3StringTotal water consumption
remainderM3StringRemaining water volume
priceStringUnit price
electricQuantityIntBattery