程序包 | 说明 |
---|---|
com.jfinal.weixin.iot.api | |
com.jfinal.weixin.sdk.api |
微信API接口
|
com.jfinal.weixin.sdk.api.shakearound |
微信摇一摇周边 API
|
com.jfinal.wxaapp.api |
限定符和类型 | 方法和说明 |
---|---|
ApiResult |
DeviceApi.authorize(List<DeviceAuth> devices,
boolean isCreate,
String productId)
批量授权/更新设备属性
授权后设备才能进行绑定操作
|
ApiResult |
DeviceApi.bind(String tikect,
String deviceid,
String openid)
绑定
|
ApiResult |
DeviceApi.compelBind(String deviceid,
String openid)
强制绑定
|
ApiResult |
DeviceApi.createQrcode(List<String> deviceIds)
根据设备id获取二维码生成串
|
ApiResult |
DeviceApi.createQrcodeNew(String productId)
根据product_id获取设备id和二维码生成串
|
ApiResult |
DeviceApi.getOpenId(String deviceType,
String deviceId)
根据设备类型和设备id查询绑定的openid
|
ApiResult |
DeviceApi.getStat(String deviceId)
设备状态查询
|
ApiResult |
DeviceApi.transMsg(String deviceType,
String deviceID,
String openID,
String content)
向设备推送消息
|
ApiResult |
DeviceApi.unbind(String tikect,
String deviceid,
String openid)
解绑
|
ApiResult |
DeviceApi.verifyQrcode(String ticket)
验证二维码 获取二维码对应设备属性
|
限定符和类型 | 方法和说明 |
---|---|
static ApiResult |
CardPayApi.activate()
开通券点账户接口
|
static ApiResult |
MemberCardApi.activate(String jsonStr)
接口激活
|
static ApiResult |
MenuApi.addConditional(String jsonStr)
创建个性化菜单
|
static ApiResult |
CustomServiceApi.addKfAccount(String kf_account,
String nickname,
String password)
添加客服帐号
|
static ApiResult |
MediaApi.addMaterial(File file,
MediaApi.MediaType mediaType)
新增其他类型永久素材
|
static ApiResult |
MediaApi.addMaterial(File file,
String title,
String introduction)
新增视频永久素材
素材的格式大小等要求与公众平台官网一致。
|
static ApiResult |
MediaApi.addNews(List<MediaArticles> mediaArticles)
新增永久图文素材
|
static ApiResult |
PoiApi.addPoi(Poi poi)
创建门店
|
static ApiResult |
PoiApi.addPoi(String jsonStr)
创建门店
|
static ApiResult |
TagApi.batchAddTag(int tagId,
List<String> openIdList)
批量为用户打标签
|
static ApiResult |
BlackUserApi.batchBlackUsers(List<String> openIdList)
批量拉黑用户
|
static ApiResult |
BlackUserApi.batchBlackUsers(String jsonStr)
批量拉黑用户
|
static ApiResult |
TagApi.batchDelTag(int tagId,
List<String> openIdList)
批量为用户取消标签
|
static ApiResult |
MediaApi.batchGetMaterial(MediaApi.MediaType mediaType,
int offset,
int count)
获取素材列表
|
static ApiResult |
UserApi.batchGetUserInfo(List<String> openIdList)
批量获取用户基本信息
|
static ApiResult |
UserApi.batchGetUserInfo(String jsonStr)
批量获取用户基本信息, by Unas
|
static ApiResult |
BlackUserApi.batchUnblackUsers(List<String> openIdList)
批量取消拉黑用户
|
static ApiResult |
BlackUserApi.batchUnblackUsers(String jsonStr)
批量取消拉黑用户
|
static ApiResult |
CardCodeApi.checkCode(String cardId,
List<String> codeList)
核查code接口
|
static ApiResult |
CardExtApi.checkinBoardingpass(String jsonStr)
更新飞机票信息接口
|
static ApiResult |
CustomServiceApi.closeSession(String kf_account,
String openid)
关闭会话
此接口在客服和用户之间创建一个会话,如果该客服和用户会话已存在,则直接返回0。
|
static ApiResult |
CardPayApi.confirm(String cardId,
int quantity,
String orderId)
确认兑换库存接口
|
static ApiResult |
CardCodeApi.consume(String code)
核销Code接口
|
static ApiResult |
CardCodeApi.consume(String code,
String cardId)
核销Code接口
|
static ApiResult |
CardCodeApi.consumeOnline(String code,
String openid)
线上核销Code接口
|
static ApiResult |
TagApi.create(String name) |
static ApiResult |
QrcodeApi.create(String jsonStr) |
static ApiResult |
GroupsApi.create(String name)
创建分组,一个公众账号,最多支持创建100个分组。
|
static ApiResult |
CardApi.create(String jsonStr)
创建会员卡接口
|
static ApiResult |
ApiResult.create(String jsonStr)
通过 json 创建 ApiResult 对象,等价于 new ApiResult(jsonStr)
|
static ApiResult |
CardApi.createLandingPage(String jsonStr)
创建货架接口
|
static ApiResult |
MenuApi.createMenu(String jsonStr)
创建自定义菜单
|
static ApiResult |
QrcodeApi.createPermanent(int sceneId)
创建永久二维码
|
static ApiResult |
QrcodeApi.createPermanent(String sceneStr)
创建永久二维码
|
static ApiResult |
CardApi.createQrcode(String jsonStr)
创建二维码接口
|
static ApiResult |
CustomServiceApi.createSession(String kf_account,
String openid)
创建会话
此接口在客服和用户之间创建一个会话,如果该客服和用户会话已存在,则直接返回0。
|
static ApiResult |
QrcodeApi.createTemporary(int expireSeconds,
int sceneId)
创建临时二维码
|
static ApiResult |
CardCodeApi.decrypt(String encryptCode)
Code解码接口
|
static ApiResult |
MenuApi.delConditional(String menuid)
删除个性化菜单
|
static ApiResult |
TagApi.delete(int id)
删除标签
|
static ApiResult |
GroupsApi.delete(int id)
删除分组
|
static ApiResult |
MessageApi.delete(String msgId)
删除群发【订阅号与服务号认证后均可用】
由于技术限制,群发只有在刚发出的半小时内可以删除,发出半小时之后将无法被删除。
|
static ApiResult |
CardApi.delete(String cardId)
删除卡券接口
|
static ApiResult |
MenuApi.deleteMenu()
自定义菜单删除接口
|
static ApiResult |
CustomServiceApi.delKfAccount(String kf_account)
删除客服帐号
|
static ApiResult |
MediaApi.delMaterial(String media_id)
删除永久素材
|
static ApiResult |
PoiApi.delPoi(String poiId)
删除单个门店
|
static ApiResult |
TemplateMsgApi.delTemplateById(String templateId)
删除模板
|
static ApiResult |
TagApi.get()
获取公众号已创建的标签
|
static ApiResult |
GroupsApi.get()
查询所有分组
|
static ApiResult |
MessageApi.get(String msgId)
查询群发消息发送状态【订阅号与服务号认证后均可用】
|
static ApiResult |
CardApi.get(String cardId)
查看卡券详情
|
static ApiResult |
CardCodeApi.get(String code,
String cardId,
boolean checkConsume)
查询Code接口
|
static ApiResult |
MemberCardApi.getActivateTempInfo(String activaTeicket)
跳转型一键激活-设置开卡字段接口-获取用户提交资料
|
static ApiResult |
TemplateMsgApi.getAllTemplate()
获取模板列表
|
static ApiResult |
DatacubeApi.getArticleSummary(String begin_date,
String end_date)
获取图文群发每日数据,最大跨度1天
|
static ApiResult |
DatacubeApi.getArticlEtotal(String begin_date,
String end_date)
获取图文群发总数据,最大跨度1天
|
static ApiResult |
CardApi.getBatch(int offset,
int count)
批量查询卡券列表
|
static ApiResult |
CardApi.getBatch(int offset,
int count,
List<String> statusList)
批量查询卡券列表
|
static ApiResult |
BlackUserApi.getBlackList()
获取公众号的黑名单列表
|
static ApiResult |
BlackUserApi.getBlackList(String beginOpenid)
获取公众号的黑名单列表
|
static ApiResult |
CallbackIpApi.getCallbackIp()
获取微信服务器IP地址
|
static ApiResult |
DatacubeApi.getCardBizuinInfo(String beginDate,
String endDate,
int condSource)
拉取卡券概况数据接口
|
static ApiResult |
DatacubeApi.getCardInfo(String beginDate,
String endDate,
int condSource)
获取免费券数据接口
|
static ApiResult |
DatacubeApi.getCardInfo(String beginDate,
String endDate,
int condSource,
String cardId)
获取免费券数据接口
|
static ApiResult |
PoiApi.getCategory()
获取微信门店类目表
类目名称接口是为商户提供自己门店类型信息的接口。
|
static ApiResult |
CardPayApi.getCoinsInfo()
查询券点余额接口
|
static ApiResult |
AutoReplyInfoApi.getCurrent() |
static ApiResult |
MenuApi.getCurrentSelfMenuInfo()
获取自定义菜单配置接口
|
static ApiResult |
CardCodeApi.getDepositCount(String cardId)
查询导入code数目接口
|
static ApiResult |
UserApi.getFollowers(String nextOpenid)
获取用户列表
|
static ApiResult |
UserApi.getFollows()
获取用户列表
|
static ApiResult |
CardApi.gethtmlMpnews(String cardId)
图文消息群发卡券
|
static ApiResult |
GroupsApi.getId(String openid)
通过用户的OpenID查询其所在的GroupID
|
static ApiResult |
TemplateMsgApi.getIndustry()
获取设置的行业信息
|
static ApiResult |
DatacubeApi.getInterFaceSummary(String begin_date,
String end_date)
获取接口分析数据,最大跨度30天
|
static ApiResult |
DatacubeApi.getInterFaceSummaryHour(String begin_date,
String end_date)
获取接口分析分时数据,最大跨度1天
|
static ApiResult |
CustomServiceApi.getKfList()
获取所有客服账号
|
static ApiResult |
MediaApi.getMaterialCount()
获取素材总数
|
static ApiResult |
DatacubeApi.getMemberCardDetail(String beginDate,
String endDate,
String cardId)
拉取单张会员卡数据接口
|
static ApiResult |
DatacubeApi.getMemberCardInfo(String beginDate,
String endDate,
int condSource)
拉取会员卡概况数据接口
|
static ApiResult |
MenuApi.getMenu()
查询自定义菜单
|
static ApiResult |
CustomServiceApi.getMsgList(int starttime,
int endtime,
int msgid,
int number)
获取聊天记录
此接口返回的聊天记录中,对于图片、语音、视频,分别展示成文本格式的[image]、[voice]、[video]。
|
static ApiResult |
CustomServiceApi.getOnlineKFList()
获取在线客服接待信息
|
static ApiResult |
CardPayApi.getOrder(String orderId)
查询订单详情接口
|
static ApiResult |
CardPayApi.getOrderList(String jsonStr)
查询券点流水详情接口
|
static ApiResult |
CardPayApi.getPayPrice(String cardId,
int quantity)
对优惠券批价
|
static ApiResult |
PoiApi.getPoi(String poiId)
获取单个门店
|
static ApiResult |
PoiApi.getPoiList(int begin,
int limit)
获取门店列表
|
static ApiResult |
CustomServiceApi.getRecord(int pageindex,
int pagesize,
long starttime,
long endtime)
获取客服聊天记录
|
static ApiResult |
CustomServiceApi.getRecord(String jsonStr)
获取客服聊天记录
|
static ApiResult |
CustomServiceApi.getSession(String openid)
获取客户会话状态
此接口获取一个客户的会话,如果不存在,则kf_account为空
|
static ApiResult |
CustomServiceApi.getSessionList(String kf_account)
获取客服会话列表
此接口获取一个客户的会话,如果不存在,则kf_account为空
|
static ApiResult |
ShorturlApi.getShorturl(String jsonStr) |
static ApiResult |
ShorturlApi.getShortUrl(String longUrl)
长链接转短链接接口
|
static ApiResult |
TemplateMsgApi.getTemplateId(String templateIdShort)
获得模板ID
|
static ApiResult |
DatacubeApi.getUpStreamMsg(String begin_date,
String end_date)
获取消息发送概况数据,最大跨度7天
|
static ApiResult |
DatacubeApi.getUpStreamMsgDist(String begin_date,
String end_date)
获取消息发送分布数据,最大跨度15天
|
static ApiResult |
DatacubeApi.getUpStreamMsgDistMonth(String begin_date,
String end_date)
获取消息发送分布月数据,最大跨度30天
|
static ApiResult |
DatacubeApi.getUpStreamMsgDistWeek(String begin_date,
String end_date)
获取消息发送分布周数据,最大跨度30天
|
static ApiResult |
DatacubeApi.getUpStreamMsgHour(String begin_date,
String end_date)
获取消息分送分时数据,最大跨度1天
|
static ApiResult |
DatacubeApi.getUpStreamMsgMonth(String begin_date,
String end_date)
获取消息发送月数据,最大跨度30天
|
static ApiResult |
DatacubeApi.getUpStreamMsgWeekMsg(String begin_date,
String end_date)
获取消息发送周数据,最大跨度30天
|
static ApiResult |
TagApi.getUser(int tagId)
根据标签获取标签下粉丝列表
|
static ApiResult |
TagApi.getUser(int tagId,
String nextOpenId)
根据标签获取标签下粉丝列表
|
static ApiResult |
TagApi.getUser(String openId)
获取用户身上的标签列表
|
static ApiResult |
CardApi.getUserCardList(String openid)
获取用户已领取卡券接口
|
static ApiResult |
CardApi.getUserCardList(String openid,
String cardId)
获取用户已领取卡券接口
|
static ApiResult |
DatacubeApi.getUserCumulate(String begin_date,
String end_date)
用户分析数据接口,最大时间跨度:7天
|
static ApiResult |
UserApi.getUserInfo(String openId)
获取用户基本信息(包括UnionID机制)
|
static ApiResult |
SnsApi.getUserInfo(String accessToken,
String openId)
获取用户个人信
|
static ApiResult |
MemberCardApi.getUserInfo(String cardId,
String code)
拉取会员信息接口
|
static ApiResult |
DatacubeApi.getUserRead(String begin_date,
String end_date)
获取图文统计数据,最大跨度3天
|
static ApiResult |
DatacubeApi.getUserReadHour(String begin_date,
String end_date)
获取图文统计分时数据,最大跨度1天
|
static ApiResult |
DatacubeApi.getUserShare(String begin_date,
String end_date)
获取图文分享转发数据,最大跨度7天
|
static ApiResult |
DatacubeApi.getUserShareHour(String begin_date,
String end_date)
获取图文分享转发分时数据,最大跨度1天
|
static ApiResult |
DatacubeApi.getUserSummary(String begin_date,
String end_date)
用户分析数据接口,最大时间跨度:7天
|
static ApiResult |
CustomServiceApi.getWaitCase()
获取未接入会话列表
此接口获取一个客户的会话,如果不存在,则kf_account为空
|
static ApiResult |
CustomServiceApi.inviteWorker(String kf_account,
String invite_wx)
邀请绑定客服帐号
新添加的客服帐号是不能直接使用的,只有客服人员用微信号绑定了客服账号后,方可登录Web客服进行操作。
|
static ApiResult |
CardCodeApi.markCode(String code,
String cardId,
String openid,
boolean isMark)
朋友的券-Mark(占用)Code接口
|
static ApiResult |
GroupsApi.membersBatchUpdate(List<String> openidList,
int to_groupid)
批量移动用户分组
|
static ApiResult |
GroupsApi.membersUpdate(String openid,
int to_groupid)
移动用户分组
|
static ApiResult |
CardApi.modifystock(String cardId,
int stockValue)
修改库存接口
|
static ApiResult |
MessageApi.preview(String jsonStr)
预览接口【订阅号与服务号认证后均可用】
|
static ApiResult |
CardPayApi.recharge(int coinCount)
充值券点接口
|
static ApiResult |
SemanticApi.search(String jsonStr)
发送语义理解请求
|
static ApiResult |
TemplateMsgApi.send(String jsonStr)
发送模板消息
|
static ApiResult |
MessageApi.send(String jsonStr)
根据OpenID列表群发【订阅号不可用,服务号认证后可用】
|
static ApiResult |
MessageApi.sendAll(String jsonStr)
根据分组进行群发【订阅号与服务号认证后均可用】
|
static ApiResult |
CustomServiceApi.sendCoupon(String openId,
String card_id,
String card_ext)
发送卡券
|
static ApiResult |
CustomServiceApi.sendImage(String openId,
String media_id)
发送图片消息
|
static ApiResult |
CustomServiceApi.sendMpNews(String openId,
String mediaId)
发送图文消息(点击跳转到图文消息页面),图文消息条数限制在8条以内
|
static ApiResult |
CustomServiceApi.sendMusic(String openId,
String musicurl,
String hqmusicurl,
String thumb_media_id,
String title,
String description)
发送音乐回复
|
static ApiResult |
CustomServiceApi.sendNews(String openId,
List<CustomServiceApi.Articles> articles)
发送图文回复,图文消息条数限制在8条以内
|
static ApiResult |
CustomServiceApi.sendText(String openId,
String text)
发送文本客服消息
|
static ApiResult |
CustomServiceApi.sendVideo(String openId,
String media_id,
String title,
String description)
发送视频回复
|
static ApiResult |
CustomServiceApi.sendVoice(String openId,
String media_id)
发送语言回复
|
static ApiResult |
MemberCardApi.setActivateUserForm(String jsonStr)
普通一键激活-设置开卡字段接口
|
static ApiResult |
CardCodeApi.setDeposit(String cardId,
List<String> codeList)
导入code接口,文档有歧义 ??
|
static ApiResult |
TemplateMsgApi.setIndustry(String industry_id1,
String industry_id2)
设置所属行业
|
static ApiResult |
CardApi.setPaycell(String cardId,
boolean isOpen)
设置买单接口
|
static ApiResult |
CardApi.setSelfconsumecell(String cardId,
boolean isOpen)
设置自助核销接口
|
static ApiResult |
CardApi.setSelfconsumecell(String cardId,
boolean isOpen,
boolean needVerifyCod,
boolean needRemarkAmount)
设置自助核销接口
|
static ApiResult |
CardApi.setTestWhiteList(String jsonStr)
设置测试白名单
|
static ApiResult |
MenuApi.tryMatch(String userId)
测试个性化菜单匹配结果
|
static ApiResult |
CardApi.unavailableByCard(String cardId,
String reason)
设置卡券失效接口,自定义code卡券的请求。
|
static ApiResult |
CardApi.unavailableByCode(String code,
String reason)
设置卡券失效接口,自定义卡券的请求
|
static ApiResult |
TagApi.update(int id,
String name)
编辑标签
|
static ApiResult |
GroupsApi.update(int id,
String name)
修改分组名
|
static ApiResult |
CardApi.update(String jsonStr)
更改卡券信息接口
|
static ApiResult |
CardCodeApi.update(String code,
String newCode)
更改Code接口
|
static ApiResult |
CardCodeApi.update(String cardId,
String code,
String newCode)
更改Code接口
|
static ApiResult |
CustomServiceApi.updateKfAccount(String kf_account,
String nickname,
String password)
修改客服帐号
|
static ApiResult |
CardExtApi.UpdateMeetingTicketUser(String jsonStr)
更新会议门票
|
static ApiResult |
CardExtApi.UpdateMovieTicketUser(String jsonStr)
更新电影票
|
static ApiResult |
MediaApi.updateNews(String media_id,
int index,
MediaArticles mediaArticles)
修改永久图文素材
|
static ApiResult |
PoiApi.updatePoi(Poi poi)
修改门店信息
商户可以通过该接口,修改门店的服务信息,包括:sid、图片列表、营业时间、推荐、特色服务、简介、人均价格、电话8个字段(名称、坐标、地址等不可修改)修改后需要人工审核。
|
static ApiResult |
PoiApi.updatePoi(String jsonStr)
修改门店信息
商户可以通过该接口,修改门店的服务信息,包括:sid、图片列表、营业时间、推荐、特色服务、简介、人均价格、电话8个字段(名称、坐标、地址等不可修改)修改后需要人工审核。
|
static ApiResult |
UserApi.updateRemark(String openid,
String remark)
设置备注名
|
static ApiResult |
MemberCardApi.updateUser(String jsonStr)
更新会员信息
|
static ApiResult |
MediaApi.uploadImg(File imgFile)
上传图文消息内的图片获取URL
请注意,本接口所上传的图片不占用公众号的素材库中图片数量的5000个的限制。
|
static ApiResult |
CustomServiceApi.uploadKfAccountHeadImg(String kf_account,
File headImg)
设置客服帐号的头像
|
static ApiResult |
MediaApi.uploadMedia(MediaApi.MediaType mediaType,
File file)
上传临时素材
|
static ApiResult |
MediaApi.uploadNews(List<MediaArticles> mediaArticles)
上传图文消息素材【订阅号与服务号认证后均可用】
|
static ApiResult |
MediaApi.uploadVideo(String mediaId,
String title,
String description)
视频群发的消息素材上传
|
限定符和类型 | 方法和说明 |
---|---|
static ApiResult |
ShakeAroundDeviceApi.addDeviceToGroup(int groupId,
List<DeviceIdentifier> deviceIdentifierList)
添加设备到分组,每个分组能够持有的设备上限为10000,并且每次添加操作的添加上限为1000。
|
static ApiResult |
ShakeAroundDeviceApi.addGroup(String groupName)
新建设备分组,每个帐号下最多只有1000个分组。
|
static ApiResult |
ShakeAroundMaterialApi.addMaterial(File file)
上传在摇一摇功能中需使用到的图片素材,素材保存在微信侧服务器上。
|
static ApiResult |
ShakeAroundMaterialApi.addMaterial(File file,
ShakeAroundMaterialApi.MaterialType materialType)
上传在摇一摇功能中需使用到的图片素材,素材保存在微信侧服务器上。
|
static ApiResult |
ShakeAroundPageApi.addPage(String title,
String pageUrl,
String description,
String iconUrl)
新增摇一摇出来的页面信息,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
ShakeAroundPageApi.addPage(String title,
String pageUrl,
String description,
String comment,
String iconUrl)
新增摇一摇出来的页面信息,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
ShakeAroundDeviceApi.applyId(int quantity,
String applyReason,
String comment,
Integer poiId)
申请配置设备所需的UUID、Major、Minor。
|
static ApiResult |
ShakeAroundDeviceApi.bindLocation(DeviceIdentifier deviceIdentifier,
String poiId)
配置设备与门店的关联关系
支持创建门店后直接关联在设备上,无需为审核通过状态,摇周边后台自动更新门店的最新信息和状态。
|
static ApiResult |
ShakeAroundDeviceApi.bindPage(DeviceIdentifier deviceIdentifier,
int... pageIds)
配置设备与页面的关联关系。
|
static ApiResult |
ShakeAroundDeviceApi.deleteDeviceFromGroup(int groupId,
List<DeviceIdentifier> deviceIdentifierList)
从分组中移除设备,每次删除操作的上限为1000。
|
static ApiResult |
ShakeAroundDeviceApi.deleteGroup(int groupId)
删除设备分组,若分组中还存在设备,则不能删除成功。
|
static ApiResult |
ShakeAroundPageApi.deletePage(int pageId)
删除已有的页面,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
ShakeAroundDeviceApi.getApplyStatus(int applyId)
查询设备ID申请的审核状态。
|
static ApiResult |
ShakeAroundAccountApi.getAuditStatus()
查询已经提交的开通摇一摇周边功能申请的审核状态。
|
static ApiResult |
ShakeAroundStatisticsApi.getByDevice(DeviceIdentifier deviceIdentifier,
Date beginDate,
Date endDate)
以设备为维度的数据统计接口
|
static ApiResult |
ShakeAroundStatisticsApi.getByPage(int pageId,
Date beginDate,
Date endDate)
以页面为维度的数据统计接口
|
static ApiResult |
ShakeAroundStatisticsApi.getDeviceList(Date date,
int pageIndex)
批量查询设备统计数据接口
查询指定时间商家帐号下的每个设备进行摇周边操作的人数、次数,点击摇周边消息的人数、次数。
|
static ApiResult |
ShakeAroundDeviceApi.getGroupDetail(int groupId,
int begin,
int count)
查询分组详情,包括分组名,分组id,分组里的设备列表。
|
static ApiResult |
ShakeAroundDeviceApi.getGroupList(int begin,
int count)
查询账号下所有的分组。
|
static ApiResult |
ShakeAroundStatisticsApi.getPageList(Date date,
int pageIndex)
批量查询设备统计数据接口
查询指定时间商家帐号下的每个设备进行摇周边操作的人数、次数,点击摇周边消息的人数、次数。
|
static ApiResult |
ShakeAroundUserApi.getShakeInfo(String ticket)
获取设备信息,包括UUID、major、minor,以及距离、openID等信息。
|
static ApiResult |
ShakeAroundUserApi.getShakeInfo(String ticket,
boolean needPoi)
获取设备信息,包括UUID、major、minor,以及距离、openID等信息。
|
static ApiResult |
ShakeAroundAccountApi.register(String name,
String phoneNumber,
String email,
String industryId,
String applyReason,
String... qualificationCertUrls)
申请开通摇一摇周边功能。
|
static ApiResult |
ShakeAroundDeviceApi.searchByDevice(DeviceIdentifier deviceIdentifier)
查询设备列表
|
static ApiResult |
ShakeAroundPageApi.searchByIds(int... pageIds)
查询已有的页面,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
ShakeAroundPageApi.searchPage(int begin,
int count)
查询已有的页面,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
ShakeAroundDeviceApi.searchPage(int begin,
int count)
需要分页查询或者指定范围内的设备时
|
static ApiResult |
ShakeAroundDeviceApi.searchPage(int applyId,
int begin,
int count)
根据批次id查找
|
static ApiResult |
ShakeAroundDeviceApi.searchRelation(DeviceIdentifier deviceIdentifier,
int type)
查询设备与页面的关联关系。
|
static ApiResult |
ShakeAroundDeviceApi.updateDeviceInfo(DeviceIdentifier deviceIdentifier,
String comment)
编辑设备的备注信息。
|
static ApiResult |
ShakeAroundDeviceApi.updateGroup(int groupId,
String groupName)
编辑设备分组信息,目前只能修改分组名。
|
static ApiResult |
ShakeAroundPageApi.updatePage(int pageId,
String title,
String pageUrl,
String description,
String iconUrl)
新增摇一摇出来的页面信息,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
static ApiResult |
ShakeAroundPageApi.updatePage(int pageId,
String title,
String pageUrl,
String description,
String comment,
String iconUrl)
新增摇一摇出来的页面信息,包括在摇一摇页面出现的主标题、副标题、图片和点击进去的超链接。
|
限定符和类型 | 方法和说明 |
---|---|
ApiResult |
WxaQrcodeApi.createQrcode(String path)
获取小程序页面二维码
通过该接口,仅能生成已发布的小程序的二维码。
|
ApiResult |
WxaQrcodeApi.createQrcode(String path,
int width)
获取小程序页面二维码
通过该接口,仅能生成已发布的小程序的二维码。
|
ApiResult |
WxaUserApi.getSessionKey(String jsCode)
获取sessionKey
|
ApiResult |
WxaUserApi.getUserInfo(String sessionKey,
String encryptedData,
String ivStr)
解密用户敏感数据
|
ApiResult |
WxaTemplateApi.send(String jsonStr)
发送模板消息
|
ApiResult |
WxaTemplateApi.send(WxaTemplate template)
发送模板消息
|
ApiResult |
WxaMessageApi.sendImage(String openId,
String mediaId)
发送图片消息
|
ApiResult |
WxaMessageApi.sendText(String openId,
String text)
发送文本客服消息
|
ApiResult |
WxaMaterialApi.uploadMedia(File file,
String type)
上传临时素材
|
Copyright © 2017. All rights reserved.