4.2.1.3 Get the list of top departments
GET /rest/orgwise/2/department/roots
DESCRIPTION
Get the list of top departments which are always the root of organization trees.
MEDIA TYPE
application/json
RESPONSE
{
"code": 0,
"msg": "Success",
"data": [
{
"id": 1,
"no": "D1",
"name": "DSD",
"type": "COMPANY",
"createTime": "2022-01-04 15:26:30"
}
]
}