Last Updated on : 2023-06-20 14:54:07download
Get a list of regions based on the entered city ID.
GET: /v2.0/infrareds/{infrared_id}/provinces/{province_id}/cities/{city_id}/areas
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. |
city_id | Long | uri | true | The ID of a specified city. |
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. |
area_id | Long | The ID of a specified region. |
area_name | String | The name of a specified region. |
GET: /v2.0/infrareds/vdevo15345926009****/provinces/120000/cities/120100/areas
{
"result": [
{
"area_name": "Heping District",
"area_id": 120101,
"province_id": 120000,
"city_id": 120100
}
],
"t": 1630917924107,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback