Last Updated on : 2023-06-21 07:13:10download
Get the number of devices in a specified country, province, and city.
GET: /v1.1/iot-03/si/devices/distribution/count
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
customer_code | String | false | The code of a specified customer. | |
type | Integer | false | The type of a geographical location: Valid values:
|
|
region | String | false | The region. |
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
name | String | The name of the location. |
count | Integer | The number of devices. |
GET: /v1.1/iot-03/si/devices/distribution/count?type=0®ion=China
{
"result": [
{
"count": 1,
"name": "Beijing"
},
{
"count": 2,
"name": "Zhejiang Province"
},
{
"count": 1,
"name": "Anhui Province"
}
],
"t": 1638201314635,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback