BA PO delivery data
This interface is applicable for data integration API, read Api Access Process first
Description:`# BA PO delivery data to Lenovo
Method:POST
ContentType:application/json
Path:https://api-cn-t.lenovo.com/uat/v1.0/supply_chain/scc/open_platform/data/sync/{data_category}/{biz_key}
data_category | biz_key |
---|---|
cpsp | ba_po_delivery |
Request data description
Param | Required | Type | Length | Format | Description |
---|---|---|---|---|---|
version_no | Y | string | 40 | --- | version |
pono | Y | string | 20 | Real PO number | |
poline | Y | string | 20 | --- | Real PO Line number |
poqty | Y | number | Real PO Quantity | ||
plant | Y | string | 20 | plant | |
dc | Y | string | 20 | Geo | |
bano | Y | string | 20 | Build ahead PO number | |
baline | Y | string | 20 | Build ahead PO line | |
baqty | Y | number | Build ahead PO Quantity netted with delivery | ||
matnr | Y | string | 20 | Product number | |
netted_baqty | Y | number | Qty netted with real PO | ||
netted_poqty | Y | number | PO Qty used in netting | ||
sys_date | Y | date | yyyy-MM-dd HH:mm:ss | yyyy-MM-dd HH:mm:ss |
Request sample
JSON
{
"batch_id": "11297",
"batch_size": 1,
"seq_id": "1",
"seq_size": 1,
"data": [
{
"version_no": "",
"plant": "",
"dc": "",
"bano": "",
"baline": "",
"matnr": "",
"baqty": 0,
"netted_baqty": 0,
"netted_poqty": 0,
"pono": "",
"poline": "",
"poqty": 0,
"sys_date": "2022-01-19 14:27:38"
},
{
"version_no": "",
"plant": "",
"dc": "",
"bano": "",
"baline": "",
"matnr": "",
"baqty": 0,
"netted_baqty": 0,
"netted_poqty": 0,
"pono": "",
"poline": "",
"poqty": 0,
"sys_date": "2022-01-19 14:27:38"
}
]
}
Successful response sample
json
{
"code":"0",
"msg":"request success"
}
Failed response sample
json
{
"code": "E00V00",
"msg": "data verification failed!",
"result": [{
"row": {
"odm": "LCFC",
...
},
"verify": [{
"type": "value length exceed",
"fields": "version"
}]
}]
}