We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
在原“获取部门列表(department/list)”接口上有标注:
注:该接口性能较低,建议换用[获取子部门ID列表]与[获取单个部门详情]
新接口只返回 id 、 parentid 、order 3个属性,我认为用于遍历获取部门下的用户更合适。
PS:原“获取部门列表”接口比 WxCpDepart 对象多了一个 "department_leader"属性。
https://developer.work.weixin.qq.com/document/path/95350