C# Class Senparc.Weixin.MP.AdvancedAPIs.ShakeAroundApi

摇一摇周边接口
Show file Open project: JeffreySu/WeiXinMPSDK

Public Methods

Method Description
AddLotteryInfo ( string accessTokenOrAppId, string title, string desc, int onoff, long beginTime, long expireTime, string sponsorAppid, long total, string jumpUrl, string key, int timeOut = Config.TIME_OUT ) : AddLotteryInfoResultJson

创建红包活动

AddLotteryInfoAsync ( string accessTokenOrAppId, string title, string desc, int onoff, long beginTime, long expireTime, string sponsorAppid, long total, string jumpUrl, string key, int timeOut = Config.TIME_OUT ) : Task

【异步方法】创建红包活动

AddPage ( string accessTokenOrAppId, string title, string description, string pageUrl, string iconUrl, string comment = null, int timeOut = Config.TIME_OUT ) : AddPageResultJson

新增页面

AddPageAsync ( string accessTokenOrAppId, string title, string description, string pageUrl, string iconUrl, string comment = null, int timeOut = Config.TIME_OUT ) : Task

【异步方法】新增页面

BindPage ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, long pageIds, ShakeAroundBindType bindType, ShakeAroundAppendType appendType, int timeOut = Config.TIME_OUT ) : WxJsonResult

配置设备与页面的关联关系 配置设备与页面的关联关系。支持建立或解除关联关系,也支持新增页面或覆盖页面等操作。配置完成后,在此设备的信号范围内,即可摇出关联的页面信息。若设备配置多个页面,则随机出现页面信息。一个设备最多可配置30个关联页面。

BindPageAsync ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, long pageIds, ShakeAroundBindType bindType, ShakeAroundAppendType appendType, int timeOut = Config.TIME_OUT ) : Task

【异步方法】配置设备与页面的关联关系 配置设备与页面的关联关系。支持建立或解除关联关系,也支持新增页面或覆盖页面等操作。配置完成后,在此设备的信号范围内,即可摇出关联的页面信息。若设备配置多个页面,则随机出现页面信息。一个设备最多可配置30个关联页面。

DeletePage ( string accessTokenOrAppId, long pageId, int timeOut = Config.TIME_OUT ) : WxJsonResult

删除页面

DeletePageAsync ( string accessTokenOrAppId, long pageId, int timeOut = Config.TIME_OUT ) : Task

【异步方法】删除页面

DeviceApply ( string accessTokenOrAppId, int quantity, string applyReason, string comment = null, long poiId = null, int timeOut = Config.TIME_OUT ) : DeviceApplyResultJson

申请设备ID

DeviceApplyAsync ( string accessTokenOrAppId, int quantity, string applyReason, string comment = null, long poiId = null, int timeOut = Config.TIME_OUT ) : Task

【异步方法】申请设备ID

DeviceApplyStatus ( string accessTokenOrAppId, long appId, int timeOut = Config.TIME_OUT ) : GetDeviceStatusResultJson

查询设备ID申请审核状态 接口说明 查询设备ID申请的审核状态。若单次申请的设备ID数量小于等于500个,系统会进行快速审核;若单次申请的设备ID数量大于500个,则在三个工作日内完成审核。

DeviceApplyStatusAsync ( string accessTokenOrAppId, long appId, int timeOut = Config.TIME_OUT ) : Task

【异步方法】查询设备ID申请审核状态 接口说明 查询设备ID申请的审核状态。若单次申请的设备ID数量小于等于500个,系统会进行快速审核;若单次申请的设备ID数量大于500个,则在三个工作日内完成审核。

DeviceBindLocatoin ( string accessTokenOrAppId, long deviceId, string uuid, long major, long minor, long poiId, int timeOut = Config.TIME_OUT ) : WxJsonResult

配置设备与其他门店的关联关系 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。

DeviceBindLocatoin ( string accessTokenOrAppId, long deviceId, string uuid, long major, long minor, long poiId, string poiAppid, int type = 1, int timeOut = Config.TIME_OUT ) : WxJsonResult

配置设备与门店的关联关系 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。

DeviceBindLocatoinAsync ( string accessTokenOrAppId, long deviceId, string uuid, long major, long minor, long poiId, int timeOut = Config.TIME_OUT ) : Task

【异步方法】配置设备与其他门店的关联关系 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。

DeviceBindLocatoinAsync ( string accessTokenOrAppId, long deviceId, string uuid, long major, long minor, long poiId, string poiAppid, int type = 1, int timeOut = Config.TIME_OUT ) : Task

【异步方法】配置设备与门店的关联关系 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。

DeviceList ( string accessTokenOrAppId, long date, string pageIndex, int timeOut = Config.TIME_OUT ) : DeviceListResultJson

批量查询设备统计数据接口

DeviceListAsync ( string accessTokenOrAppId, long date, string pageIndex, int timeOut = Config.TIME_OUT ) : Task

【异步方法】批量查询设备统计数据接口

DeviceUpdate ( string accessTokenOrAppId, long deviceId, string uuId, long major, long minor, string comment, int timeOut = Config.TIME_OUT ) : WxJsonResult

编辑设备信息 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。

DeviceUpdateAsync ( string accessTokenOrAppId, long deviceId, string uuId, long major, long minor, string comment, int timeOut = Config.TIME_OUT ) : Task

【异步方法】编辑设备信息 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。

GetAuditStatus ( string accessTokenOrAppId ) : GetAuditStatusResultJson

查询审核状态

GetAuditStatusAsync ( string accessTokenOrAppId ) : Task

【异步方法】查询审核状态

GetShakeInfo ( string accessTokenOrAppId, string ticket, int needPoi = 1, int timeOut = Config.TIME_OUT ) : GetShakeInfoResultJson

获取摇周边的设备及用户信息

GetShakeInfoAsync ( string accessTokenOrAppId, string ticket, int needPoi = 1, int timeOut = Config.TIME_OUT ) : Task

【异步方法】获取摇周边的设备及用户信息

GroupAdd ( string accessTokenOrAppId, string groupName, int timeOut = Config.TIME_OUT ) : GroupAddResultJson

新增分组

GroupAddAsync ( string accessTokenOrAppId, string groupName, int timeOut = Config.TIME_OUT ) : Task

【异步方法】新增分组

GroupDelete ( string accessTokenOrAppId, string groupId, int timeOut = Config.TIME_OUT ) : RegisterResultJson
GroupDeleteAsync ( string accessTokenOrAppId, string groupId, int timeOut = Config.TIME_OUT ) : Task
GroupDeleteDevice ( string accessTokenOrAppId, string groupId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : RegisterResultJson
GroupDeleteDeviceAsync ( string accessTokenOrAppId, string groupId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : Task
GroupGetAdddevice ( string accessTokenOrAppId, string groupId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : RegisterResultJson
GroupGetAdddeviceAsync ( string accessTokenOrAppId, string groupId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : Task

【异步方法】添加设备到分组

GroupGetDetail ( string accessTokenOrAppId, string groupId, int begin, int count, int timeOut = Config.TIME_OUT ) : GroupGetDetailResultJson

查询分组详情

GroupGetDetailAsync ( string accessTokenOrAppId, string groupId, int begin, int count, int timeOut = Config.TIME_OUT ) : Task

【异步方法】查询分组详情

GroupGetList ( string accessTokenOrAppId, int begin, int count, int timeOut = Config.TIME_OUT ) : GroupGetListResultJson

查询分组列表

GroupGetListAsync ( string accessTokenOrAppId, int begin, int count, int timeOut = Config.TIME_OUT ) : Task

【异步方法】查询分组列表

GroupUpdate ( string accessTokenOrAppId, string groupid, string groupName, int timeOut = Config.TIME_OUT ) : RegisterResultJson

编辑分组信息

GroupUpdateAsync ( string accessTokenOrAppId, string groupid, string groupName, int timeOut = Config.TIME_OUT ) : Task

【异步方法】编辑分组信息

PageList ( string accessTokenOrAppId, long date, int pageIndex, int timeOut = Config.TIME_OUT ) : PageListResultJson

批量查询页面统计数据接口

PageListAsync ( string accessTokenOrAppId, long date, int pageIndex, int timeOut = Config.TIME_OUT ) : Task

【异步方法】批量查询页面统计数据接口

QueryLottery ( string accessTokenOrAppId, string lotteryId, int timeOut = Config.TIME_OUT ) : QueryLotteryJsonResult

红包查询接口

QueryLotteryAsync ( string accessTokenOrAppId, string lotteryId, int timeOut = Config.TIME_OUT ) : Task

【异步方法】红包查询接口

Register ( string accessTokenOrAppId, RegisterData data, IndustryId industry_Id, int timeOut = Config.TIME_OUT ) : RegisterResultJson

申请开通功能

RegisterAsync ( string accessTokenOrAppId, RegisterData data, IndustryId industry_Id, int timeOut = Config.TIME_OUT ) : Task

【异步方法】申请开通功能

RelationSearch ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : RelationSearchResultJson

查询设备的关联关系

RelationSearch ( string accessTokenOrAppId, long pageId, int begin, int count, int timeOut = Config.TIME_OUT ) : RelationSearchResultJson

查询页面的关联关系

RelationSearchAsync ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : Task

【异步方法】查询设备的关联关系

RelationSearchAsync ( string accessTokenOrAppId, long pageId, int begin, int count, int timeOut = Config.TIME_OUT ) : Task

【异步方法】查询页面的关联关系

SearchDeviceByApplyId ( string accessTokenOrAppId, long applyId, int lastSeen, int count, int timeOut = Config.TIME_OUT ) : DeviceSearchResultJson

根据批次ID查询设备列表

SearchDeviceByApplyIdAsync ( string accessTokenOrAppId, long applyId, int begin, int count, int timeOut = Config.TIME_OUT ) : Task

【异步方法】根据批次ID查询设备列表

SearchDeviceById ( string accessTokenOrAppId, List deviceIdentifiers, int timeOut = Config.TIME_OUT ) : DeviceSearchResultJson

根据指定的设备Id查询设备列表

SearchDeviceByIdAsync ( string accessTokenOrAppId, List deviceIdentifiers, int timeOut = Config.TIME_OUT ) : Task

根据指定的设备Id查询设备列表

SearchDeviceByRange ( string accessTokenOrAppId, int lastSeen, int count, int timeOut = Config.TIME_OUT ) : DeviceSearchResultJson

根据分页查询或者指定范围查询设备列表

SearchDeviceByRangeAsync ( string accessTokenOrAppId, int begin, int count, int timeOut = Config.TIME_OUT ) : Task

【异步方法】根据分页查询或者指定范围查询设备列表

SearchPagesByPageId ( string accessTokenOrAppId, long pageIds, int timeOut = Config.TIME_OUT ) : SearchPagesResultJson

根据页面Id查询页面列表

SearchPagesByPageIdAsync ( string accessTokenOrAppId, long pageIds, int timeOut = Config.TIME_OUT ) : Task

【异步方法】根据页面Id查询页面列表

SearchPagesByRange ( string accessTokenOrAppId, int begin, int count, int timeOut = Config.TIME_OUT ) : SearchPagesResultJson

根据分页或者指定范围查询页面列表

SearchPagesByRangeAsync ( string accessTokenOrAppId, int lastSeen, int count, int timeOut = Config.TIME_OUT ) : Task

【异步方法】根据分页或者指定范围查询页面列表

SetLotterySwitch ( string accessTokenOrAppId, string lotteryId, int onOff, int timeOut = Config.TIME_OUT ) : WxJsonResult

设置红包活动抽奖开关

SetLotterySwitchAsync ( string accessTokenOrAppId, string lotteryId, int onOff, int timeOut = Config.TIME_OUT ) : Task

【异步方法】设置红包活动抽奖开关

SetPrizeBucket ( string accessTokenOrAppId, string lotteryId, string mchid, string sponsorAppid, PrizeInfoList prizeInfoList, int timeOut = Config.TIME_OUT ) : SetPrizeBucketResultJson
SetPrizeBucketAsync ( string accessTokenOrAppId, string lotteryId, string mchid, string sponsorAppid, PrizeInfoList prizeInfoList, int timeOut = Config.TIME_OUT ) : Task
StatisticsByDevice ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, long beginDate, long endDate, int timeOut = Config.TIME_OUT ) : StatisticsResultJson

以设备为维度的数据统计接口

StatisticsByDeviceAsync ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, long beginDate, long endDate, int timeOut = Config.TIME_OUT ) : Task

【异步方法】以设备为维度的数据统计接口

StatisticsByPage ( string accessTokenOrAppId, long pageId, long beginDate, long endDate, int timeOut = Config.TIME_OUT ) : StatisticsResultJson

以页面为维度的数据统计接口

StatisticsByPageAsync ( string accessTokenOrAppId, long pageId, long beginDate, long endDate, int timeOut = Config.TIME_OUT ) : Task

【异步方法】以页面为维度的数据统计接口

UpdatePage ( string accessTokenOrAppId, long pageId, string title, string description, string pageUrl, string iconUrl, string comment = null, int timeOut = Config.TIME_OUT ) : UpdatePageResultJson

编辑页面信息

UpdatePageAsync ( string accessTokenOrAppId, long pageId, string title, string description, string pageUrl, string iconUrl, string comment = null, int timeOut = Config.TIME_OUT ) : Task

【异步方法】编辑页面信息

UploadImage ( string accessTokenOrAppId, string file, int timeOut = Config.TIME_OUT ) : UploadImageResultJson

上传图片素材 上传在摇一摇页面展示的图片素材,素材保存在微信侧服务器上。 格式限定为:jpg,jpeg,png,gif,图片大小建议120px*120 px,限制不超过200 px *200 px,图片需为正方形。

UploadImageAsync ( string accessTokenOrAppId, string file, int timeOut = Config.TIME_OUT ) : Task

【异步方法】上传图片素材 上传在摇一摇页面展示的图片素材,素材保存在微信侧服务器上。 格式限定为:jpg,jpeg,png,gif,图片大小建议120px*120 px,限制不超过200 px *200 px,图片需为正方形。

Method Details

AddLotteryInfo() public static method

创建红包活动
public static AddLotteryInfo ( string accessTokenOrAppId, string title, string desc, int onoff, long beginTime, long expireTime, string sponsorAppid, long total, string jumpUrl, string key, int timeOut = Config.TIME_OUT ) : AddLotteryInfoResultJson
accessTokenOrAppId string 调用接口凭证
title string 分组唯一标识,全局唯一
desc string 分组列表的起始索引值
onoff int 待查询的分组数量,不能超过1000个
beginTime long 待查询的分组数量,不能超过1000个
expireTime long 待查询的分组数量,不能超过1000个
sponsorAppid string 待查询的分组数量,不能超过1000个
total long 待查询的分组数量,不能超过1000个
jumpUrl string 待查询的分组数量,不能超过1000个
key string 待查询的分组数量,不能超过1000个
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.AddLotteryInfoResultJson

AddLotteryInfoAsync() public static method

【异步方法】创建红包活动
public static AddLotteryInfoAsync ( string accessTokenOrAppId, string title, string desc, int onoff, long beginTime, long expireTime, string sponsorAppid, long total, string jumpUrl, string key, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
title string 分组唯一标识,全局唯一
desc string 分组列表的起始索引值
onoff int 待查询的分组数量,不能超过1000个
beginTime long 待查询的分组数量,不能超过1000个
expireTime long 待查询的分组数量,不能超过1000个
sponsorAppid string 待查询的分组数量,不能超过1000个
total long 待查询的分组数量,不能超过1000个
jumpUrl string 待查询的分组数量,不能超过1000个
key string 待查询的分组数量,不能超过1000个
timeOut int
return Task

AddPage() public static method

新增页面
public static AddPage ( string accessTokenOrAppId, string title, string description, string pageUrl, string iconUrl, string comment = null, int timeOut = Config.TIME_OUT ) : AddPageResultJson
accessTokenOrAppId string 调用接口凭证
title string 在摇一摇页面展示的主标题,不超过6个字
description string 在摇一摇页面展示的副标题,不超过7个字
pageUrl string 点击页面跳转链接
iconUrl string 在摇一摇页面展示的图片。图片需先上传至微信侧服务器,用“素材管理-上传图片素材”接口上传图片,返回的图片URL再配置在此处
comment string 页面的备注信息,不超过15个字
timeOut int
return AddPageResultJson

AddPageAsync() public static method

【异步方法】新增页面
public static AddPageAsync ( string accessTokenOrAppId, string title, string description, string pageUrl, string iconUrl, string comment = null, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
title string 在摇一摇页面展示的主标题,不超过6个字
description string 在摇一摇页面展示的副标题,不超过7个字
pageUrl string 点击页面跳转链接
iconUrl string 在摇一摇页面展示的图片。图片需先上传至微信侧服务器,用“素材管理-上传图片素材”接口上传图片,返回的图片URL再配置在此处
comment string 页面的备注信息,不超过15个字
timeOut int
return Task

BindPage() public static method

配置设备与页面的关联关系 配置设备与页面的关联关系。支持建立或解除关联关系,也支持新增页面或覆盖页面等操作。配置完成后,在此设备的信号范围内,即可摇出关联的页面信息。若设备配置多个页面,则随机出现页面信息。一个设备最多可配置30个关联页面。
public static BindPage ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, long pageIds, ShakeAroundBindType bindType, ShakeAroundAppendType appendType, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string
deviceIdentifier Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceApply_Data_Device_Identifiers
pageIds long
bindType ShakeAroundBindType 关联操作标志位, 0为解除关联关系,1为建立关联关系
appendType ShakeAroundAppendType 新增操作标志位, 0为覆盖,1为新增
timeOut int
return Senparc.Weixin.Entities.WxJsonResult

BindPageAsync() public static method

【异步方法】配置设备与页面的关联关系 配置设备与页面的关联关系。支持建立或解除关联关系,也支持新增页面或覆盖页面等操作。配置完成后,在此设备的信号范围内,即可摇出关联的页面信息。若设备配置多个页面,则随机出现页面信息。一个设备最多可配置30个关联页面。
public static BindPageAsync ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, long pageIds, ShakeAroundBindType bindType, ShakeAroundAppendType appendType, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
deviceIdentifier Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceApply_Data_Device_Identifiers
pageIds long
bindType ShakeAroundBindType 关联操作标志位, 0为解除关联关系,1为建立关联关系
appendType ShakeAroundAppendType 新增操作标志位, 0为覆盖,1为新增
timeOut int
return Task

DeletePage() public static method

删除页面
public static DeletePage ( string accessTokenOrAppId, long pageId, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string
pageId long 指定页面的Id数组
timeOut int
return Senparc.Weixin.Entities.WxJsonResult

DeletePageAsync() public static method

【异步方法】删除页面
public static DeletePageAsync ( string accessTokenOrAppId, long pageId, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
pageId long 指定页面的Id数组
timeOut int
return Task

DeviceApply() public static method

申请设备ID
public static DeviceApply ( string accessTokenOrAppId, int quantity, string applyReason, string comment = null, long poiId = null, int timeOut = Config.TIME_OUT ) : DeviceApplyResultJson
accessTokenOrAppId string 调用接口凭证
quantity int 申请的设备ID的数量,单次新增设备超过500个,需走人工审核流程
applyReason string 申请理由,不超过100个字
comment string 备注,不超过15个汉字或30个英文字母
poiId long 设备关联的门店ID,关联门店后,在门店1KM的范围内有优先摇出信息的机会。
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceApplyResultJson

DeviceApplyAsync() public static method

【异步方法】申请设备ID
public static DeviceApplyAsync ( string accessTokenOrAppId, int quantity, string applyReason, string comment = null, long poiId = null, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
quantity int 申请的设备ID的数量,单次新增设备超过500个,需走人工审核流程
applyReason string 申请理由,不超过100个字
comment string 备注,不超过15个汉字或30个英文字母
poiId long 设备关联的门店ID,关联门店后,在门店1KM的范围内有优先摇出信息的机会。
timeOut int
return Task

DeviceApplyStatus() public static method

查询设备ID申请审核状态 接口说明 查询设备ID申请的审核状态。若单次申请的设备ID数量小于等于500个,系统会进行快速审核;若单次申请的设备ID数量大于500个,则在三个工作日内完成审核。
public static DeviceApplyStatus ( string accessTokenOrAppId, long appId, int timeOut = Config.TIME_OUT ) : GetDeviceStatusResultJson
accessTokenOrAppId string 调用接口凭证
appId long 批次ID,申请设备ID时所返回的批次ID
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.GetDeviceStatusResultJson

DeviceApplyStatusAsync() public static method

【异步方法】查询设备ID申请审核状态 接口说明 查询设备ID申请的审核状态。若单次申请的设备ID数量小于等于500个,系统会进行快速审核;若单次申请的设备ID数量大于500个,则在三个工作日内完成审核。
public static DeviceApplyStatusAsync ( string accessTokenOrAppId, long appId, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
appId long 批次ID,申请设备ID时所返回的批次ID
timeOut int
return Task

DeviceBindLocatoin() public static method

配置设备与其他门店的关联关系 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。
public static DeviceBindLocatoin ( string accessTokenOrAppId, long deviceId, string uuid, long major, long minor, long poiId, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string 调用接口凭证
deviceId long 设备编号
uuid string
major long
minor long
poiId long Poi_id 的说明改为:设备关联的门店ID,关联门店后,在门店1KM的范围内有优先摇出信息的机会。
timeOut int
return Senparc.Weixin.Entities.WxJsonResult

DeviceBindLocatoin() public static method

配置设备与门店的关联关系 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。
public static DeviceBindLocatoin ( string accessTokenOrAppId, long deviceId, string uuid, long major, long minor, long poiId, string poiAppid, int type = 1, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string 调用接口凭证
deviceId long 设备编号
uuid string
major long
minor long
poiId long Poi_id 的说明改为:设备关联的门店ID,关联门店后,在门店1KM的范围内有优先摇出信息的机会。
poiAppid string 当Type为2时,必填 关联门店所归属的公众账号的APPID
type int 为1时,关联的门店和设备归属于同一公众账号;为2时,关联的门店为其他公众账号的门店。不填默认为1
timeOut int
return Senparc.Weixin.Entities.WxJsonResult

DeviceBindLocatoinAsync() public static method

【异步方法】配置设备与其他门店的关联关系 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。
public static DeviceBindLocatoinAsync ( string accessTokenOrAppId, long deviceId, string uuid, long major, long minor, long poiId, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
deviceId long 设备编号
uuid string
major long
minor long
poiId long Poi_id 的说明改为:设备关联的门店ID,关联门店后,在门店1KM的范围内有优先摇出信息的机会。
timeOut int
return Task

DeviceBindLocatoinAsync() public static method

【异步方法】配置设备与门店的关联关系 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。
public static DeviceBindLocatoinAsync ( string accessTokenOrAppId, long deviceId, string uuid, long major, long minor, long poiId, string poiAppid, int type = 1, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
deviceId long 设备编号
uuid string
major long
minor long
poiId long Poi_id 的说明改为:设备关联的门店ID,关联门店后,在门店1KM的范围内有优先摇出信息的机会。
poiAppid string 当Type为2时,必填 关联门店所归属的公众账号的APPID
type int 为1时,关联的门店和设备归属于同一公众账号;为2时,关联的门店为其他公众账号的门店。不填默认为1
timeOut int
return Task

DeviceList() public static method

批量查询设备统计数据接口
public static DeviceList ( string accessTokenOrAppId, long date, string pageIndex, int timeOut = Config.TIME_OUT ) : DeviceListResultJson
accessTokenOrAppId string 调用接口凭证
date long 指定查询日期时间戳,单位为秒
pageIndex string 指定查询的结果页序号;返回结果按摇周边人数降序排序,每50条记录为一页
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceListResultJson

DeviceListAsync() public static method

【异步方法】批量查询设备统计数据接口
public static DeviceListAsync ( string accessTokenOrAppId, long date, string pageIndex, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
date long 指定查询日期时间戳,单位为秒
pageIndex string 指定查询的结果页序号;返回结果按摇周边人数降序排序,每50条记录为一页
timeOut int
return Task

DeviceUpdate() public static method

编辑设备信息 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。
public static DeviceUpdate ( string accessTokenOrAppId, long deviceId, string uuId, long major, long minor, string comment, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string
deviceId long 设备编号
uuId string
major long
minor long
comment string
timeOut int
return Senparc.Weixin.Entities.WxJsonResult

DeviceUpdateAsync() public static method

【异步方法】编辑设备信息 设备编号,若填了UUID、major、minor,则可不填设备编号,若二者都填,则以设备编号为优先 UUID、major、minor,三个信息需填写完整,若填了设备编号,则可不填此信息。
public static DeviceUpdateAsync ( string accessTokenOrAppId, long deviceId, string uuId, long major, long minor, string comment, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
deviceId long 设备编号
uuId string
major long
minor long
comment string
timeOut int
return Task

GetAuditStatus() public static method

查询审核状态
public static GetAuditStatus ( string accessTokenOrAppId ) : GetAuditStatusResultJson
accessTokenOrAppId string
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.GetAuditStatusResultJson

GetAuditStatusAsync() public static method

【异步方法】查询审核状态
public static GetAuditStatusAsync ( string accessTokenOrAppId ) : Task
accessTokenOrAppId string
return Task

GetShakeInfo() public static method

获取摇周边的设备及用户信息
public static GetShakeInfo ( string accessTokenOrAppId, string ticket, int needPoi = 1, int timeOut = Config.TIME_OUT ) : GetShakeInfoResultJson
accessTokenOrAppId string 调用接口凭证
ticket string 摇周边业务的ticket,可在摇到的URL中得到,ticket生效时间为30分钟,每一次摇都会重新生成新的ticket
needPoi int 是否需要返回门店poi_id,传1则返回,否则不返回
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.GetShakeInfoResultJson

GetShakeInfoAsync() public static method

【异步方法】获取摇周边的设备及用户信息
public static GetShakeInfoAsync ( string accessTokenOrAppId, string ticket, int needPoi = 1, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
ticket string 摇周边业务的ticket,可在摇到的URL中得到,ticket生效时间为30分钟,每一次摇都会重新生成新的ticket
needPoi int 是否需要返回门店poi_id,传1则返回,否则不返回
timeOut int
return Task

GroupAdd() public static method

新增分组
public static GroupAdd ( string accessTokenOrAppId, string groupName, int timeOut = Config.TIME_OUT ) : GroupAddResultJson
accessTokenOrAppId string 调用接口凭证
groupName string 分组名称,不超过100汉字或200个英文字母
timeOut int
return GroupAddResultJson

GroupAddAsync() public static method

【异步方法】新增分组
public static GroupAddAsync ( string accessTokenOrAppId, string groupName, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
groupName string 分组名称,不超过100汉字或200个英文字母
timeOut int
return Task

GroupDelete() public static method

public static GroupDelete ( string accessTokenOrAppId, string groupId, int timeOut = Config.TIME_OUT ) : RegisterResultJson
accessTokenOrAppId string
groupId string
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.RegisterResultJson

GroupDeleteAsync() public static method

public static GroupDeleteAsync ( string accessTokenOrAppId, string groupId, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
groupId string
timeOut int
return Task

GroupDeleteDevice() public static method

public static GroupDeleteDevice ( string accessTokenOrAppId, string groupId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : RegisterResultJson
accessTokenOrAppId string
groupId string
deviceIdentifier Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceApply_Data_Device_Identifiers
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.RegisterResultJson

GroupDeleteDeviceAsync() public static method

public static GroupDeleteDeviceAsync ( string accessTokenOrAppId, string groupId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
groupId string
deviceIdentifier Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceApply_Data_Device_Identifiers
timeOut int
return Task

GroupGetAdddevice() public static method

public static GroupGetAdddevice ( string accessTokenOrAppId, string groupId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : RegisterResultJson
accessTokenOrAppId string
groupId string
deviceIdentifier Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceApply_Data_Device_Identifiers
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.RegisterResultJson

GroupGetAdddeviceAsync() public static method

【异步方法】添加设备到分组
public static GroupGetAdddeviceAsync ( string accessTokenOrAppId, string groupId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
groupId string 分组唯一标识,全局唯一
deviceIdentifier Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceApply_Data_Device_Identifiers 分组列表的起始索引值
timeOut int
return Task

GroupGetDetail() public static method

查询分组详情
public static GroupGetDetail ( string accessTokenOrAppId, string groupId, int begin, int count, int timeOut = Config.TIME_OUT ) : GroupGetDetailResultJson
accessTokenOrAppId string 调用接口凭证
groupId string 分组唯一标识,全局唯一
begin int 分组列表的起始索引值
count int 待查询的分组数量,不能超过1000个
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.GroupGetDetailResultJson

GroupGetDetailAsync() public static method

【异步方法】查询分组详情
public static GroupGetDetailAsync ( string accessTokenOrAppId, string groupId, int begin, int count, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
groupId string 分组唯一标识,全局唯一
begin int 分组列表的起始索引值
count int 待查询的分组数量,不能超过1000个
timeOut int
return Task

GroupGetList() public static method

查询分组列表
public static GroupGetList ( string accessTokenOrAppId, int begin, int count, int timeOut = Config.TIME_OUT ) : GroupGetListResultJson
accessTokenOrAppId string 调用接口凭证
begin int 分组列表的起始索引值
count int 待查询的分组数量,不能超过1000个
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.GroupGetListResultJson

GroupGetListAsync() public static method

【异步方法】查询分组列表
public static GroupGetListAsync ( string accessTokenOrAppId, int begin, int count, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
begin int 分组列表的起始索引值
count int 待查询的分组数量,不能超过1000个
timeOut int
return Task

GroupUpdate() public static method

编辑分组信息
public static GroupUpdate ( string accessTokenOrAppId, string groupid, string groupName, int timeOut = Config.TIME_OUT ) : RegisterResultJson
accessTokenOrAppId string 调用接口凭证
groupid string 分组唯一标识,全局唯一
groupName string 分组名称,不超过100汉字或200个英文字母
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.RegisterResultJson

GroupUpdateAsync() public static method

【异步方法】编辑分组信息
public static GroupUpdateAsync ( string accessTokenOrAppId, string groupid, string groupName, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
groupid string 分组唯一标识,全局唯一
groupName string 分组名称,不超过100汉字或200个英文字母
timeOut int
return Task

PageList() public static method

批量查询页面统计数据接口
public static PageList ( string accessTokenOrAppId, long date, int pageIndex, int timeOut = Config.TIME_OUT ) : PageListResultJson
accessTokenOrAppId string 调用接口凭证
date long 指定查询日期时间戳,单位为秒
pageIndex int 指定查询的结果页序号;返回结果按摇周边人数降序排序,每50条记录为一页
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.PageListResultJson

PageListAsync() public static method

【异步方法】批量查询页面统计数据接口
public static PageListAsync ( string accessTokenOrAppId, long date, int pageIndex, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
date long 指定查询日期时间戳,单位为秒
pageIndex int 指定查询的结果页序号;返回结果按摇周边人数降序排序,每50条记录为一页
timeOut int
return Task

QueryLottery() public static method

红包查询接口
public static QueryLottery ( string accessTokenOrAppId, string lotteryId, int timeOut = Config.TIME_OUT ) : QueryLotteryJsonResult
accessTokenOrAppId string 调用接口凭证
lotteryId string 红包抽奖id,来自addlotteryinfo返回的lottery_id
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.QueryLotteryJsonResult

QueryLotteryAsync() public static method

【异步方法】红包查询接口
public static QueryLotteryAsync ( string accessTokenOrAppId, string lotteryId, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
lotteryId string 红包抽奖id,来自addlotteryinfo返回的lottery_id
timeOut int
return Task

Register() public static method

申请开通功能
public static Register ( string accessTokenOrAppId, RegisterData data, IndustryId industry_Id, int timeOut = Config.TIME_OUT ) : RegisterResultJson
accessTokenOrAppId string
data Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.RegisterData
industry_Id IndustryId
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.RegisterResultJson

RegisterAsync() public static method

【异步方法】申请开通功能
public static RegisterAsync ( string accessTokenOrAppId, RegisterData data, IndustryId industry_Id, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
data Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.RegisterData
industry_Id IndustryId
timeOut int
return Task

RelationSearch() public static method

查询设备的关联关系
public static RelationSearch ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : RelationSearchResultJson
accessTokenOrAppId string
deviceIdentifier Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceApply_Data_Device_Identifiers 指定的设备
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.RelationSearchResultJson

RelationSearch() public static method

查询页面的关联关系
public static RelationSearch ( string accessTokenOrAppId, long pageId, int begin, int count, int timeOut = Config.TIME_OUT ) : RelationSearchResultJson
accessTokenOrAppId string
pageId long 指定的页面id
begin int 关联关系列表的起始索引值
count int 待查询的关联关系数量,不能超过50个
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.RelationSearchResultJson

RelationSearchAsync() public static method

【异步方法】查询设备的关联关系
public static RelationSearchAsync ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
deviceIdentifier Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceApply_Data_Device_Identifiers 指定的设备
timeOut int
return Task

RelationSearchAsync() public static method

【异步方法】查询页面的关联关系
public static RelationSearchAsync ( string accessTokenOrAppId, long pageId, int begin, int count, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
pageId long 指定的页面id
begin int 关联关系列表的起始索引值
count int 待查询的关联关系数量,不能超过50个
timeOut int
return Task

SearchDeviceByApplyId() public static method

根据批次ID查询设备列表
public static SearchDeviceByApplyId ( string accessTokenOrAppId, long applyId, int lastSeen, int count, int timeOut = Config.TIME_OUT ) : DeviceSearchResultJson
accessTokenOrAppId string
applyId long 批次ID,申请设备ID时所返回的批次ID
lastSeen int 前一次查询列表末尾的设备ID,第一次查询lastSeen为0
count int 待查询的设备数量,不能超过50个
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceSearchResultJson

SearchDeviceByApplyIdAsync() public static method

【异步方法】根据批次ID查询设备列表
public static SearchDeviceByApplyIdAsync ( string accessTokenOrAppId, long applyId, int begin, int count, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
applyId long
begin int
count int
timeOut int
return Task

SearchDeviceById() public static method

根据指定的设备Id查询设备列表
public static SearchDeviceById ( string accessTokenOrAppId, List deviceIdentifiers, int timeOut = Config.TIME_OUT ) : DeviceSearchResultJson
accessTokenOrAppId string
deviceIdentifiers List 设备Id列表
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceSearchResultJson

SearchDeviceByIdAsync() public static method

根据指定的设备Id查询设备列表
public static SearchDeviceByIdAsync ( string accessTokenOrAppId, List deviceIdentifiers, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
deviceIdentifiers List 设备Id列表
timeOut int
return Task

SearchDeviceByRange() public static method

根据分页查询或者指定范围查询设备列表
public static SearchDeviceByRange ( string accessTokenOrAppId, int lastSeen, int count, int timeOut = Config.TIME_OUT ) : DeviceSearchResultJson
accessTokenOrAppId string
lastSeen int 前一次查询列表末尾的设备ID,第一次查询lastSeen为0
count int 待查询的设备数量,不能超过50个
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceSearchResultJson

SearchDeviceByRangeAsync() public static method

【异步方法】根据分页查询或者指定范围查询设备列表
public static SearchDeviceByRangeAsync ( string accessTokenOrAppId, int begin, int count, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
begin int
count int
timeOut int
return Task

SearchPagesByPageId() public static method

根据页面Id查询页面列表
public static SearchPagesByPageId ( string accessTokenOrAppId, long pageIds, int timeOut = Config.TIME_OUT ) : SearchPagesResultJson
accessTokenOrAppId string
pageIds long 指定页面的Id数组
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.SearchPagesResultJson

SearchPagesByPageIdAsync() public static method

【异步方法】根据页面Id查询页面列表
public static SearchPagesByPageIdAsync ( string accessTokenOrAppId, long pageIds, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
pageIds long 指定页面的Id数组
timeOut int
return Task

SearchPagesByRange() public static method

根据分页或者指定范围查询页面列表
public static SearchPagesByRange ( string accessTokenOrAppId, int begin, int count, int timeOut = Config.TIME_OUT ) : SearchPagesResultJson
accessTokenOrAppId string
begin int
count int
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.SearchPagesResultJson

SearchPagesByRangeAsync() public static method

【异步方法】根据分页或者指定范围查询页面列表
public static SearchPagesByRangeAsync ( string accessTokenOrAppId, int lastSeen, int count, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
lastSeen int
count int
timeOut int
return Task

SetLotterySwitch() public static method

设置红包活动抽奖开关
public static SetLotterySwitch ( string accessTokenOrAppId, string lotteryId, int onOff, int timeOut = Config.TIME_OUT ) : WxJsonResult
accessTokenOrAppId string 调用接口凭证
lotteryId string 红包抽奖id,来自addlotteryinfo返回的lottery_id
onOff int 活动抽奖开关,0:关闭,1:开启
timeOut int
return Senparc.Weixin.Entities.WxJsonResult

SetLotterySwitchAsync() public static method

【异步方法】设置红包活动抽奖开关
public static SetLotterySwitchAsync ( string accessTokenOrAppId, string lotteryId, int onOff, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
lotteryId string 红包抽奖id,来自addlotteryinfo返回的lottery_id
onOff int 活动抽奖开关,0:关闭,1:开启
timeOut int
return Task

SetPrizeBucket() public static method

public static SetPrizeBucket ( string accessTokenOrAppId, string lotteryId, string mchid, string sponsorAppid, PrizeInfoList prizeInfoList, int timeOut = Config.TIME_OUT ) : SetPrizeBucketResultJson
accessTokenOrAppId string
lotteryId string
mchid string
sponsorAppid string
prizeInfoList Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.PrizeInfoList
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.SetPrizeBucketResultJson

SetPrizeBucketAsync() public static method

public static SetPrizeBucketAsync ( string accessTokenOrAppId, string lotteryId, string mchid, string sponsorAppid, PrizeInfoList prizeInfoList, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
lotteryId string
mchid string
sponsorAppid string
prizeInfoList Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.PrizeInfoList
timeOut int
return Task

StatisticsByDevice() public static method

以设备为维度的数据统计接口
public static StatisticsByDevice ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, long beginDate, long endDate, int timeOut = Config.TIME_OUT ) : StatisticsResultJson
accessTokenOrAppId string 调用接口凭证
deviceIdentifier Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceApply_Data_Device_Identifiers 指定页面的设备ID
beginDate long 起始日期时间戳,最长时间跨度为30天
endDate long 结束日期时间戳,最长时间跨度为30天
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.StatisticsResultJson

StatisticsByDeviceAsync() public static method

【异步方法】以设备为维度的数据统计接口
public static StatisticsByDeviceAsync ( string accessTokenOrAppId, DeviceApply_Data_Device_Identifiers deviceIdentifier, long beginDate, long endDate, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
deviceIdentifier Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.DeviceApply_Data_Device_Identifiers 指定页面的设备ID
beginDate long 起始日期时间戳,最长时间跨度为30天
endDate long 结束日期时间戳,最长时间跨度为30天
timeOut int
return Task

StatisticsByPage() public static method

以页面为维度的数据统计接口
public static StatisticsByPage ( string accessTokenOrAppId, long pageId, long beginDate, long endDate, int timeOut = Config.TIME_OUT ) : StatisticsResultJson
accessTokenOrAppId string 调用接口凭证
pageId long 指定页面的设备ID
beginDate long 起始日期时间戳,最长时间跨度为30天
endDate long 结束日期时间戳,最长时间跨度为30天
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.StatisticsResultJson

StatisticsByPageAsync() public static method

【异步方法】以页面为维度的数据统计接口
public static StatisticsByPageAsync ( string accessTokenOrAppId, long pageId, long beginDate, long endDate, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
pageId long 指定页面的设备ID
beginDate long 起始日期时间戳,最长时间跨度为30天
endDate long 结束日期时间戳,最长时间跨度为30天
timeOut int
return Task

UpdatePage() public static method

编辑页面信息
public static UpdatePage ( string accessTokenOrAppId, long pageId, string title, string description, string pageUrl, string iconUrl, string comment = null, int timeOut = Config.TIME_OUT ) : UpdatePageResultJson
accessTokenOrAppId string 调用接口凭证
pageId long 摇周边页面唯一ID
title string 在摇一摇页面展示的主标题,不超过6个字
description string 在摇一摇页面展示的副标题,不超过7个字
pageUrl string 点击页面跳转链接
iconUrl string 在摇一摇页面展示的图片。图片需先上传至微信侧服务器,用“素材管理-上传图片素材”接口上传图片,返回的图片URL再配置在此处
comment string 页面的备注信息,不超过15个字
timeOut int
return UpdatePageResultJson

UpdatePageAsync() public static method

【异步方法】编辑页面信息
public static UpdatePageAsync ( string accessTokenOrAppId, long pageId, string title, string description, string pageUrl, string iconUrl, string comment = null, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string 调用接口凭证
pageId long 摇周边页面唯一ID
title string 在摇一摇页面展示的主标题,不超过6个字
description string 在摇一摇页面展示的副标题,不超过7个字
pageUrl string 点击页面跳转链接
iconUrl string 在摇一摇页面展示的图片。图片需先上传至微信侧服务器,用“素材管理-上传图片素材”接口上传图片,返回的图片URL再配置在此处
comment string 页面的备注信息,不超过15个字
timeOut int
return Task

UploadImage() public static method

上传图片素材 上传在摇一摇页面展示的图片素材,素材保存在微信侧服务器上。 格式限定为:jpg,jpeg,png,gif,图片大小建议120px*120 px,限制不超过200 px *200 px,图片需为正方形。
public static UploadImage ( string accessTokenOrAppId, string file, int timeOut = Config.TIME_OUT ) : UploadImageResultJson
accessTokenOrAppId string
file string
timeOut int
return Senparc.Weixin.MP.AdvancedAPIs.ShakeAround.UploadImageResultJson

UploadImageAsync() public static method

【异步方法】上传图片素材 上传在摇一摇页面展示的图片素材,素材保存在微信侧服务器上。 格式限定为:jpg,jpeg,png,gif,图片大小建议120px*120 px,限制不超过200 px *200 px,图片需为正方形。
public static UploadImageAsync ( string accessTokenOrAppId, string file, int timeOut = Config.TIME_OUT ) : Task
accessTokenOrAppId string
file string
timeOut int
return Task