ODM PO Data Integration Report
The following interfaces apply to General Data Query
Request URL
Environment | URL (TBD) |
---|---|
Test | |
Prod |
Request Parameters
field | Type | required | description | length |
---|---|---|---|---|
id | String | Y | 50 | |
mainPoNo | String | Y | 50 | |
mainPoLine | String | Y | 20 | |
bu | String | Y | 10 | |
family | String | N | 100 | |
po | String | Y | 20 | |
poLine | String | Y | 20 | |
lenovoPn | String | Y | 20 | |
odmSupplierName | String | Y | 200 | |
site | String | Y | 10 | |
commodity | String | N | 200 | |
itemgroup | String | N | 200 | |
priorityCode | Integer | Y | ||
orderType | String | N | 10 | |
orderTypeDesc | String | N | 200 | |
uom | String | N | 200 | |
mot | String | N | 10 | |
leadTime | Integer | N | ||
poQty | Double | Y | ||
status | String | Y | ||
shipDate | Date | N | ||
asnNo | String | N | 40 | |
deliveryNote | String | N | 20 | |
requestEtd | Date | N | ||
requestEta | Date | N | ||
confirmedEtd | Date | N | ||
confirmedEta | Date | N | ||
systemEtd | Date | N | ||
systemEta | Date | N | ||
newEtd | Date | N | ||
newEta | Date | N | ||
incoterm | String | N | 50 | |
shippingToCode | String | N | 50 | |
shippingToAddress | String | N | 300 | |
price | Double | N | ||
currency | String | N | 10 | |
paymentTerms | String | N | 300 | |
poChange | String | N | 100 | |
poChangeDate | Date | N | ||
poCreateDate | Date | N | ||
odmPoChangeRequest | String | N | 500 | |
buyerPoChangeRequest | String | N | 500 | |
comment1 | String | N | 100 | |
comment2 | String | N | 100 | |
geo | String | Y | 20 | |
subGeo | String | Y | 50 | |
itemDesc | String | Y | 500 | |
sysLastModifyDate | Date | N | ||
pricePreUnit | Integer | Y |
Response Parameters
field | key | Type | description | sample |
---|---|---|---|---|
code | string | 0 | ||
msg | string |
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 code | error description | solutions |
---|---|---|