Qeasy Cloud
Get Started

钉钉 获取部门列表2.0_v1 API

Platform
钉钉
Type
WebAPI
Effect
QUERY
API Version
0.1
Adapter
\Adapter\Dingtalk\DepartmentListAdapter
Auth Mode
OTHER
Updated At
2021-05-07

获取部门列表2.0_v1

POSTtopapi/v2/department/listsub
Factory
{
  "operation": {
    "method": "none"
  }
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1dept_iddept_idstring1Optional如果不传,默认部门为根部门,根部门ID为1。只支持查询下一级子部门,不支持查询多级子部门。

Response Parameters

No.FieldNameTypeDefaultRequiredDescription
1dept_iddept_idstring1Optional111
2namenamestring1Optional111
3parent_idparent_idstring1Optional111
4create_dept_groupcreate_dept_groupstring1Optional111
5auto_add_userauto_add_userstring1Optional111

The 获取部门列表2.0_v1 API (topapi/v2/department/listsub) of 钉钉 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 钉钉 version updates.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.