Logistics
The following interfaces apply to API Data Integration
Create Logistics
URL:
https://api-cn-t.lenovo.com/uat/v1.0/supply_chain/scc/master_data/logistics
Request data description
Param | Type | Required | Length | Format | Description | Example |
---|
- Response data description
Param | Type | Required | Length | Description | Example |
---|---|---|---|---|---|
code | String | Y | 10 | response code | "0" |
msg | String | Y | 10 | response message | "ok"/"error" |
result | Object | N | response payload | refer to response sample |
- Request sample
JSON
{
"rid": "",
"vendorCode": "",
"lenovoPn": "",
"plant": "",
"bonded": "",
"mot": "",
"deliveryRoute1": "",
"deliveryRoute2": "",
"deliveryRoute3": "",
"deliveryRoute4": "",
"deliveryRoute5": "",
"fullBoxQty": 0,
"boxQtyPerPallet": 0,
"fullPalletQty": 0,
"grossWeightPerUnit": 0.00,
"netWeightPerUnit": 0.00,
"volumePerUnit": 0.00,
"serialNumberControl": "",
"batteryInside": "",
"piValue": "",
"magneticOrNot": "",
"anyHeavyMetal": "",
"eccnControl": ""
}
- Successful response sample
JSON
{
"code": "0",
"msg": "ok"
}
- Failed response sample
JSON
Vendor
URL:
https://api-cn-t.lenovo.com/uat/v1.0/supply_chain/scc/master_data/vendor
Request data description
Param | Type | Required | Length | Format | Description | Example |
---|
- Response data description
Param | Type | Required | Length | Description | Example |
---|---|---|---|---|---|
code | String | Y | 10 | response code | "0" |
msg | String | Y | 10 | response message | "ok"/"error" |
result | Object | N | response payload | refer to response sample |
- Request sample
JSON
{
"vendorCode": "",
"vendorName": "",
"forwarderName": "",
"forwarderEmail": "",
"customsBrokerName": "",
"customsBrokerEmail": ""
}
- Successful response sample
JSON
- Failed response sample
JSON