Package com.foxinmy.weixin4j.qy.api
Class AgentApi
- java.lang.Object
-
- com.foxinmy.weixin4j.api.BaseApi
-
- com.foxinmy.weixin4j.qy.api.QyApi
-
- com.foxinmy.weixin4j.qy.api.AgentApi
-
-
Field Summary
Fields Modifier and Type Field Description static com.alibaba.fastjson.serializer.ValueFilter
typeFilter
-
Constructor Summary
Constructors Constructor Description AgentApi(com.foxinmy.weixin4j.token.TokenManager tokenManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentInfo
getAgent(int agentid)
获取企业号某个应用的基本信息,包括头像、昵称、帐号类型、认证类型、可见范围等信息List<AgentOverview>
listAgentOverview()
获取应用概况列表com.foxinmy.weixin4j.http.weixin.ApiResult
setAgent(AgentSetter agentSet)
设置企业应用的选项设置信息,如:地理位置上报等-
Methods inherited from class com.foxinmy.weixin4j.qy.api.QyApi
weixinBundle
-
-
-
-
Method Detail
-
getAgent
public AgentInfo getAgent(int agentid) throws com.foxinmy.weixin4j.exception.WeixinException
获取企业号某个应用的基本信息,包括头像、昵称、帐号类型、认证类型、可见范围等信息
-
setAgent
public com.foxinmy.weixin4j.http.weixin.ApiResult setAgent(AgentSetter agentSet) throws com.foxinmy.weixin4j.exception.WeixinException
设置企业应用的选项设置信息,如:地理位置上报等- Parameters:
agentSet
- 设置信息- Returns:
- 处理结果
- Throws:
com.foxinmy.weixin4j.exception.WeixinException
- See Also:
AgentSetter
, 设置企业号信息
-
listAgentOverview
public List<AgentOverview> listAgentOverview() throws com.foxinmy.weixin4j.exception.WeixinException
获取应用概况列表- Returns:
- 应用概况列表
- Throws:
com.foxinmy.weixin4j.exception.WeixinException
- See Also:
AgentOverview
, 获取应用概况
-
-