suning.defctive.imperfectconfig.query 不良品鉴定规则查询
¥免费

需要先在“不良品鉴定行程列表查询”接口中,查询时间内的有效行程。再在“不良品鉴定行程详情信息查询”接口中,查询行程内的不良品信息,以及不良品对应的事业部编码,然后再在该接口中根据事业部编码,查询对应的鉴定规则。

公共参数
请求参数
名称 类型 是否必须 示例值 描述
buCodeStringN00006事业部编码(已不用)
serialNumStringYBN000001不良品序列号
响应参数
名称 类型 示例值 描述
updateTimeString2019-11-25 16:08:21数据更新时间
abnormalReportString
abnormalReportCodeString01异常情况选项编码
abnormalReportDescString实物不在库异常情况选项描述
basicProjecListString
basicProjecNoString1基础信息项目编码
basicProjectNameString运存基础信息项目名称
basicProjectTypeString02基础信息项目类型(01输入;02单选;03多选)
basicProjecOptionListString
basicProjecOptionCodeString01基础信息选项编码
basicProjecOptionNameString1G基础信息选项名称
imperfectProjectListString
imperfectProjectNoString1瑕疵项目编码
imperfectProjectNameString屏幕检测结果瑕疵项目名称
imperfectProjectTypeString02瑕疵项目类型(02单选;03多选)
imperfectProjecOptionListString
imperfectProjecOptionCodeString01瑕疵项目选项编码
imperfectProjecOptionNameString正常瑕疵项目选项名称
imperfectIdentifyDimensionString3(3单品维度;2事业部+品类+品牌维度;1事业部维度)鉴定维度
请求示例
  • XML示例
  • JSON示例
复制全部代码
                                
<sn_request>
  <sn_body>
    <queryImperfectconfig>
      <serialNum>BN000001</serialNum>
      <buCode>00006</buCode>
    </queryImperfectconfig>
  </sn_body>
</sn_request>

			
                                
                                
{
  "sn_request": {
    "sn_body": {
      "queryImperfectconfig": {
        "serialNum": "BN000001",
        "buCode": "00006"
      }
    }
  }
}
			
                                
响应示例
  • XML示例
  • JSON示例
复制全部代码
                              
<sn_responseContent>
  <sn_body>
    <queryImperfectconfig>
      <abnormalReport>
        <abnormalReportDesc>实物不在库</abnormalReportDesc>
        <abnormalReportCode>01</abnormalReportCode>
      </abnormalReport>
      <basicProjecList>
        <basicProjecNo>1</basicProjecNo>
        <basicProjectType>02</basicProjectType>
        <basicProjecOptionList>
          <basicProjecOptionName>1G</basicProjecOptionName>
          <basicProjecOptionCode>01</basicProjecOptionCode>
        </basicProjecOptionList>
        <basicProjectName>运存</basicProjectName>
      </basicProjecList>
      <imperfectIdentifyDimension>3(3单品维度;2事业部+品类+品牌维度;1事业部维度)</imperfectIdentifyDimension>
      <updateTime>2019-11-25 16:08:21</updateTime>
      <imperfectProjectList>
        <imperfectProjectName>屏幕检测结果</imperfectProjectName>
        <imperfectProjecOptionList>
          <imperfectProjecOptionName>正常</imperfectProjecOptionName>
          <imperfectProjecOptionCode>01</imperfectProjecOptionCode>
        </imperfectProjecOptionList>
        <imperfectProjectType>02</imperfectProjectType>
        <imperfectProjectNo>1</imperfectProjectNo>
      </imperfectProjectList>
    </queryImperfectconfig>
  </sn_body>
</sn_responseContent>

			
                              
                              
{
  "sn_responseContent": {
    "sn_body": {
      "queryImperfectconfig": {
        "abnormalReport": [
          {
            "abnormalReportDesc": "实物不在库",
            "abnormalReportCode": "01"
          }
        ],
        "basicProjecList": [
          {
            "basicProjecNo": "1",
            "basicProjectType": "02",
            "basicProjecOptionList": [
              {
                "basicProjecOptionName": "1G",
                "basicProjecOptionCode": "01"
              }
            ],
            "basicProjectName": "运存"
          }
        ],
        "imperfectIdentifyDimension": "3(3单品维度;2事业部+品类+品牌维度;1事业部维度)",
        "updateTime": "2019-11-25 16:08:21",
        "imperfectProjectList": [
          {
            "imperfectProjectName": "屏幕检测结果",
            "imperfectProjecOptionList": [
              {
                "imperfectProjecOptionName": "正常",
                "imperfectProjecOptionCode": "01"
              }
            ],
            "imperfectProjectType": "02",
            "imperfectProjectNo": "1"
          }
        ]
      }
    }
  }
}
			
                              
异常示例
  • XML示例
  • JSON示例
复制全部代码

  
  	API异常码
  	异常码中文描述
  

                           	  
{
  "sn_responseContent": {
    "sn_error": {
      "error_code": "API异常码",
      "error_msg": "异常码中文描述"
    }
  }
}
                           		
业务异常码
异常码 错误描述 解决方案
biz.defctive.queryimperfectconfig.length-overlong:* 参数的值超过规定长度 请检查此参数的值,*号表示参数字段名
biz.defctive.queryimperfectconfig.missing-parameter:* 参数必填 请检查此参数的值,*号表示参数字段名
biz.handler.data-get:no-result 查询没结果 请检查查询参数
isp.sys.service.unavailable.blp 服务不可用 请联系苏宁技术人员
biz.defctive.queryimperfectconfig.invalid-biz:100 事业部未配置鉴定规则 请联系苏宁技术人员
公共异常码
API工具
FAQ