Uses of Class
com.foxinmy.weixin4j.http.weixin.ApiResult
-
-
Uses of ApiResult in com.foxinmy.weixin4j.http.weixin
Methods in com.foxinmy.weixin4j.http.weixin that return ApiResult Modifier and Type Method Description ApiResultWeixinResponse. getAsResult() -
Uses of ApiResult in com.foxinmy.weixin4j.mp
Methods in com.foxinmy.weixin4j.mp that return ApiResult Modifier and Type Method Description ApiResultWeixinProxy. batchBlacklist(boolean blacklist, String... openIds)黑名单操作ApiResultWeixinProxy. bindGiftCardPaySubMch(String wxaAppid, String subMchId)绑定商户号到礼品卡小程序ApiResultWeixinProxy. clearQuota()接口调用次数调用清零:公众号调用接口并不是无限制的。为了防止公众号的程序错误而引发微信服务器负载异常,默认情况下, 每个公众号调用接口都不能超过一定限制 ,当超过一定限制时,调用对应接口会收到{"errcode":45009,"errmsg":"api freq out of limit" }错误返回码。ApiResultWeixinProxy. closeKfSession(String userOpenId, String kfAccount, String text)关闭客服会话ApiResultWeixinProxy. consumeGiftCard(String code, String cardId)当礼品卡被使用完毕或者发生转存、绑定等操作后,开发者可以通过该接口核销用户的礼品卡,使礼品卡在列表中沉底并不再被使用。 注意:需在礼品卡核销前调用,否则会报40099 已核销的错误ApiResultWeixinProxy. createKfAccount(String id, String name)新增客服账号ApiResultWeixinProxy. createKfSession(String userOpenId, String kfAccount, String text)创建客服会话ApiResultWeixinProxy. createMenu(List<Button> buttons)自定义菜单ApiResultWeixinProxy. deleteComment(String msgid, int index, String commentId)删除评论ApiResultWeixinProxy. deleteCommentReply(String msgid, int index, String commentId)删除回复ApiResultWeixinProxy. deleteCustomMenu(String menuId)删除个性化菜单ApiResultWeixinProxy. deleteGroup(int groupId)删除用户分组,所有该分组内的用户自动进入默认分组.ApiResultWeixinProxy. deleteKfAccount(String id)删除客服账号ApiResultWeixinProxy. deleteMassNews(String msgid)删除群发消息ApiResultWeixinProxy. deleteMassNews(String msgid, int articleIndex)删除群发消息ApiResultWeixinProxy. deleteMaterialMedia(String mediaId)删除永久媒体素材ApiResultWeixinProxy. deleteMenu()删除菜单ApiResultWeixinProxy. deleteTag(int tagId)删除标签ApiResultWeixinProxy. deleteTemplate(String templateId)删除模板ApiResultWeixinProxy. giftCardOrderRefund(String orderId)对一笔礼品卡订单操作退款ApiResultWeixinProxy. inviteKfAccount(String kfAccount, String inviteAccount)邀请绑定客服帐号 新添加的客服帐号是不能直接使用的,只有客服人员用微信号绑定了客服账号后,方可登录Web客服进行操作。此接口发起一个绑定邀请到客服人员微信号 ,客服人员需要在微信客户端上用该微信号确认后帐号才可用。尚未绑定微信号的帐号可以进行绑定邀请操作,邀请未失效时不能对该帐号进行再次绑定微信号邀请。ApiResultWeixinProxy. maintainAllGiftCardPage()下架所有礼品卡货架ApiResultWeixinProxy. maintainGiftCardPage(String pageId)下架一个礼品卡货架ApiResultWeixinProxy. markelectComment(boolean markelect, String msgid, int index, String commentId)评论标记/取消精选ApiResultWeixinProxy. modifyGroup(int groupId, String name)修改分组名ApiResultWeixinProxy. moveGroup(int groupId, String openId)移动用户到分组ApiResultWeixinProxy. moveGroup(int groupId, String... openIds)批量移动分组ApiResultWeixinProxy. openComment(boolean open, String msgid, int index)打开/关闭已群发文章评论ApiResultWeixinProxy. previewMassNews(String toUser, String toWxName, MassTuple tuple)预览群发消息 开发者可通过该接口发送消息给指定用户,在手机端查看消息的样式和排版ApiResultWeixinProxy. remarkUserName(String openId, String remark)设置用户备注名ApiResultWeixinProxy. replyComment(String msgid, int index, String commentId, String content)回复评论ApiResultWeixinProxy. sendNotify(NotifyMessage notify)发送客服消息(在48小时内不限制发送次数)ApiResultWeixinProxy. sendNotify(NotifyMessage notify, String kfAccount)发送客服消息(在48小时内不限制发送次数)ApiResultWeixinProxy. setCardPayCell(String cardId, boolean isOpen)设置卡券买单:创建卡券之后,开发者可以通过设置微信买单接口设置该card_id支持微信买单功能。值得开发者注意的是, 设置买单的card_id必须已经配置了门店,否则会报错。ApiResultWeixinProxy. setCardSelfConsumeCell(String cardId, boolean isOpen)设置自助核销:创建卡券之后,开发者可以通过设置微信买单接口设置该card_id支持自助核销功能。值得开发者注意的是, 设置自助核销的card_id必须已经配置了门店,否则会报错。ApiResultWeixinProxy. setGiftCardWxaCode(String wxaAppid, String pageId)上传礼品卡小程序代码 (提供小程序APPID及货架ID,由微信平台为你小程序帐号上传一套现成的礼品卡小程序,直接用于礼品卡售卖)ApiResultWeixinProxy. setTmplIndustry(IndustryType... industryTypes)设置所属行业(每月可修改行业1次,账号仅可使用所属行业中相关的模板)ApiResultWeixinProxy. taggingUsers(int tagId, String... openIds)批量为用户打标签:标签功能目前支持公众号为用户打上最多三个标签ApiResultWeixinProxy. untaggingUsers(int tagId, String... openIds)批量为用户取消标签ApiResultWeixinProxy. updateGiftCardPage(GiftCardPage page)修改礼品卡货架信息接口ApiResultWeixinProxy. updateKfAccount(String id, String name)更新客服账号ApiResultWeixinProxy. updateMaterialArticle(String mediaId, int index, MpArticle article)更新永久图文素材ApiResultWeixinProxy. updateTag(Tag tag)更新标签ApiResultWeixinProxy. uploadKfAvatar(String accountId, InputStream is, String fileName)上传客服头像 -
Uses of ApiResult in com.foxinmy.weixin4j.mp.api
Methods in com.foxinmy.weixin4j.mp.api that return ApiResult Modifier and Type Method Description ApiResultCardApi. activateMemberCard(MemberInitInfo memberInitInfo)激活方式说明 接口激活通常需要开发者开发用户填写资料的网页。通常有两种激活流程: 1.ApiResultTagApi. batchBlacklist(boolean blacklist, String... openIds)黑名单操作ApiResultCardApi. bindGiftCardPaySubMch(String wxaAppid, String subMchId)绑定商户号到礼品卡小程序ApiResultHelperApi. clearQuota(String appId)接口调用次数调用清零:公众号调用接口并不是无限制的。为了防止公众号的程序错误而引发微信服务器负载异常,默认情况下, 每个公众号调用接口都不能超过一定限制 ,当超过一定限制时,调用对应接口会收到{"errcode":45009,"errmsg":"api freq out of limit" }错误返回码。ApiResultCustomApi. closeKfSession(String userOpenId, String kfAccount, String text)关闭会话ApiResultCardApi. consumeGiftCard(String code, String cardId)当礼品卡被使用完毕或者发生转存、绑定等操作后,开发者可以通过该接口核销用户的礼品卡,使礼品卡在列表中沉底并不再被使用。ApiResultCustomApi. createKfAccount(String id, String name)新增客服账号ApiResultCustomApi. createKfSession(String userOpenId, String kfAccount, String text)创建会话ApiResultMenuApi. createMenu(List<Button> buttons)自定义菜单ApiResultCommentApi. deleteComment(String msgid, int index, String commentId)删除评论ApiResultCommentApi. deleteCommentReply(String msgid, int index, String commentId)删除回复ApiResultMenuApi. deleteCustomMenu(String menuId)删除个性化菜单ApiResultGroupApi. deleteGroup(int groupId)Deprecated.删除用户分组,所有该分组内的用户自动进入默认分组.ApiResultCustomApi. deleteKfAccount(String id)删除客服账号ApiResultMassApi. deleteMassNews(String msgid)删除群发消息ApiResultMassApi. deleteMassNews(String msgid, int articleIndex)删除群发消息ApiResultMediaApi. deleteMaterialMedia(String mediaId)删除永久媒体素材ApiResultMenuApi. deleteMenu()删除菜单ApiResultTagApi. deleteTag(int tagId)删除标签ApiResultTmplApi. deleteTemplate(String templateId)删除模板ApiResultPayOldApi. deliverNotify(String openId, String transid, String outTradeNo, boolean status, String statusMsg)发货通知ApiResultShakeAroundApi. deviceUpdateComment(Device device, String comment)编辑设备的备注信息。可用设备ID或完整的UUID、Major、Minor指定设备,二者选其一。ApiResultCustomApi. inviteKfAccount(String kfAccount, String inviteAccount)邀请绑定客服帐号 新添加的客服帐号是不能直接使用的,只有客服人员用微信号绑定了客服账号后,方可登录Web客服进行操作。此接口发起一个绑定邀请到客服人员微信号 ,客服人员需要在微信客户端上用该微信号确认后帐号才可用。尚未绑定微信号的帐号可以进行绑定邀请操作,邀请未失效时不能对该帐号进行再次绑定微信号邀请。ApiResultCardApi. maintainAllGiftCardPage()下架所有礼品卡货架ApiResultCardApi. maintainGiftCardPage(String pageId)下架礼品卡货架ApiResultCommentApi. markelectComment(boolean markelect, String msgid, int index, String commentId)评论标记/取消精选ApiResultGroupApi. modifyGroup(int groupId, String name)Deprecated.修改分组名ApiResultGroupApi. moveGroup(int groupId, String openId)Deprecated.移动用户到分组ApiResultGroupApi. moveGroup(int groupId, String... openIds)Deprecated.批量移动分组ApiResultCommentApi. openComment(boolean open, String msgid, int index)打开/关闭已群发文章评论ApiResultCardApi. orderRefund(String orderId)对一笔礼品卡订单操作退款ApiResultMassApi. previewMassNews(String toUser, String toWxName, MassTuple tuple)预览群发消息 开发者可通过该接口发送消息给指定用户,在手机端查看消息的样式和排版ApiResultUserApi. remarkUserName(String openId, String remark)设置用户备注名ApiResultCommentApi. replyComment(String msgid, int index, String commentId, String content)回复评论ApiResultNotifyApi. sendNotify(NotifyMessage notify)发送客服消息(在48小时内不限制发送次数)ApiResultNotifyApi. sendNotify(NotifyMessage notify, String kfAccount)发送客服消息(在48小时内不限制发送次数)ApiResultCardApi. setActivateUserForm(MemberUserForm memberUserForm)设置开卡字段接口 开发者在创建时填入wx_activate字段后, 需要调用该接口设置用户激活时需要填写的选项,否则一键开卡设置不生效。ApiResultComponentApi. setAuthorizerOption(String authAppId, AuthorizerOption option)设置授权方的公众号的选项信息,如:地理位置上报,语音识别开关,多客服开关。注意,获取各项选项设置信息ApiResultCardApi. setCardPayCell(String cardId, boolean isOpen)设置卡券买单:创建卡券之后,开发者可以通过设置微信买单接口设置该card_id支持微信买单功能。值得开发者注意的是, 设置买单的card_id必须已经配置了门店,否则会报错。ApiResultCardApi. setCardSelfConsumeCell(String cardId, boolean isOpen)设置自助核销:创建卡券之后,开发者可以通过设置微信买单接口设置该card_id支持自助核销功能。值得开发者注意的是, 设置自助核销的card_id必须已经配置了门店,否则会报错。ApiResultCardApi. setGiftCardWxaCode(String wxaAppid, String pageId)上传礼品卡小程序代码 (提供小程序APPID及货架ID,由微信平台为你小程序帐号上传一套现成的礼品卡小程序,直接用于礼品卡售卖)ApiResultCardApi. setTestWhiteList(List<String> openIds, List<String> userNames)由于卡券有审核要求,为方便公众号调试,可以设置一些测试帐号,这些帐号可领取未通过审核的卡券,体验整个流程。 1.同时支持“openid”、“username”两种字段设置白名单,总数上限为10个。 2.设置测试白名单接口为全量设置,即测试名单发生变化时需调用该接口重新传入所有测试人员的ID.ApiResultTmplApi. setTmplIndustry(IndustryType... industryTypes)设置所属行业(每月可修改行业1次,账号仅可使用所属行业中相关的模板)ApiResultTagApi. taggingUsers(int tagId, String... openIds)批量为用户打标签:标签功能目前支持公众号为用户打上最多三个标签ApiResultTagApi. untaggingUsers(int tagId, String... openIds)批量为用户取消标签ApiResultPayOldApi. updateFeedback(String openId, String feedbackId)维权处理ApiResultCardApi. updateGiftCardPage(GiftCardPage page)更新礼品卡货架ApiResultCustomApi. updateKfAccount(String id, String name)更新客服账号ApiResultMediaApi. updateMaterialArticle(String mediaId, int index, MpArticle article)更新永久图文素材ApiResultTagApi. updateTag(Tag tag)更新标签ApiResultCustomApi. uploadKfAvatar(String accountId, InputStream is, String fileName)上传客服头像 -
Uses of ApiResult in com.foxinmy.weixin4j.mp.model
Subclasses of ApiResult in com.foxinmy.weixin4j.mp.model Modifier and Type Class Description classChangeOpenidResultopenid转结果classSemResult语义理解结果 -
Uses of ApiResult in com.foxinmy.weixin4j.qy
Methods in com.foxinmy.weixin4j.qy that return ApiResult Modifier and Type Method Description ApiResultWeixinProxy. batchDeleteUser(List<String> userIds)批量删除成员ApiResultWeixinProxy. clearChatNotify(String targetId, String owner, ChatType chatType)清除会话未读状态ApiResultWeixinProxy. createMenu(int agentid, List<Button> buttons)自定义菜单(管理员须拥有应用的管理权限 并且应用必须设置在回调模式)ApiResultWeixinProxy. createUser(User user)创建成员ApiResultWeixinProxy. createUser(User user, InputStream avatar)创建成员ApiResultWeixinProxy. deleteMaterialMedia(int agentid, String mediaId)删除永久媒体素材ApiResultWeixinProxy. deleteMenu(int agentid)删除菜单(管理员须拥有应用的管理权限 并且应用必须设置在回调模式)ApiResultWeixinProxy. deleteParty(int partyId)删除部门(不能删除根部门;不能删除含有子部门、成员的部门)ApiResultWeixinProxy. deleteTag(int tagId)删除标签(管理组必须是指定标签的创建者 并且标签的成员列表为空)ApiResultWeixinProxy. deleteUser(String userid)删除成员ApiResultWeixinProxy. quitChat(String chatId, String operator)退出会话ApiResultWeixinProxy. sendChatMessage(ChatMessage message)发送会话消息ApiResultWeixinProxy. sendCustomeMessage(CustomeMessage message)发送客服消息ApiResultWeixinProxy. setAgent(AgentSetter agentSet)设置企业应用的选项设置信息,如:地理位置上报等ApiResultWeixinProxy. updateChat(ChatInfo chatInfo, String operator, List<String> addUsers, List<String> deleteUsers)更新会话ApiResultWeixinProxy. updateParty(Party party)更新部门(如果非必须的字段未指定 则不更新该字段之前的设置值)ApiResultWeixinProxy. updateTag(Tag tag)更新标签(管理组必须是指定标签的创建者)ApiResultWeixinProxy. updateUser(User user)更新用户(如果非必须的字段未指定 则不更新该字段之前的设置值)ApiResultWeixinProxy. updateUser(User user, InputStream avatar)更新用户(如果非必须的字段未指定 则不更新该字段之前的设置值)ApiResultWeixinProxy. userAuthsucc(String userId)开启二次验证成功时调用(管理员须拥有userid对应员工的管理权限) -
Uses of ApiResult in com.foxinmy.weixin4j.qy.api
Methods in com.foxinmy.weixin4j.qy.api that return ApiResult Modifier and Type Method Description ApiResultUserApi. authsucc(String userId)开启二次验证成功时调用(管理员须拥有userid对应员工的管理权限)ApiResultUserApi. batchDeleteUser(List<String> userIds)批量删除成员ApiResultChatApi. clearChatNotify(String targetId, String owner, ChatType chatType)清除会话未读状态ApiResultMenuApi. createMenu(int agentid, List<Button> buttons)自定义菜单(管理员须拥有应用的管理权限 并且应用必须设置在回调模式)ApiResultUserApi. createUser(User user)创建成员ApiResultUserApi. createUser(User user, InputStream avatar)创建成员ApiResultMediaApi. deleteMaterialMedia(int agentid, String mediaId)删除永久媒体素材ApiResultMenuApi. deleteMenu(int agentid)删除菜单(管理员须拥有应用的管理权限 并且应用必须设置在回调模式)ApiResultPartyApi. deleteParty(int partId)删除部门(不能删除根部门;不能删除含有子部门、成员的部门)ApiResultTagApi. deleteTag(int tagId)删除标签(管理组必须是指定标签的创建者,并且标签的成员列表为空。)ApiResultUserApi. deleteUser(String userid)删除成员ApiResultChatApi. quitChat(String chatId, String operator)退出会话ApiResultChatApi. sendChatMessage(ChatMessage message)发送消息ApiResultNotifyApi. sendCustomeMessage(CustomeMessage message)发送客服消息ApiResultAgentApi. setAgent(AgentSetter agentSet)设置企业应用的选项设置信息,如:地理位置上报等ApiResultSuiteApi. setAgent(String authCorpId, AgentSetter agentSet)设置企业应用的选项设置信息,如:地理位置上报等ApiResultSuiteApi. setSuiteSession(int... appids)设置套件授权配置:如果需要对某次授权进行配置,则调用本接口,目前仅可以设置哪些应用可以授权,不调用则默认允许所有应用进行授权。ApiResultChatApi. updateChat(ChatInfo chatInfo, String operator, List<String> addUsers, List<String> deleteUsers)更新会话ApiResultPartyApi. updateParty(Party party)更新部门(如果非必须的字段未指定 则不更新该字段之前的设置值)ApiResultTagApi. updateTag(Tag tag)更新标签(管理组必须是指定标签的创建者)ApiResultUserApi. updateUser(User user)更新用户(如果非必须的字段未指定 则不更新该字段之前的设置值)ApiResultUserApi. updateUser(User user, InputStream avatar)更新用户(如果非必须的字段未指定 则不更新该字段之前的设置值) -
Uses of ApiResult in com.foxinmy.weixin4j.qy.model
Subclasses of ApiResult in com.foxinmy.weixin4j.qy.model Modifier and Type Class Description classBatchResult异步任务执行结果
-