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 | ||
| inputDate | Date | N | yyyy-MM-dd | |
| outputDate | Date | N | yyyy-MM-dd | |
| mrDate | Date | N | yyyy-MM-dd | |
| reasonCode | String | N | 100 |
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": "po1",
"mainPoLine": "00010",
"bu": "ThinkNB",
"po": "po1",
"poLine": "00010",
"lenovoPn": "pn1",
"odmSupplierName": "LCFC",
"site": "***",
"commodity": "",
"itemgroup": "",
"priorityCode": 60,
"orderType": "NB",
"orderTypeDesc": "Standard PO",
"uom": "EA",
"mot": "Train",
"leadTime": 1,
"poQty": 20,
"shipDate": "2024-11-07",
"asnNo": "1111111111111111",
"deliveryNote": "dn",
"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": 0.00,
"currency": "USD",
"paymentTerms": "********",
"poChange": "********",
"odmPoChangeRequest": "********",
"comment1": "********",
"comment2": "********"
"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 |
|---|---|---|
