suning.cts.traceinfo.receive 导入溯源信息
¥免费

导入溯源信息

公共参数
请求参数
名称 类型 是否必须 示例值 描述
traceIdStringY1111111111溯源码
traceTypeStringYCRF-MAOTAI业务类型
brInfoStringY{traceNode: 1,cmmdtyCode: 123,warehouseStoreName: 南京仓,receiveTime: 2020-01-01 12:00:00,batch: 2020-129,productTime: 2019-12-12,outerBoxCode: 12345678,deliverTime: 2020-01-16 12:34:21,destinationStore: 1,uploadTime: 2020-01-16 12:34:21}业务信息
响应参数
名称 类型 示例值 描述
returnFlagStringY成功失败标识
returnCodeString返回编码500
returnDescString字段缺失返回描述
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                <sn_request>
  <sn_body>
    <receiveTraceinfo>
      <traceId>1111111111</traceId>
      <traceType>CRF-MAOTAI</traceType>
      <brInfo>{traceNode: 1,cmmdtyCode: 123,warehouseStoreName: 南京仓,receiveTime: 2020-01-01 12:00:00,batch: 2020-129,productTime: 2019-12-12,outerBoxCode: 12345678,deliverTime: 2020-01-16 12:34:21,destinationStore: 1,uploadTime: 2020-01-16 12:34:21}</brInfo>
    </receiveTraceinfo>
  </sn_body>
</sn_request>

                                
                                {
  "sn_request": {
    "sn_body": {
      "receiveTraceinfo": {
        "traceId": "1111111111",
        "traceType": "CRF-MAOTAI",
        "brInfo": "{traceNode: 1,cmmdtyCode: 123,warehouseStoreName: 南京仓,receiveTime: 2020-01-01 12:00:00,batch: 2020-129,productTime: 2019-12-12,outerBoxCode: 12345678,deliverTime: 2020-01-16 12:34:21,destinationStore: 1,uploadTime: 2020-01-16 12:34:21}"
      }
    }
  }
}
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              <sn_responseContent>
  <sn_body>
    <receiveTraceinfo>
      <returnCode>返回编码</returnCode>
      <returnFlag>Y</returnFlag>
      <returnDesc>字段缺失</returnDesc>
    </receiveTraceinfo>
  </sn_body>
</sn_responseContent>

                              
                              {
  "sn_responseContent": {
    "sn_body": {
      "receiveTraceinfo": {
        "returnCode": "返回编码",
        "returnFlag": "Y",
        "returnDesc": "字段缺失"
      }
    }
  }
}
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.cts.receivetraceinfo.format-error:* 参数格式错误 请检查此参数的值,*号表示参数字段名
biz.cts.receivetraceinfo.length-overlong:* 参数的值超过规定长度 请检查此参数的值,*号表示参数字段名
biz.cts.receivetraceinfo.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
isp.sys.service.unavailable.cts 服务不可用 请联系苏宁技术人员
公共异常码
API工具
FAQ