外部联系人接口(废弃)

class dingtalk.client.api.Ext(client=None)[源代码]
add(name, follower_userid, label_ids, mobile, state_code='86', title=None, share_deptids=(), remark=None, address=None, company_name=None, share_userids=())[源代码]

添加企业外部联系人

参数:
  • name – 名称
  • follower_userid – 负责人userId
  • state_code – 手机号国家码
  • mobile – 手机号
  • label_ids – 标签列表
  • title – 职位
  • share_deptids – 共享给的部门ID
  • remark – 备注
  • address – 地址
  • company_name – 企业名
  • share_userids – 共享给的员工userId列表
返回:

list(offset=0, size=100)[源代码]

外部联系人列表

参数:
  • offset – 偏移位置
  • size – 分页大小,最大100
返回:

listlabelgroups(offset=0, size=100)[源代码]

标签列表

参数:
  • offset – 偏移位置
  • size – 分页大小,最大100
返回: