接口说明

  • 调用的虎符API名称:jingdong.hufu.queryUserPointsDetail
  • 虎符调出API名称:queryUserPointsDetail
  • 接口描述:线下积分明细查询
  • 由线下(商家ERP)提供,线上需要获取线下单个会员积分时调用

入参规范

<?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>
    <pageSize name="每页积分明细条数"  type="Integer" required="true"></pageSize >
    <page name="查询分页下标(第几页)"  type="Integer" required="true"></page>
</request>

出参规范

 <?xml version="1.0" encoding="utf-8"?>
 <response>
          <flag>success|failure</flag> 
          <code>响应码
               <![CDATA[
                   2000:系统参数正确
                   2001:请求参数缺失
                   2002:签名不匹配
                   2010:系统校验异常
               ]]>
          </code> 
          <message>响应信息</message>
         <queryCode name="查询结果代码:" type="String" required="true">
               <![CDATA[
                  SUC:处理成功
                  E01:参数错误
                  E02:会员不存在
                  E05:系统繁忙或异常, 可重试。
                  其他原因可传 F01,F02 等, 系统统一识别为查询失败
               ]]>

         </queryCode>
  <detailList>
      <pointDetail 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>
             <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>
     </pointDetail>
     <pointDetail 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>
             <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>
     </pointDetail>
   </detailList>
 </response>

results matching ""

    No results matching ""