会员查询 Get Member Info(有效会员)
公共参数名称 | 公共参数值 |
---|---|
method | fzapi.crm.EnqMemberInfo |
content | 请求参数集合,详见下面请求参数说明 |
请求参数说明
参数 | 类型 | 是否必填 | 最大长度 | 描述 | 示例值 |
---|---|---|---|---|---|
member_code | String | 否 | 20 | 会员号 | |
telephone | String | 否 | 20 | 手机号 | |
id_no | String | 否 | 20 | 证件号 | |
pageIndex | String | 否 | 4 | 从第几页开始 | |
pageSize | String | 否 | 4 | 每页几条数据 |
响应数据说明
参数 | 类型 | 是否必填 | 最大长度 | 描述 | 示例值 |
---|---|---|---|---|---|
success | bool | 返回成功 | true | ||
code | String | 返回代码 | 1000 | ||
msg | String | 返回描述 | Success | ||
data | String | 返回信息 | 会员号member_code,会员账号account_no,会员名称member_surname,商场编号mall_id,等级grade,卡类型gradestr,手机号telephone,邮箱email,现有积分current_bonus,证件类型certificate_type,证件号码id_no,生日dob,性别sex,省province,市city,区zone,地址address,密码password,微信IDweixin_id,会员购物偏好purchase,喜欢的会员活动like_activities,在意购物中心的设施facility,积分兑换偏好bonus_change,加入日期join_date,失效日期expiry_date,其他商场积分bonus_list,状态active,职业occupation, issueby ,interest,hadchild,educationcode,incomecode,constellation,zodiac,industrycode,brandinterest,喜欢的会员活动likeactivities,automobile,邮政编码postal,备注remark,商场名称buildingname,车牌号licenseplate,viplogo |
请求数据示例:
string str = "{"member_code":"GZ01010018826"}";
strurl = string.Format(strurl, HttpUtility.UrlEncode(str));
HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(strurl);
Encoding encoding = Encoding.UTF8;
httpWebRequest.ContentType = "application/json";
httpWebRequest.Method = "GET";
HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse();
StreamReader streamReader = new StreamReader(httpWebResponse.GetResponseStream());
string responseContent = streamReader.ReadToEnd();
httpWebResponse.Close();
streamReader.Close();
响应数据示例:
{
"success":true,
"code":"1000",
"msg":"Success",
"data":{
"member_code":"FZ0000000096",
"account_no":"FZ0000000096",
"member_surname":"",
"mall_id":"GZ01",
"grade":"01",
"gradestr":"普卡PO GREEN",
"telephone":"",
"email":"",
"current_bonus":"9700",
"certificate_type":"",
"id_no":"",
"dob":"0001-01-01",
"sex":"",
"province":"",
"city":"",
"zone":"",
"address":"",
"password":"372890",
"weixin_id":null,
"purchase":null,
"like_activities":null,
"facility":null,
"bonus_change":null,
"join_date":"2020-05-07 13:32:33",
"expiry_date":"2120-05-07 00:00:00",
"bonus_list":null,
"active":"1",
"occupation":null,
"issueby":"wx",
"interest":null,
"hadchild":null,
"educationcode":null,
"incomecode":null,
"constellation":null,
"zodiac":null,
"industrycode":null,
"brandinterest":null,
"likeactivities":null,
"automobile":null,
"postal":"",
"remark":null,
"buildingname":"东方宝泰购物广场",
"licenseplate":null,
"viplogo":"/Datas/wxviptargeth/01.png",
"current_amount":"0",
"other_info":[
{
"key":"OP0200001",
"value":[
"OP0000102",
"OP0000101"
]
}
],
"license_plate":[
{
"car_no":"粤123312"
}
]
}
}