LCFC Inventory git
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 | ||||
BILLING_QTY | Number | 7 | ||||
BILLING_AMT | Number | 14,2 | ||||
LENOVO_PART_NO | String | 18 | ||||
LCFC_PN | String | 18 | ||||
LENOVO_COMMODITY | String | 50 |
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": "",
"BILLING_QTY": "",
"BILLING_AMT": "",
"LENOVO_PART_NO": "",
"LCFC_PN": "",
"LENOVO_COMMODITY": ""
}
]
}
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"
}]
}]
}