/
4.3.1.4 Get the sub department list of a department

4.3.1.4 Get the sub department list of a department

GET /rest/orgwise/3/department/{id}/departments

DESCRIPTION

Get the list of direct sub departments of a department. Descendants of its sub departments are not included.

MEDIA TYPE

application/json

PATH PARAM

Param

Description

Required

Param

Description

Required

id

The ID or No. of a department.

Required

QUERY PARAM

Param

Description

Required

Param

Description

Required

start

Paging parameter, indicating the starting point. The default is 0.

Optional

limit

Paging parameter, indicating searching for how many items. The default is -1, which means there is no limit.

Optional

RESPONSE

{ "code": 0, "msg": "Success", "data": { "values": [ { "id": 2, "no": "D2", "name": "Dev", "type": "DEPARTMENT", "createTime": "2022-06-07 11:21:01", "parent": 1 } ], "isMore": false } }