public interface DownStreamApi
Modifier and Type | Method and Description |
---|---|
GenericResponse<List<PendingExUser>> |
externalUseridToPendingId(ExPendingIdRequest request)
external_userid查询pending_id (下游专用)
调用该接口的应用必须是上下游共享的自建应用或代开发应用
应用需要具有客户联系权限
该客户的跟进人或其所在客户群群主必须在应用的可见范围之内
上游应用须调用过
UpStreamApi.unionidToPendingId(UnionPendingIdRequest)
上游和下游企业须认证或验证;若为代开发应用,服务商必须已认证
|
MiniprogramSessionResponse |
transferSession(MiniprogramSession session)
获取下级/下游企业小程序session
|
@POST(value="miniprogram/transfer_session") MiniprogramSessionResponse transferSession(@Body MiniprogramSession session) throws WeComException
上级/上游企业通过该接口转换为下级/下游企业的小程序session
必须使用下级/下游企业的 access_token,且access_token对应的下级/下游企业应用,必须是session_key对应的上级/上游企业应用分享而来
session
- the sessionWeComException
- the weComException@POST(value="corpgroup/batch/external_userid_to_pending_id") GenericResponse<List<PendingExUser>> externalUseridToPendingId(ExPendingIdRequest request) throws WeComException
UpStreamApi.unionidToPendingId(UnionPendingIdRequest)
request
- the requestWeComException
- the weComException上游专用
Copyright © 2025. All rights reserved.