加工单查询

公共参数

请求地址:
环境 HTTPS请求地址
正式环境 https://open.erp321.com/api/open/query.aspx
沙箱环境 https://c.jushuitan.com/api/open/query.aspx
系统参数:
名称 类型 是否必须 示例值 描述
partnerid string 合作方编号
token string 授权码
method string 接口名称:jushuitan.manufacture.query
ts int 请求时间,时间戳格式(Unix 纪元到当前时间的秒数),API服务端允许客户端请求最大时间误差为10分钟。
sign string 签名

请求参数

名称 类型 是否必须 示例值 描述
page_index int 第几页,从1 开始
page_size int 每页多少条,默认20条,最大100条
start_time string 起始时间,和结束时间必须同时存在,时间间隔不能超过七天
end_time string 结束时间,和起始时间必须同时存在,时间间隔不能超过七天
date_type int 默认0;0=修改时间,1=创建时间,2=加工日期

响应参数

名称 类型 是否必须 示例值 描述
object object 数据节点

请求示例

{
    "date_type":2,
    "start_time":"2021-06-28 19:22:50",
    "end_time":"2021-06-28 19:22:52"
}

响应示例

{
  "page_index": 1,
  "page_size": 30,
  "data_count": 1,
  "page_count": 1,
  "has_next": false,
  "datas": [
    {
      "po_id": 273,
      "po_date": "2021-06-28 19:22:51.000",
      "seller": "川梣测试公司",
      "send_address": "   ",
      "term": "",
      "status": "Finished",
      "purchaser_name": "川梣",
      "labels": null,
      "print_count": 0,
      "sub_type": null,
      "weight": 0.0,
      "volume": 0.0,
      "wms_co_id": 11053062,
      "receipt_wms_co_id": null,
      "modified": "2021-09-18 11:02:19.807",
      "created": "2021-06-28 19:22:57.233",
      "wave_id": 1,
      "batchs": [
        {
          "batch_no": "54634564356",
          "sku_id": "CY002",
          "qty": 1,
          "product_date": "2021-06-28 00:00:00.000",
          "supplier_id": 3877328,
          "supplier_name": "",
          "expiration_date": null
        }
      ],
      "items": [
        {
          "io_qty": 1,
          "pic": null,
          "sku_id": "CY001",
          "name": "鬼冢虎官方旗舰店",
          "properties_value": null,
          "i_id": "001",
          "qty": 1,
          "plan_arrive_qty": null,
          "delivery_date": null,
          "price": null,
          "processing_charges": null,
          "amount": null,
          "remark": null
        }
      ],
      "raws": [
        {
          "pic": null,
          "sku_id": "CY002",
          "name": "NIKE官方旗舰店",
          "properties_value": null,
          "qty": 1,
          "remark": null
        }
      ]
    }
  ],
  "code": 0,
  "issuccess": true,
  "msg": "执行成功"
}

聚水潭官网 | 百科 | 开放平台

版权所有© 2016 上海聚水潭网络科技有限公司 沪ICP备14047939号-1 Copyright © 2016 JUSHUITAN Network Technology CO.,LTD. All Rights Reserved.