Query Sub-Organization

Last Updated on : 2022-09-22 09:32:34download

Query information about a specified sub-organization.

API address

GET: /v1.0/iot-02/community/structures/children

Request parameter

Parameter nameTypeINRequiredDescription
structure_idStringquerytrueThe ID of a specified organization.

Return parameter

Parameter nameTypeDescription

Description of result

Parameter nameTypeDescription
listListThe list of asset results.
page_sizeIntegerThe number of items per page.
page_noIntegerThe current page number.
totalIntegerThe total number of results.

Description of list

Parameter nameTypeDescription
structure_idStringThe ID of a specified organization.
parent_structure_idStringThe parent organization. An empty value indicates the root organization.
structure_nameStringThe name of a specified organization.
address_codeStringAddress (the code of the province, city, district, and street). For more information, visit http://www.stats.gov.cn/english/.
address_detailStringThe detailed address.
contactStringThe contact name.
contact_mobileStringThe contact person's phone number.
contact_emailStringThe contact person's email address.

Request example

GET: /v1.0/iot-02/community/structures/children?structure_id=137209008422933xxxx

Return example

        "structureName": "Cloud Development Department",
        "structureId": "138262924617802xxxx",
        "parentStructureId": "138228550853257xxxx",
        "structureType": 2,
        "hasLeaf": true

Error code

For more information, see error code.