API
查询入库单(列表)
更新时间: 2019-10-16 20:26:12 访问次数:3221
接口说明

入库单列表查询。

接口英文名称

winit.wh.inbound.getOrderList

使用场景

入库单列表查询,仅支持入库单。

备注

请求说明
URL http://openapi.winit.com.cn/openapi/service
接口测试 http://openapi.sandbox.winit.com.cn/openapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
orderType String(50) N 订单类型
入库方式:
SD-标准海外仓入库
DW-直发海外验入库
DI-直发国内验入库
SE-标准存储仓入库(已停用)
SI-直发国内验存储仓入库(已停用)
destinationWareHouseCode String(50) N 目的仓编码
[查询验货/目的仓]仓库编码
inspectionWareHouseCode String(50) N 验货仓编码
[查询验货/目的仓]仓库编码
orderCreateDateEnd String(50) N 结束下单日期 2016-09-09
orderCreateDateStart String(50) N 开始下单日期 2016-10-09
winitProductCode String(50) Y WINIT产品编码
[查询头程服务]的Winit产品编码
pageParams 分页参数,以下为子节点
-|pageNo Int Y 页码/第几页
-|pageSize Int Y 分页大小/每页条数
请求示例
{
      "action": " winit.wh.inbound.getOrderList",
      "app_key": "rebecca",
      "client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
      "client_sign":"E966452CA34E5AD01E257D8F33FBE717",
      "data": {
          "destinationWareHouseCode": "US0001",
          "orderType": "SD",
          "inspectionWareHouseCode": "SZ0001",
          "orderCreateDateEnd": "",
          "orderCreateDateStart": "",
          "pageParams": {
              "pageNo": "1",
              "pageSize": "10"
          },
          "winitProductCode": "OW01010343"
      },
      "format": "json",
      "language": "zh_CN",
      "platform": "OWNERERP",
      "sign": "BDDFBA2AE7D1D06C183A51BDBE6CCA2E",
      "sign_method": "md5",
      "timestamp": "2016-09-09 10:14:15",
      "version": "1.0"
}

                            
返回出参
名称 类型 必填 说明 示例
orderList Array 订单列表。如下为订单字节点。
-|orderNo String(50) Y WINIT订单号
-|status String(20) Y 订单状态
DR-草稿
OD-已下单
RE-已收货
TS-运输中
SHD-已上架
VO-作废
-|weight String Y 重量(KG)
下单重量
最多支持4位小数,精确到0.0001
7.0000
-|inspectionWeight Number Y 验货重量(KG)
验货时候确认的重量,最多支持4位小数,精确到0.0001

-|volume String Y 体积(CBM)
下单体积
最多支持9位小数,精确到0.000000001
0.0045
-|inspectionVolume Number Y 验货体积(CBM)
最多支持9位小数,精确到0.000000001

-|totalPackageQty String Y 下单包裹数
-|inspectionTotalPackageQty Integer Y 验货包裹数量
-|totalItemQty String Y 下单单品数
-|inspectionTotalItemQty Number Y 验货单品数量
-|orderCreateDate String Y 下单时间
精确到时分秒
2019-06-17 15:13:21
pageParams 分页参数,以下为子节点
-|totalCount Int Y 总条数
-|pageSize Int Y 每页条数/分页大小
-|pageNo Int Y 页码/第几页

返回参数说明 正确的返回结果:Base64编码的标签文件。 错误的返回结果:错误码,错误信息。

返回示例
{
   "code": "0",
   "msg": "操作成功",
   "data":    {
      "pageParams":       {
         "pageNo": 1,
         "pageSize": 10,
         "totalCount": 165
      },
      "orderList":       [
                  {
            "volume": 0.00225,
            "inspectionVolume": null,
            "orderCreateDate": "2019-10-14 14:43:46",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900005482",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 1,
            "inspectionWeight": null,
            "status": "OD"
         },
                  {
            "volume": 0.0018,
            "inspectionVolume": 0.06,
            "orderCreateDate": "2019-10-14 14:18:29",
            "inspectionTotalItemQty": 4,
            "orderNo": "WI9900005465",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": 1,
            "totalItemQty": 4,
            "weight": 0.1,
            "inspectionWeight": 10,
            "status": "SHD"
         },
                  {
            "volume": 4.5E-4,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-27 15:49:08",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900005353",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 0.025,
            "inspectionWeight": null,
            "status": "DR"
         },
                  {
            "volume": null,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-24 15:32:48",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900005308",
            "totalPackageQty": null,
            "inspectionTotalPackageQty": null,
            "totalItemQty": null,
            "weight": null,
            "inspectionWeight": null,
            "status": "DR"
         },
                  {
            "volume": 0.00225,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-23 12:23:57",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900005095",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 1,
            "inspectionWeight": null,
            "status": "OD"
         },
                  {
            "volume": 0.0018,
            "inspectionVolume": 0.06,
            "orderCreateDate": "2019-09-23 12:03:00",
            "inspectionTotalItemQty": 4,
            "orderNo": "WI9900005074",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": 1,
            "totalItemQty": 4,
            "weight": 0.1,
            "inspectionWeight": 10,
            "status": "SHD"
         },
                  {
            "volume": 0.00225,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-16 15:53:58",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900004972",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 1,
            "inspectionWeight": null,
            "status": "OD"
         },
                  {
            "volume": 0.0018,
            "inspectionVolume": 0.06,
            "orderCreateDate": "2019-09-16 15:32:05",
            "inspectionTotalItemQty": 4,
            "orderNo": "WI9900004953",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": 1,
            "totalItemQty": 4,
            "weight": 0.1,
            "inspectionWeight": 10,
            "status": "SHD"
         },
                  {
            "volume": 5.4E-4,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-11 16:52:48",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900004935",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 0.01,
            "inspectionWeight": null,
            "status": "OD"
         },
                  {
            "volume": 0.00225,
            "inspectionVolume": null,
            "orderCreateDate": "2019-09-09 18:53:50",
            "inspectionTotalItemQty": null,
            "orderNo": "WI9900004906",
            "totalPackageQty": 1,
            "inspectionTotalPackageQty": null,
            "totalItemQty": 1,
            "weight": 1,
            "inspectionWeight": null,
            "status": "OD"
         }
      ]
   }
}