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

taobao.rhino.integration.person.output.query (员工个人产量查询)

员工个人产量查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
order_personal_stat_query_req OrderPersonalStatQueryReq 必须 请求对象
  • └ end_date
  • String
  • 必须
  • 2022-11-09
  • 结束日期
  • └ page_size
  • Number
  • 必须
  • 100
  • 分页大小
  • └ section_code
  • String
  • 可选
  • F
  • 工段编号:C-裁床,YH-印花,YH-绣花,F-缝制,W-后整
  • └ current_page
  • Number
  • 必须
  • 1
  • 当前页数
  • └ plan_order_id
  • String
  • 可选
  • 8009123
  • 生产计划号
  • └ start_date
  • String
  • 必须
  • 2022-11-08
  • 开始日期

响应参数

名称 类型 示例值 描述
result PageResult 结果
  • └ code
  • Number
  • 200
  • 响应码
  • └ message
  • String
  • 成功
  • 处理结果
  • content
  • Page
  • 具体内容
  • └ page_size
  • Number
  • 200
  • 当前分页大小
  • └ total_count
  • Number
  • 1000
  • 总数
  • └ current_page
  • Number
  • 1
  • 当前页数
  • items
  • PersonalStatResp []
  • 结果列表
  • └ plan_order_id
  • String
  • 8000123
  • 计划号
  • └ section_code
  • String
  • F
  • 工段编号
  • └ date
  • String
  • 2022-11-09
  • 日期,yyyy-MM-dd
  • └ work_no
  • String
  • 200123
  • 员工工号
  • └ process_name
  • String
  • 打领子
  • 工序名称
  • └ finish_quantity
  • Number
  • 100
  • 完成数量
  • └ outer_section_code
  • String
  • 15
  • 外部工段编号
  • └ order_number
  • String
  • BP-123456789
  • 订单编号
  • └ order_type
  • String
  • OUTER
  • 订单类型

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
RhinoIntegrationPersonOutputQueryRequest req = new RhinoIntegrationPersonOutputQueryRequest();
RhinoIntegrationPersonOutputQueryRequest.OrderPersonalStatQueryReq obj1 = new RhinoIntegrationPersonOutputQueryRequest.OrderPersonalStatQueryReq();
obj1.setEndDate("2022-11-09");
obj1.setPageSize(100L);
obj1.setSectionCode("F");
obj1.setCurrentPage(1L);
obj1.setPlanOrderId("8009123");
obj1.setStartDate("2022-11-08");
req.setOrderPersonalStatQueryReq(obj1);
RhinoIntegrationPersonOutputQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<rhino_integration_person_output_query_response>
    <result>
        <code>200</code>
        <message>成功</message>
        <content>
            <page_size>200</page_size>
            <total_count>1000</total_count>
            <current_page>1</current_page>
            <items>
                <personal_stat_resp>
                    <plan_order_id>8000123</plan_order_id>
                    <section_code>F</section_code>
                    <date>2022-11-09</date>
                    <work_no>200123</work_no>
                    <process_name>打领子</process_name>
                    <finish_quantity>100</finish_quantity>
                    <outer_section_code>15</outer_section_code>
                    <order_number>BP-123456789</order_number>
                    <order_type>OUTER</order_type>
                </personal_stat_resp>
            </items>
        </content>
    </result>
</rhino_integration_person_output_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

返回
顶部