接口说明
- 云CRM调用的虎符API名称:jingdong.hufu.jdRegister
- 虎符调用CRM的API名称:jdRegister
- 当绑定查询返回可注册时,会调用此接口
- 该接口为京东调用品牌商
入参规范
<?xml version="1.0" encoding="utf-8"?>
<request>
<customer name="会员信息,见下表" type="复杂类型" required="true">
<customerId name="商家应用唯一标志" type="String" required="true"></customerId >
<phoneNo name="手机号" type="String" required="true"></phoneNo>
<customerPin name="京东用户pin" type="String" required="true"></customerPin>
<gender name="性别" type="Integer" required="false">
<![CDATA 1:男 2:女 ]]>
</gender>
<birthday name="出生日期" type="String" required="false"></birthday>
<province name="省份" type="String" required="false"></province>
<city name="城市" type="String" required="false"></city>
<street name="街道" type="String" required="false"></street>
<extend name="json 对象,会员的拓展信息,见下表" required="false">
<v_email name="邮箱" type="String" required="false"></ v_email>
<v_sex name="性别" type="String" required="false"></ v_sex>
<v_phone name="电话" type="String" required="false"></ v_phone>
<v_birthday name="生日" type="String" required="false"></ v_birthday>
<v_email name="邮箱" type="String" required="false"></ v_email>
<v_ identity name="身份证" type="String" required="false"></ v_ identity >
</extend>
</customer>
</request>
出参规范
<?xml version="1.0" encoding="utf-8"?>
<response>
<flag>success|failure</flag>
<code>响应码
<![CDATA[
2000:系统参数正确
2001:请求参数缺失
2002:签名不匹配
2010:系统校验异常
]]>
</code>
<message>响应信息</message>
<registerCode name="查询结果代码:" type="String" required="true">
<![CDATA[
SUC:处理成功
E01:参数错误
E02:注册失败,非品牌会员,不可注册
E03:注册失败,已被其他用户注册
E04:注册失败,该帐号已经注册
E05:系统繁忙或异常,可重试
其他原因可传 F01,F02 等, 系统统一识别为不可绑定
]]>
</registerCode>
<customer name="会员信息,见下表" type="复杂类型" required="true">
<customerId name="商家应用唯一标志" type="String" required="true"></customerId >
<phoneNo name="手机号" type="String" required="true"></phoneNo>
<customerPin name="京东用户pin" type="String" required="true"></customerPin>
<cardId name="线下会员卡号" type="String" required="true"></cardId >
<level name="等级" type="Integer" required="true">
<![CDATA 1 一级,2 二级,3 三级,4 四级,5 五级 ]]>
</level>
</customer>
</response>