Skip to content

Order Sequence To ODM

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

Description:Publish CPSP order priority, partial information, complete information, and whether it is CQ to ODM. The following are all fields of the table, but not all are passed to ODM.
Method:POST
ContentType:application/json
Path:ODM provided bash path/{data_category}/{biz_key}
data_categorybiz_key
cpsporder_seq
Request data description
ParamRequiredTypeLengthFormatDescrition
version_noYstring40---version
buYstring20---
po_idYstring20TDN number
po_lineYstring20---TDN Line
plantYstring20工厂
total_qtyYnumber-
partial_flagYstring20
segmentYstring40SMB,Consumer
planned_qtyYnumber-
lrsdYdate-2022-11-24 19:28:09
epsdYdate-2022-11-24 19:28:09
remarkYstring40
sequenceYstring40order in priority
new_poYstring20
new_po_lineYstring20
created_timeYdate-2022-11-24 19:28:09
gating_partsYstring1000
matched_flagYstring20
mtmprNstring2000order mapping的MTM PR
alloc_holdYstring20
Request sample
JSON
{
  "batch_id": "11297",
  "batch_size": 1,
  "seq_id": "1",
  "seq_size": 1,
  "data": [
    {
      "version_no": "",
      "bu": "IdeaNB",
      "po_id": "",
      "po_line": "",
      "plant": "",
      "total_qty": 0,
      "partial_flag": "",
      "planned_qty": 0,
      "lrsd": "2022-11-24 19:28:09",
      "epsd": "2022-11-24 19:28:09",
      "remark": "",
      "sequence": "",
      "new_po": "",
      "new_po_line": "",
      "created_time": "2022-11-24 19:28:09",
      "gating_parts": "",
      "matched_flag": "",
      "mtmpr": "",
      "alloc_hold": ""
    },
    {
      "version_no": "",
      "bu": "IdeaNB",
      "po_id": "",
      "po_line": "",
      "plant": "",
      "total_qty": 0,
      "partial_flag": "",
      "planned_qty": 0,
      "lrsd": "2022-11-24 19:28:09",
      "epsd": "2022-11-24 19:28:09",
      "remark": "",
      "sequence": "",
      "new_po": "",
      "new_po_line": "",
      "created_time": "2022-11-24 19:28:09",
      "gating_parts": "",
      "matched_flag": "",
      "mtmpr": "",
      "alloc_hold": ""
    }
  ]
}
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"
    }]
  }]
}