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

taobao.rhino.integration.process.query (查询订单下的工序信息)

查询订单下的工序信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
order_process_query_req OrderProcessQueryReq 可选 查询订单工序信息
  • └ order_no
  • String
  • 必须
  • 22HT23
  • 订单编号
  • └ style_no
  • String
  • 必须
  • 238952
  • 款式编码
  • └ product_name
  • String
  • 必须
  • 上衣
  • 产品名称
  • └ seq_id
  • String
  • 可选
  • xxx-xxxx
  • 请求序列号

响应参数

名称 类型 示例值 描述
result HSFResult 响应结果
  • └ code
  • Number
  • 200
  • 相应码
  • └ success
  • Boolean
  • true
  • 是否响应成功
  • └ error_code
  • Number
  • null
  • 错误码
  • model
  • OrderProcessResp
  • 工序详情
  • └ order_no
  • String
  • 22HT23
  • 订单编号
  • └ style_no
  • String
  • 238952
  • 款式编码
  • └ product_name
  • String
  • 上衣
  • 产品名称
  • process_list
  • ProcessInfo []
  • 工序信息
  • └ process_name
  • String
  • 手工点划后领窝捆条两端位
  • 工序名称
  • └ section_code
  • String
  • F
  • 工段编码
  • └ outer_section_code
  • String
  • 15
  • 外部工段编码
  • └ message
  • String
  • 成功
  • 响应信息
  • └ external_msg_info
  • String
  • null
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
RhinoIntegrationProcessQueryRequest req = new RhinoIntegrationProcessQueryRequest();
RhinoIntegrationProcessQueryRequest.OrderProcessQueryReq obj1 = new RhinoIntegrationProcessQueryRequest.OrderProcessQueryReq();
obj1.setOrderNo("22HT23");
obj1.setStyleNo("238952");
obj1.setProductName("上衣");
obj1.setSeqId("xxx-xxxx");
req.setOrderProcessQueryReq(obj1);
RhinoIntegrationProcessQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<rhino_integration_process_query_response>
    <result>
        <code>200</code>
        <success>true</success>
        <error_code>null</error_code>
        <model>
            <order_no>22HT23</order_no>
            <style_no>238952</style_no>
            <product_name>上衣</product_name>
            <process_list>
                <process_info>
                    <process_name>手工点划后领窝捆条两端位</process_name>
                    <section_code>F</section_code>
                    <outer_section_code>15</outer_section_code>
                </process_info>
            </process_list>
        </model>
        <message>成功</message>
        <external_msg_info>null</external_msg_info>
    </result>
</rhino_integration_process_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

返回
顶部