接口说明

  • 调用的虎符API名称:jingdong.hufu.jdUserPointChange
  • 虎符调出API名称:jdUserPointChange
  • 接口描述:积分增量写入-京东CRM

入参规范

<?xml version="1.0" encoding="utf-8"?>
<request>
    <customerId name="商家应用唯一标识" type="String" required="true"></customerId>
    <phoneNo name="手机号" type="String" required="true"></phoneNo>
    <customerPin name="京东用户pin" type="String" required="true"></customerPin>
    <pointInc name="积分表更数量" type="Integer" required="true"></pointInc>
    <type name="积分变更类型(1.扣减 , 2.增加)" type="Integer" required="true"></type>
   <recordId name="记录ID保证业务唯一性" type="String" required="true"></recordId>
   <content name="业务描述(增减积分场景)" type="String" required="true"></content>
   <ext  name="拓展信息" type="String" required="false"></ext>
</request>

出参规范

 <?xml version="1.0" encoding="utf-8"?>
 <response>
          <flag name="success|failure" type="string (50)" />
          <code name="响应码" type="string (50)">响应码
               <![CDATA[
                   2000:系统参数正确
                   2001:请求参数缺失
                   2002:签名不匹配
                   2010:系统校验异常

               ]]>
          </code>
          <message name="响应信息" type="string (50)" />
          <resultSuccess name="积分是否变更成功,true-成功;false-失败" type="Boolean" required="true"></resultSuccess>
          <errorCode  name="错误码:" type="String" required="false">
               <![CDATA[
                   处理失败错误代码:
                   E01:参数错误
                   E02:会员不存在
                   E03:积分不足
                   E04:该业务已经执行
                   E05:其他原因
                  其他原因可传 F01,F02 等, 系统统一识别为查询失败
               ]]>
         </errorCode >
         <errMsg name="失败原因" type="String" required="false"></errMsg>
 </response>

results matching ""

    No results matching ""