根据会员OpenId获取会员列表
请求地址(POST)
https://openapi.1card1.cn/BusinessApi/Get_VipPageByOpenId?agentAccount=[AgentAccount]&signature=[Signature]×tamp=[TimeStamp]
字段 | 说明 |
---|---|
OpenId | 登陆开放平台生成的OpenId |
Signature | 签名=md5(AgentAccount+md5(Password).ToUpper()+Timestamp+data),格式:32位md5加密 |
TimeStamp | 发起请求的时间戳,查看标准timestamp |
请求说明
data={"openId":"xxxxx","businessName":"", "pageIndex":0,"pageSize":10,"orderBy":" "}
字段 | 是否必须 | 说明 |
---|---|---|
openId | 是 | 会员OpenId |
businessName | 否 | 商家名称(模糊搜索) |
pageIndex | 是 | 页码 |
pageSize | 是 | 页大小 |
orderBy | 否 | 排序规则 |
返回说明
成功时返回:
{ "status":0, "total":2, "data":[ {"BusinessGuid","","BusinessName","","Logo":"","BusinessOpenId":"","Secret":"","MemberGuid":"","CardId":"","GroupName":""}, {"BusinessGuid","","BusinessName","","Logo":"","BusinessOpenId":"","Secret":"","MemberGuid":"","CardId":"","GroupName":""} ] }
字段 | 是否必须 | 说明 |
---|---|---|
BusinessGuid | 是 | 商家唯一标识 |
BusinessName | 是 | 商家名称 |
Logo | 是 | 商家LOGO |
BusinessOpenId | 是 | 商家OpenId(供调用开放平台使用) |
Secret | 是 | 商家Secret(供调用开放平台使用) |
MemberGuid | 是 | 会员唯一标识 |
CardId | 是 | 会员卡号 |
GroupName | 是 | 会员级别名称 |
失败时返回:
{"status":-1,"message":"查询失败及原因"}
字段 | 是否必须 | 说明 |
---|---|---|
status | 是 | 状态(0,成功;-1,失败) |
message | 是 | 查询失败及原因 |