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 SummaryFields Modifier and Type Field Description static com.alibaba.fastjson.serializer.ValueFiltertypeFilter- 
Fields inherited from class com.foxinmy.weixin4j.api.BaseApiweixinExecutor
 
- 
 - 
Constructor SummaryConstructors Constructor Description AgentApi(TokenManager tokenManager)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentInfogetAgent(int agentid)获取企业号某个应用的基本信息,包括头像、昵称、帐号类型、认证类型、可见范围等信息List<AgentOverview>listAgentOverview()获取应用概况列表ApiResultsetAgent(AgentSetter agentSet)设置企业应用的选项设置信息,如:地理位置上报等- 
Methods inherited from class com.foxinmy.weixin4j.qy.api.QyApiweixinBundle
 - 
Methods inherited from class com.foxinmy.weixin4j.api.BaseApigetRequestUri
 
- 
 
- 
- 
- 
Constructor Detail- 
AgentApipublic AgentApi(TokenManager tokenManager) 
 
- 
 - 
Method Detail- 
getAgentpublic AgentInfo getAgent(int agentid) throws WeixinException 获取企业号某个应用的基本信息,包括头像、昵称、帐号类型、认证类型、可见范围等信息- Parameters:
- agentid- 授权方应用id
- Returns:
- 应用信息
- Throws:
- WeixinException
- See Also:
- AgentInfo, 企业号应用的信息
 
 - 
setAgentpublic ApiResult setAgent(AgentSetter agentSet) throws WeixinException 设置企业应用的选项设置信息,如:地理位置上报等- Parameters:
- agentSet- 设置信息
- Returns:
- 处理结果
- Throws:
- WeixinException
- See Also:
- AgentSetter, 设置企业号信息
 
 - 
listAgentOverviewpublic List<AgentOverview> listAgentOverview() throws WeixinException 获取应用概况列表- Returns:
- 应用概况列表
- Throws:
- WeixinException
- See Also:
- AgentOverview, 获取应用概况
 
 
- 
 
-