Skip to content

ORDER_EXEC_STATUS

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

Request address

  • API
EnvironmentURL
Testhttps://api-cn-t.lenovo.com/uat/v1.0/supply_chain/scc/open_platform/data/sync/pr/order_exec_status
Prodhttps://api-cn.lenovo.com/v1.0/supply_chain/scc/open_platform/data/sync/pr/order_exec_status

Request data description

ParamKEYTypeRequiredLengthSampleDescriptionReport type
mandtString3128
ips_idString20IPS24010508Data refresh time. For ODM data, put LCFC version.
poStringY157524030388POPO
po_lineStringY1210PO linePO_LINE
siteStringY20LCFCPlant informationSITE
run_dateStringY820240105Format:YYYYMMDDRUNNING_TIME
soStringY164644314352SOSO_ID
so_lineStringY1210SO lineSO_LINE
prsdatString820231130Real salel order creation date,Format :YYYYMMDDORDER_DATE
sysdtStringY820231130MFG SO creation date,Format :YYYYMMDDRELEASE_DATE
lrsdString820240115CPDATE,Format :YYYYMMDDCP_DATE
custsegStringY70E-COMMSegment:GA/WEBSEGMENT
prodcStringY12MOBBRAND
order_typeStringY20Customer orderorder type :Customer order / replenishment orderORDER_TYPE
geoString10APGeo information of real SOGEO
subgeoString32JAPANSubgeo information of real SOSUBGEO
qtyIntegerY101SO total qtyORDER_QTY
line_qtyIntegerY101Scheduled qty base MR datePLANNED_QTY
mrdayStringY820240331Supply date,Format :YYYYMMDDMR_DATE
gattingString100AM2Q8000J00Gating Part NumberGATING_PART
pr_pnString40AC60001K920PR order PNPR_PN_ITEMGROUP
pegqtyNumberY10,30.000PEG quantityPR_PEG_QTY
stock_dateString820240330Supply date of Gating Part,Format :YYYYMMDDSUPPLY_DATE
mrtypStringY10ETATBD or ETASUPPLY_SOURCE
shortage_qtyInteger101shortage quantity
odmStringY200LCFC
gating_sbbString2000SBB1B66714缺少的SBB号GATING_SBB
peg_pr_orderString50PR2023090881902PR号PEG_PR_ORDER
mtmString4021MDS0N118成品料号
cto_fss_odmString10FSSFSS标志

Response data description

ParamTypeRequiredDescription
codeStringY0:successful, other:failed
msgStringYmessage

Request sample

json
{
  "batch_id": "1",
  "batch_size": 1,
  "seq_id": "1",
  "seq_size": 1,
  "data": [{
    "mandt": "103",
    "ips_id": "demo ips_id",
    "po": "demo po",
    "po_line": "demo po_line",
    "site": "LCFC",
    "run_date": "20231013",
    "so": "demo so",
    "so_line": "demo so_line",
    "prsdat": "20231203",
    "sysdt": "20231023",
    "lrsd": "20231011",
    "custseg": "demo custseg",
    "prodc": "demo prodc",
    "order_type": "demo order_type",
    "geo": "demo geo",
    "subgeo": "demo subgeo",
    "qty": "1",
    "line_qty": "1",
    "mrday": "20231012",
    "gatting": "demo gatting",
    "pr_pn": "demo pr_pn",
    "pegqty": "1",
    "stock_date": "20230910",
    "mrtyp": "20231033",
    "shortage_qty": "1",
    "odm": "WISTRON",
    "gating_sbb": "SBB1B66714",
    "peg_pr_order": "PR2023090881902"
  }]
}

Successful response sample

json
{
  "code": "0",
  "msg": "request success"
}

Failed response sample

json
{
  "code": "E00V00",
  "msg": "data verification failed!",
  "result": [{
    "row": {
      "odm": "COMPAL",
      ...
    },
    "verify": [{
      "type": "value length exceed",
      "fields": "version"
    }]
  }]
}