LCFC Inventory monthly detail
This interface is applicable for data integration API, read Api Access Process first
| Frequancy | 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 | ||||
| Profit_Center | String | 10 | ||||
| Material | String | 18 | ||||
| Material_Description | String | 40 | ||||
| Material_Group | String | 18 | ||||
| Lenovo_Commodity | String | 50 | ||||
| DB | String | 5 | ||||
| CB | String | 1 | ||||
| Model | String | 36 | ||||
| Storage_Location | String | 4 | ||||
| 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_G90D_INVValue_STDLNV | Number | 14,2 | ||||
| Type | String | 4 | ||||
| G_L | String | 5 | ||||
| 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": "",
"Profit_Center": "",
"Material": "",
"Material_Description": "",
"Material_Group": "",
"Lenovo_Commodity": "",
"DB": "",
"CB": "",
"Model": "",
"Storage_Location": "",
"DB_AVAP_KP": "",
"Stock_Balance": "",
"LNV_INV_VALUE_PUP": "",
"AGING_G90D_INVValue_STD": "",
"AGING_G90D_INVValue_STDLNV": "",
"Type": "",
"G_L": ""
}
]
}Successful sample response
json
{
"code": "0",
"msg": "request success"
}Failed sample response
json
{
"code": "E00V00",
"msg": "data verification failed!",
"result": [{
"row": {
"uid": "YIASND190123NYC1N290D1N21S2129JX",
...
},
"verify": [{
"type": "value length exceed",
"fields": "version"
}]
}]
}