Skip to content

LCFC Inventory monthly detail

This interface is applicable for data integration API, read Api Access Process first

FrequancyTimedata amount
TBDTBDIncremental

Request address

  • API
EnvironmentURL
Testhttps://api-cn-t.lenovo.com/uat/v1.0/supply_chain/scc/open_platform/data/sync/sci/lcfc_inventory_monthly_detail
Prodhttps://api-cn.lenovo.com/v1.0/supply_chain/scc/open_platform/data/sync/sci/lcfc_inventory_monthly_detail

Request data description

ParamkeyTypeRequiredLengthDescriptionExample
uidString32
MonthString6
PeriodString7
QuarterString6
Company_CodeString4
PlantString4
Profit_CenterString10
MaterialString18
Material_DescriptionString40
Material_GroupString18
Lenovo_CommodityString50
DBString5
CBString1
ModelString36
Storage_LocationString4
DB_AVAP_KPString4
Stock_BalanceNumber14,2
LNV_INV_VALUE_PUPNumber14,2
AGING_G90D_INVValue_STDNumber14,2
AGING_G90D_INVValue_STDLNVNumber14,2
TypeString4
G_LString5
AGING_GREATERTHAN_270String30

Response data description

ParamTypeRequiredDescription
codeStringY0:successful, other:failed
msgStringYmessage

Request sample

json
{
  "batch_id": "20221123001",
  "batch_size": 10000,
  "seq_id": "1",
  "seq_size": 500,
  "data": [
    {
      "Month": "",
      "Period": "",
      "Quarter": "",
      "Company_Code": "",
      "Plant": "",
      "Profit_Center": "",
      "Material": "",
      "Material_Description": "",
      "Material_Group": "",
      "Lenovo_Commodity": "",
      "DB": "",
      "CB": "",
      "Model": "",
      "Storage_Location": "",
      "DB_AVAP_KP": "",
      "Stock_Balance": "",
      "LNV_INV_VALUE_PUP": "",
      "AGING_G90D_INVValue_STD": "",
      "AGING_G90D_INVValue_STDLNV": "",
      "Type": "",
      "G_L": ""
    }
  ]
}

Successful sample response

json
{
  "code": "0",
  "msg": "request success"
}

Failed sample response

json
{
    "code": "E00V00",
    "msg": "data verification failed!",
    "result": [{
        "row": {
          "uid": "YIASND190123NYC1N290D1N21S2129JX",
            ...
        },
        "verify": [{
            "type": "value length exceed",
            "fields": "version"
        }]
    }]
}