企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

企业微信基础功能 - 通讯录、应用消息、群聊、消息推送、企业互联、素材、系统、电子发票、第三方应用授权、接口调用许可、收银台、对外收款、小程序对外收款、企业红包/向员工付款、数据与智能专区、会话内容存档、推广二维码、账号ID、安全管理

Actions248

企业互联 → [基础信息] 获取下级企业加入的上下游

AI-generated

Summary

Retrieves the list of downstream enterprises that a subordinate enterprise has joined in the upstream chain, optionally filtering by a specific subordinate enterprise's CorpID.

Inputs

  • credentials (required) — WeCom API credentials (SuiteID, SuiteSecret).
  • corpid — Optional. The CorpID of the subordinate enterprise to filter the list for. If omitted, returns all downstream enterprises within the current application's visible range.

Output shape

A list of items, each representing a downstream enterprise.

Returns an array of records containing enterprise details; empty array if no downstream enterprises exist or if the CorpID does not match a subordinate enterprise.

Examples

Example 1: List all downstream enterprises joined by the current application.

Leave '下级企业 CorpID' empty.

Example 2: Get details for a specific downstream enterprise (CorpID: ww123456).

Enter 'ww123456' as the '下级企业 CorpID'.

Links

Discussion