相关接口
以下接口适用于数据集成 FTP,对接前请了解 FTP 接入流程
- FTP
环境 | 合作伙伴 文件目录 | Lenovo 文件目录 | 文件名 |
---|---|---|---|
测试 | /xxxx/inbound | /Planning/SCC/{appName}/isg/dns_commit/feedback/ | Netted_commit_JYKJ_.csv & Netted_commit_LCFC_.csv |
正式 | /xxxx/inbound | /Planning/SCC/{appName}/isg/dns_commit/feedback/ | Netted_commit_JYKJ_.csv & Netted_commit_LCFC_.csv |
业务数据说明
参数名称 | 必填 | 参数类型 | 长度 | 参数格式 | 描述 |
---|---|---|---|---|---|
version_no | Y | string | 40 | --- | 版本流水号/整包数据唯一码 |
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 | 工厂 | |
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 |
请求示例
CSV
header
data
返回成功示例
json
{
"code":"0",
"msg":"request success"
}
返回包含错误数据示例
json
{
"code": "E00V00",
"msg": "data verification failed!",
"result": [{
"row": {
"odm": "LCFC",
...
},
"verify": [{
"type": "value length exceed",
"fields": "version"
}]
}]
}