Skip to content

Prepull By Order Report

The following interfaces apply to General Data Query

Request URL

  • API
EnvironmentURL
Testhttps://api-cn-t.lenovo.com/uat/v1.0/supply_chain/scc/open_platform/data/query/ips_report/prepull_by_order
Prodhttps://api-cn.lenovo.com/v1.0/supply_chain/scc/open_platform/data/query/ips_report/prepull_by_order

Request Parameters

fieldTyperequireddescription
batch_idStringNgenerated by the partner, need to gurantee the uniqueness
page_noIntegerN(default 1)current request page number
page_sizeIntegerN(default 5000)data size per page (all_page_number = total_data_size/page_size )

Response Parameters

fieldType
ORDERIDVARCHAR2(40)
LINEIDVARCHAR2(10)
ORDER_QTYNUMBER(15,0)
ITEMVARCHAR2(40)
QTYNUMBER
SOURCE_LOCATIONVARCHAR2(80)
DEST_LOCATIONCHAR(4)
SITEIDVARCHAR2(40)
SYS_CREATE_DATEDATE
ORDER_MADDATE

Request Example

https://api-cn-t.lenovo.com/uat/v1.0/supply_chain/scc/open_platform/data/query/ips_report/prepull_by_order?batch_id=a95e30&page_no=1

Response Example

json

{
  "code": "0",
  "message": "request success!",
  "result": {
    "total": 233,
    "data": [
      {
        "ORDERID": "123451",
        "LINEID": "127622008",
        ...
      },
      {
        "ORDERID": "123452",
        "LINEID": "127622008"
      },
      ...
    ]
  }
}

Error Example

json
{
  "code": "-1",
  "message": "System error. Please try again later or contact your system administrator!"
}

Business Error code

error codeerror descriptionsolutions