开放平台

根据会员OpenId获取会员列表

请求地址(POST)

https://openapi.1card1.cn/BusinessApi/Get_VipPageByOpenId?agentAccount=[AgentAccount]&signature=[Signature]&timestamp=[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 查询失败及原因

根据会员OpenId获取会员列表 调试