Last Updated on : 2023-06-20 14:54:07download
Get a list of the cities in the specified province based on the province ID.
GET: /v2.0/infrareds/{infrared_id}/provinces/{province_id}/cities
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
infrared_id | String | uri | true | The device ID. |
province_id | Long | uri | true | The ID of a specified province. |
Parameter name | Type | Description |
---|---|---|
result | List |
Description of result
Parameter name | Type | Description |
---|---|---|
province_id | Long | The ID of a specified province. |
city_id | Long | The ID of a specified city. |
city_name | String | The name of a specified city. |
GET: /v2.0/infrareds/vdevo15345926009****/provinces/120000/cities
{
"result": [
{
"city_name": "xxx City",
"province_id": 120000,
"city_id": 120100
}
],
"t": 1630917833122,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback