访问路径:api/audience/getInfoByPhoneAndOpenid

接口说明:根据手机号和openId获取客户信息,如果该用户没有该参数值,那么将不会返回该参数字段。

URL结构

https://open.rabbitpre.com/api/audience/getInfoByPhoneAndOpenid

接口协议:HTTPS

HTTP请求方式:POST / JSON(application/json)

请求参数

参数

必选

类型

说明

phone

false

String

手机号

openidfalseStringopenid

请求示例

换行和缩进只是为了更好的展示:

https://open.rabbitpre.com/api/audience/getInfoByPhoneAndOpenid

请求JSON 参数

返回参数

参数

类型

说明

orgId

string

兔展企业Id

createTime

long

创建时间,时间戳

audienceUserId

long

客户ID

openids

list

openid列表

"openids": [
{
"openid": "openid",
"appId":"公众平台appid"
}
]

openidstring最新微信openid

unionid

string

最新微信unionid,会更新覆盖

mpAppid

string

最新unionid对应的公众号appid,会更新覆盖

thirdId

string

第三方用户ID

phoneList

list

手机号码列表

"phoneList": [
{
"phone": "18819270183", 
"isVerify":"1" 0未验证 1 验证
}
]

realName

string

真实姓名

sex

integer

性别(1 男 2 女 0 未知)

avatar

string

头像

wxNickname

string

微信昵称

wxCountry

string

微信资料获取的国家名称

wxProvince

string

微信资料获取的省名称

wxCity

string

微信资料获取的市名称

province

string

最近通过IP获取的省名称

city

string

最近通过IP获取的市名称

lbsProvince

string

通过地理位置授权获取的省名称

lbsCity

string

通过地理位置授权获取的市名称

addressList

list

地址列表

birthday

long

生日 ,时间戳

remark

string

备注

lastActiveTime

long

最近活跃时间 ,时间戳

gzhInteractTime

long

公众号最后互动时间 ,时间戳

markFlag

integer

是否星标  1 是  0 否

subWechatList

list

客户关注的公众号列表

[{"appid":"123456","wechatName":"兔展"}]

active

long

总活跃度

weekActive

object

7天活跃度

{"count":数量,"updateTime":时间戳}

monthActive

object

30天活跃度

{"count":数量,"updateTime":时间戳}

spread

long

传播力

weekSpread

object

7天传播力

{"count":数量,"updateTime":时间戳}

monthSpread

object

30天传播力

{"count":数量,"updateTime":时间戳}

groupIdListlist客户分组id列表
tagIdListlist标签id列表

返回成功示例