Skip to content

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

ParamTypeRequiredLengthFormatDescriptionExample
  • Response data description
ParamTypeRequiredLengthDescriptionExample
codeStringY10response code"0"
msgStringY10response message"ok"/"error"
resultObjectNresponse payloadrefer 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

ParamTypeRequiredLengthFormatDescriptionExample
  • Response data description
ParamTypeRequiredLengthDescriptionExample
codeStringY10response code"0"
msgStringY10response message"ok"/"error"
resultObjectNresponse payloadrefer to response sample
  • Request sample
JSON
{
  "vendorCode": "",
  "vendorName": "",
  "forwarderName": "",
  "forwarderEmail": "",
  "customsBrokerName": "",
  "customsBrokerEmail": ""
}
  • Successful response sample
JSON
  • Failed response sample
JSON