LCFC Inventory monthly summary
This interface is applicable for data integration API, read Api Access Process first
Frequency | Time | Data amount |
---|---|---|
TBD | TBD | Incremental |
Request address
- API
Request data description
Param | key | Type | Required | Length | Description | Example |
---|---|---|---|---|---|---|
uid | String | 32 | ||||
MONTH | String | 6 | ||||
PERIOD | String | 7 | ||||
QUARTER | String | 6 | ||||
COMPANY_CODE | String | 4 | ||||
PLANT | String | 4 | ||||
LENOVO_COMMODITY | String | 50 | ||||
DB_AVAP_KP | String | 4 | ||||
STOCK_BALANCE | Number | 14,2 | ||||
LNV_INV_VALUE_PUP | Number | 14,2 | ||||
AGING_G90D_INVVALUE_STD | Number | 14,2 | ||||
AGING_GREATERTHAN_270 | String | 30 |
Response data description
Param | Type | Required | Description |
---|---|---|---|
code | String | Y | 0:successful, other:failed |
msg | String | Y | message |
Request sample
json
{
"batch_id": "20221123001",
"batch_size": 10000,
"seq_id": "1",
"seq_size": 500,
"data": [
{
"MONTH": "",
"PERIOD": "",
"QUARTER": "",
"COMPANY_CODE": "",
"PLANT": "",
"LENOVO_COMMODITY": "",
"DB_AVAP_KP": "",
"STOCK_BALANCE": "",
"LNV_INV_VALUE_PUP": "",
"AGING_G90D_INVVALUE_STD": ""
}
]
}
Successful response sample
json
{
"code": "0",
"msg": "request success"
}
Failed response sample
json
{
"code": "E00V00",
"msg": "data verification failed!",
"result": [{
"row": {
"uid": "YIASND190123NYC1N290D1N21S2129JX",
...
},
"verify": [{
"type": "value length exceed",
"fields": "version"
}]
}]
}