Skip to main content

【主档类】获取会员详情

基本信息

接口名称:* 获取会员个人信息(含等级)状  态:已完成
接口路径:POST /paas/micro/member/getMemberInfoWithLevelById更新时间:2021-06-30 00:06:59
Mock地址:https://apimock.e-buychina.com/mock/49/paas/micro/member/getMemberInfoWithLevelById

请求参数

Headers:

参数名称参数值是否必填
Content-Typeapplication/json

Body:

参数名称类型必填默认值备注其他信息
uuidstring请求序列号最大长度:50
最小长度:1
Mock:@now('yyyyMMdd')-@string('lower',32)
appIdstring请求AppId最大长度:50
最小长度:1
Mock:@natural
actionstring交易类型最大长度:50
最小长度:1
Mock:getMemberInfoWithLevelById
timestampnumber请求时间戳Mock:@timestamp
signTypestringsha256签名类型最大长度:20
最小长度:1
Mock:sha256
signstring签名值最大长度:500
最小长度:1
Mock:@natural
langstringzh_CN语言最大长度:50
最小长度:1
Mock:zh_CN
contentobject请求报文
  memberIdstring租户会员ID最大长度:32
最小长度:1
Mock:@word

返回数据

参数名称类型必填默认值备注其他信息
uuidstring请求序列号最大长度:50
最小长度:1
Mock:@now('yyyyMMdd')-@string('lower',32)
successboolean交易成功与否Mock:@boolean
actionstring交易类型最大长度:50
最小长度:1
Mock:getMemberInfoWithLevelById
timestampnumber返回时间戳Mock:@timestamp
errorCodestring错误码最大长度:50
Mock:@word
errorMessagestring错误描述最大长度:50
Mock:@csentence
signTypestring签名类型最大长度:20
Mock:sha256
signstring签名值最大长度:500
Mock:@natural
contentobject返回报文
  memberIdstring租户会员ID最大长度:32
最小长度:1
Mock:@string
  ebuyMemberIdstring易百会员ID最大长度:32
最小长度:1
Mock:@string
  memberNamestring会员名最大长度:32
最小长度:1
Mock:@string
  nicknamestring昵称最大长度:32
最小长度:1
Mock:@string
  profilePhotoUrlstring头像路径最大长度:50
最小长度:1
Mock:@string
  memberSourcestring会员来源最大长度:99
最小长度:1
Mock:@string
  genderstringUnknown性别最大长度:99
最小长度:1
Mock:@string
  countrystring国家最大长度:99
最小长度:1
Mock:@string
  provincestring省份最大长度:99
最小长度:1
Mock:@string
  citystring城市最大长度:99
最小长度:1
Mock:@string
  districtstring地区最大长度:32
最小长度:1
Mock:@string
  phoneNumberstring手机号最大长度:50
最小长度:1
Mock:@string
  channelstring授权渠道最大长度:99
最小长度:1
Mock:@string
  birthdaystring生日最大长度:100
最小长度:1
Mock:@date
  emailstring邮箱最大长度:100
最小长度:1
Mock:@string
  growthValueinteger成长值Mock:@integer
  pointinteger积分Mock:@integer
  balanceAmountnumber余额Mock:@float
  memberCardLevelNamestring会员等级名称最大长度:100
最小长度:1
Mock:@string
  levelIconstring会员等级图标最大长度:100
最小长度:1
Mock:@string
  levelSurfaceUrlstring会员等级背景图最大长度:100
最小长度:1
Mock:@string
  tenancyIdinteger租户IDMock:@integer

备注

注意:为保证签名的一致性,返回报文中的content字段将以string形式的进行返回,例如:

{
	"content": {
		"userId": 1,
		"userName": "Trump"
	}
}

将返回为:

{
	"content": "{\"userId\":1,\"userName\":\"Trump\"}"
}

请求示例:

{
  "uuid": "20210629-fbxewkqointyynjcoavpsqugxmyftfsx",
  "appId": "ebuydev100100100",
  "action": "getMemberInfoWithLevelById",
  "timestamp": 1624948332,
  "signType": "sha256",
  "sign": "2837853178864596",
  "lang": "zh_CN",
  "content": {
    "memberId": "e352b0e072de7cd4672a2a93f961ce77"
  }
}

返回示例:

{
  "uuid": "20210629-fbxewkqointyynjcoavpsqugxmyftfsx",
  "action": "getMemberInfoWithLevelById",
  "content": "{\"country\":\"\",\"gender\":\"Unknown\",\"city\":\"\",\"ebuyMemberId\":\"08d1ee3efa6a644fd8824fd340b2d5e6\",\"growthValue\":0,\"profilePhotoUrl\":\"\",\"tenancyId\":16,\"phoneNumber\":\"18918988888\",\"province\":\"\",\"memberCardLevelName\":\"青铜会员\",\"nickname\":\"匿名用户\",\"memberSource\":\"ebuydev100100100\",\"email\":\"\",\"memberId\":\"e352b0e072de7cd4672a2a93f961ce77\"}",
  "success": true,
  "errorCode": "",
  "errorMessage": "",
  "timestamp": 1624954003241,
  "sign": "694ad3f9430d3074c5247be404e3f9783b160d6efa1c1d18d5a25b3b4666ad56",
  "signType": "sha256"
}

变更历史

变更日期变更内容
2021-06-29
2021-06-29
2021-06-29
2021-06-29
2021-05-14
2021-04-06
2021-04-06
2021-03-30
2020-11-24
2020-11-24
api-id=22947