Operate the water meter to turn the water on/off

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

If you need to use a gateway to turn the water on and off via Bluetooth, please refer to the corresponding app's SDK.

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)
waterMeterIdStringYWater Meter ID
onOffIntYWater supply status: 0 - No 1 - Yes

3 Response and example

NameTypeDescription
errcodeIntError code
errmsgStringError message
descriptionStringError Description