Skip to content

partial build data

This interface is applicable for data integration API, read Api Access Process first

Description:transfer partial build 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_categorybiz_key
cpsppartial_build
Request data description
ParamRequiredTypeLengthFormatDescription
version_noYstring40version
po_idYstring20TDN number
po_lineYstring20TDN Line
plantYstring20
qtyYnumberOrder Quantity
main_poidYstring20main po id
main_polineYstring20main po LINE
crdateYdateyyyy-MM-dd HH:mm:sscreate date
zflagNstring10send flag
Request sample
JSON
{
  "batch_id": "11297",
  "batch_size": 1,
  "seq_id": "1",
  "seq_size": 1,
  "data": [
    {
      "version_no": "20202131231",
      "po_id": "LCFC",
      "po_line": "1010001137",
      "plant": "SD10W87241",
      "qty": "1000",
      "main_poid": "fake_data",
      "main_poline": "fake_data",
      "crdate": "2029-02-04 10:06:39",
      "zflag": "fake_data"
    },
    {
      "version_no": "20202131231",
      "po_id": "LCFC",
      "po_line": "1010001137",
      "plant": "SD10W87241",
      "qty": "1000",
      "main_poid": "fake_data",
      "main_poline": "fake_data",
      "crdate": "2029-02-04 10:06:39",
      "zflag": "fake_data"
    }
  ]
}
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"
    }]
  }]
}