Query Organization Information by Organization ID

Last Updated on : 2023-06-15 05:49:17

Query the information about organizations by organization ID.

API address

GET: /v1.0/iot-03/organizations/{org_id}

Request parameter

Parameter name Type IN Required Description
org_id String uri true The ID of a specified organization.

Return parameter

Parameter name Type Description
result OrganizationRes The information about organizations.

Description of result

Parameter name Type Description
id String The ID of a specified organization.
name String The name of a specified organization.
parent_id String The ID of the parent organization.
external_id String The ID of an external organization.

Request example

GET: /v1.0/iot-03/organizations/1402696820597055488

Return example

{ "result": { "external_id": "002222", "parent_id": "", "name": "First-level Organization 222", "id": "1405353719310184448" }, "t": 1623897594531, "success": true }

Error code

For more information, see error code.