Skip to content

ODM PO Data Integration Report

The following interfaces apply to General Data Query

Request URL

EnvironmentURL (TBD)
Test
Prod

Request Parameters

fieldTyperequireddescriptionlength
idStringY50
mainPoNoStringY50
mainPoLineStringY20
buStringY10
familyStringN100
poStringY20
poLineStringY20
lenovoPnStringY20
odmSupplierNameStringY200
siteStringY10
commodityStringN200
itemgroupStringN200
priorityCodeIntegerY
orderTypeStringN10
orderTypeDescStringN200
uomStringN200
motStringN10
leadTimeIntegerN
poQtyDoubleY
statusStringY
shipDateDateN
asnNoStringN40
deliveryNoteStringN20
requestEtdDateN
requestEtaDateN
confirmedEtdDateN
confirmedEtaDateN
systemEtdDateN
systemEtaDateN
newEtdDateN
newEtaDateN
incotermStringN50
shippingToCodeStringN50
shippingToAddressStringN300
priceDoubleN
currencyStringN10
paymentTermsStringN300
poChangeStringN100
poChangeDateDateN
poCreateDateDateN
odmPoChangeRequestStringN500
buyerPoChangeRequestStringN500
comment1StringN100
comment2StringN100
geoStringY20
subGeoStringY50
itemDescStringY500
sysLastModifyDateDateN
pricePreUnitIntegerY

Response Parameters

fieldkeyTypedescriptionsample
codestring0
msgstring

Request Example

body

{
"batch_id":"10067",
"batch_size": 1,
"seq_id": "1",
"seq_size": 1,
"data":[{
  "id": "1",
  "mainPoNo": "4000045977",
  "mainPoLine": "00010",
  "bu": "ThinkNB",
  "po": "4000045977",
  "poLine": "00010",
  "lenovoPn": "SC17A80736",
  "odmSupplierName": "LCFC",
  "site": "I020",
  "commodity": "",
  "itemgroup": "",
  "priorityCode": 60,
  "orderType": "NB",
  "orderTypeDesc": "Standard PO",
  "uom": "EA",
  "mot": "Train",
  "leadTime": 1,
  "poQty": 20,
  "shipDate": "2024-11-07",
  "asnNo": "5118036720240106",
  "deliveryNote": "51180367",
  "requestEtd": "2024-11-07",
  "requestEta": "2024-11-05",
  "confirmedEtd": "2024-11-07",
  "confirmedEta": "2024-11-07",
  "systemEtd": "2024-11-07",
  "systemEta": "2024-11-07",
  "newEtd": "2024-11-07",
  "newEta": "2024-11-07",
  "incoterm": "FOB FOB",
  "shippingToCode": "",
  "shippingToAddress": "",
  "geo": "",
  "subGeo": "",
  "itemDesc": "",
  "price": 1.23,
  "currency": "USD",
  "paymentTerms": "paymentTerms_d27b7fa26cf5",
  "poChange": "poChange_ffd4ebdac96e",
  "odmPoChangeRequest": "odmPoChangeRequest_24ed7009dacb",
  "comment1": "comment1_caae098dd235",
  "comment2": "comment2_b48e45030f46"
  "pricePreUnit": 1
}]
}

Response Example

json

{
  "code": "0",
  "message": ""
}

Error Example

json
{
  "code": "-1",
  "message": "System error. Please try again later or contact your system administrator!"
}

Business Error code

error codeerror descriptionsolutions