文档中心 > API类目 > 新制造API

taobao.rhino.qc.fabric.detail.query (查询疵点信息)

查询疵点信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_get_qc_detail_top_req GetQcDetailTopReq 必须 请求体
  • └ material_id
  • String
  • 可选
  • GA1235
  • 供应商卷编码

响应参数

名称 类型 示例值 描述
result HSFResult 结果
  • └ code
  • String
  • 200
  • 响应码
  • └ message
  • String
  • 成功
  • 处理信息
  • model
  • FabricQcRecordDTO
  • 具体内容
  • └ fabric_breadth
  • String
  • 200
  • 面料幅宽,单位cm
  • └ fabric_length
  • String
  • 200
  • 面料长度,单位m
  • └ gram_weight
  • String
  • 123
  • 面料克重
  • └ material_batch
  • String
  • GA
  • 缸号
  • └ material_id
  • String
  • GA1235
  • 物料编码
  • problem_list
  • FabricProblemInfoDTO []
  • 疵点列表
  • └ problem_code
  • String
  • DJ
  • 疵点code
  • └ problem_name
  • String
  • 断经
  • 疵点名称
  • └ problem_count
  • Number
  • 3
  • 疵点数量
  • └ weight
  • String
  • 100
  • 重量
  • └ success
  • String
  • true
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
RhinoQcFabricDetailQueryRequest req = new RhinoQcFabricDetailQueryRequest();
RhinoQcFabricDetailQueryRequest.GetQcDetailTopReq obj1 = new RhinoQcFabricDetailQueryRequest.GetQcDetailTopReq();
obj1.setMaterialId("GA1235");
req.setParamGetQcDetailTopReq(obj1);
RhinoQcFabricDetailQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<rhino_qc_fabric_detail_query_response>
    <result>
        <code>200</code>
        <message>成功</message>
        <model>
            <fabric_breadth>200</fabric_breadth>
            <fabric_length>200</fabric_length>
            <gram_weight>123</gram_weight>
            <material_batch>GA</material_batch>
            <material_id>GA1235</material_id>
            <problem_list>
                <fabric_problem_info_d_t_o>
                    <problem_code>DJ</problem_code>
                    <problem_name>断经</problem_name>
                    <problem_count>3</problem_count>
                </fabric_problem_info_d_t_o>
            </problem_list>
            <weight>100</weight>
        </model>
        <success>true</success>
    </result>
</rhino_qc_fabric_detail_query_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部