Query the number of Devices owned by a Plant owner under a subordinate account

for example: http://api.shinemonitor.com/public/?sign=7f220b6f21d0b52d0452d9c66ffe1f4f84635b81&salt=2337424845041575962&token=91a6c87e89acbfb2fa482f3b02ee071ee58ea0293dd92f243a88ee51415f497f&action=querySubUsrPlantOwnerDeviceCount&uid=1&plantOwnerUid=2&source=0&_app_client_=android&_app_id_=com.demo.test&_app_version_=3.6.2.1

Parameter Description Required
action querySubUsrPlantOwnerDeviceCount True
uid Sub account ID True
plantOwnerUid The owner ID of a certain Plant under a sub account True

response:

Parameter Description Required
count Number of Devices True
{
    "err":0,
    "desc":"ERR_NONE",
    "dat":{
        "count":8
    }
}

Possible errors:

Response error code Description Details
0x0006 ERR_FORMAT_ERROR Format error, parameter error
0x0105 ERR_NOT_FOUND_USR Unable to find user
0x000B ERR_NO_PERMISSION No permissions
Copyright © eybond 2022 all right reserved,powered by Gitbook文档更新时间: 2023-07-18 15:08:15

results matching ""

    No results matching ""