会员信息查询EnquireMemberInfoALl
公共参数名称 | 公共参数值 |
---|---|
method | fzapi.crm.EnquireMemberInfoALl |
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":"80004020001628",
"account_no":"80004020001628",
"member_surname":"秦晓红",
"mall_id":"80004",
"grade":"C1",
"gradestr":"普卡",
"telephone":"13883245022",
"email":null,
"current_bonus":null,
"certificate_type":"1",
"id_no":"510232196705020060",
"dob":"1967-05-02",
"sex":"F",
"province":null,
"city":null,
"zone":null,
"address":"重庆市江北区",
"password":null,
"weixin_id":null,
"purchase":null,
"like_activities":null,
"facility":null,
"bonus_change":null,
"join_date":"2015-04-12 00:00:00",
"expiry_date":"2019-05-22 00:00:00",
"bonus_list":null,
"active":"0",
"occupation":null,
"issueby":"DBA",
"interest":null,
"hadchild":null,
"educationcode":null,
"incomecode":null,
"constellation":null,
"zodiac":null,
"industrycode":null,
"brandinterest":null,
"likeactivities":null,
"automobile":null,
"postal":null,
"remark":null,
"buildingname":"解放碑大融城",
"licenseplate":null,
"viplogo":null
}
}