Last Updated on : 2023-06-20 12:39:04download
Query a list of cities. Currently, only cities in China can be returned.
GET: /v1.0/iot-03/cities
Parameter name | Type | Description |
---|---|---|
result | List | The returned result. |
Description of result
Parameter name | Type | Description |
---|---|---|
id | String | The ID of a specified province. |
name | String | The name of a specified province. |
cities | List | The list of cities under the province. |
Description of cities
Parameter name | Type | Description |
---|---|---|
id | String | The ID of a specified city. |
name | String | The name of a specified city. |
GET: /v1.0/iot-03/cities
{
"result": [
{
"cities": [
{
"name": "Fuzhou",
"id": "793409547065757***"
},
{
"name": "Xiamen",
"id": "793409547283861***"
}
],
"name": "Fujian Province",
"id": "793416838519328***"
}
],
"t": 1631869578413,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback