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

taobao.rhino.integration.order.status.query (销售合同状态查询)

销售合同状态查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
batch_get_plan_status_req BatchGetPlanStatusReq 可选 请求体
  • └ plan_order_id_list
  • String []
  • 必须
  • ["87811"]
  • 生产计划号数组

响应参数

名称 类型 示例值 描述
result HSFResult 处理结果
  • └ code
  • Number
  • 200
  • 响应码
  • └ success
  • Boolean
  • true
  • 是否调用成功
  • model
  • OrderStatusQueryResp []
  • 返回对象
  • └ plan_order_id
  • String
  • 8788812
  • 生产计划id
  • └ status
  • String
  • INIT
  • 状态 - INIT - 初始化 / SCHEDULED - 已调度,已调度则不允许修改, FINISHED - 已完成, CANCELLED - 已取消
  • └ message
  • String
  • 成功
  • 调用信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
RhinoIntegrationOrderStatusQueryRequest req = new RhinoIntegrationOrderStatusQueryRequest();
RhinoIntegrationOrderStatusQueryRequest.BatchGetPlanStatusReq obj1 = new RhinoIntegrationOrderStatusQueryRequest.BatchGetPlanStatusReq();
obj1.setPlanOrderIdList(""87811"");
req.setBatchGetPlanStatusReq(obj1);
RhinoIntegrationOrderStatusQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<rhino_integration_order_status_query_response>
    <result>
        <code>200</code>
        <success>true</success>
        <model>
            <order_status_query_resp>
                <plan_order_id>8788812</plan_order_id>
                <status>INIT</status>
            </order_status_query_resp>
        </model>
        <message>成功</message>
    </result>
</rhino_integration_order_status_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

返回
顶部