Skip to content

企业微信新增【获取子部门ID列表】,更适合根据部门遍历用户的场景 #2537

Description

@zaijian5188

简要描述

在原“获取部门列表(department/list)”接口上有标注:

注:该接口性能较低,建议换用[获取子部门ID列表]与[获取单个部门详情]

新接口只返回 id 、 parentid 、order 3个属性,我认为用于遍历获取部门下的用户更合适。

PS:原“获取部门列表”接口比 WxCpDepart 对象多了一个 "department_leader"属性。

官方文档地址

https://developer.work.weixin.qq.com/document/path/95350

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions