Skip to main content

Get the sub-department ID list

API call description

  • This API is not restricted by the authorization scope.
  • This API only supports getting the ID list of the next level of departments.
For example, if you call this API to get the sub-department ID list of the root department, the result is [123,666]. Sub-departments under Department 1 and Department 2 cannot be retrieved.

Request

Query parameter

Request body

Request example

Java
Python
PHP
C#

Response

Response body

Response body example

Error codes

If an error occurs when calling this API, refer to the Global error codes document to find a solution based on the error message.