帮助中心

1203 - Member information inquiry

2020-12-03

Scenario

External system needs to get a member’s information from EZR.


Direction

External system will call EZR

Call path: api/cvip/vipget


Core Logic

Only one member at a time


Request Parameters


Field

Type

Required

Length

Description

OldCode

string

at least
  1 of 5
  is filled

1~16

Member's unique code (external system)

Code

string

1~16

Member's unique code (in EZR)

MobileNo

string

0~11

Member's Mobile number

WxOpenID

string

0~32

Member's WeChat OpenID

WxUnionId

string

0~32

Member's WeChat UnionID


Returned Parameters
 

 

Field

Type

Length

Description

OldCode

string

1~16

Member's   unique code (external system)

Code

string

1~16

Member's   unique code (in EZR)

Grade

string

1~12

Member's   grade(level) name

NickName

string

0~12

Member's   nickname

MobileNo

string

0~11

Member's   Mobile number

Name

string

0~12

Member's name

Sex

string

1

Gender
  0=unknown
  1=male
  2=female

PassWord

string

0~64

Member's   password (website/app)

Birthday

string

0~10

yyyy-MM-dd

WxNo

string

0~32

Member's   WeChat OpenID

WxUnionId

string

0~32

Member's   WeChat UnionID

WeibNo

string

0~32

Member's   Weibo ID

QqNo

string

0~20

Member's QQ   number

TbNo

string

0~32

Member's   taobao ID

Email

string

0~32

Member's   email

RegShop

string

1~16

Member's   registration shop

RegDate

string

10

Member's   registration date:
  yyyy-MM-dd

Province

string

0~64


City

string

0~64


County

string

0~64


ServShop

string

0~16

Member's   service store No.

ServUser

string

0~16

Member's   service assistant No.

Bonus

int


Available   points

BonusTotal

int


Total points


Example Request (JSON)

{

    "OldCode": "EZ00001230",

    "Code": "",

    "MobileNo": ""

}


Example Returned Result by EZR (JSON)

{

    "OldCode": "EZ00001230",

    "Code": "00001230",

    "Grade": "金卡会员",

    "NickName": "小桂子",

    "MobileNo": "18988888888",

    "Name": "刘桂",

    "Sex": "1",

    "PassWord": "",

    "Birthday": "1982-10-17",

    "WxNo": "",

    "WxUnionId": "",

    "WeibNo": "",

    "QqNo": "",

    "TbNo": "",

    "Email": "12345678@qq.com",

    "RegShop": "HQS0001",

    "RegDate": "2015-05-17",

    "Province": "",

    "City": "",

    "County": "",

    "Bonus": 100,

    "BonusTotal": 1000

}


2933