Skip to content

Prepull By Part 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_part
Prodhttps://api-cn.lenovo.com/v1.0/supply_chain/scc/open_platform/data/query/ips_report/prepull_by_part

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
WERKSVARCHAR2(10)
MATNRVARCHAR2(20)
SRC_STORAGE_LOCVARCHAR2(10)
DEST_STORAGE_LOCVARCHAR2(10)
QTYNUMBER
STATUSVARCHAR2(10)
SYS_SOURCEVARCHAR2(10)
SYS_CREATED_DATEDATE

Request Example

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

Response Example

json

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

Error Example

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

Business Error code

error codeerror descriptionsolutions