Tooling capacity Data
This interface is applicable for data integration API, read Api Access Process first
Request address
- API
- FTP
Environment | Partner directory | Lenovo directory | File name |
---|---|---|---|
Test | /Planning/SCC/{appName}/odm/tooling_capacity/ | /Planning/SCC/{appName}/odm/tooling_capacity/feedback/ | tooling_capacity_{crud}_{yyyyMMddHHmmss}_ |
Prod | /Planning/SCC/{appName}/odm/tooling_capacity/ | /Planning/SCC/{appName}/odm/tooling_capacity/feedback/ | tooling_capacity_{crud}_{yyyyMMddHHmmss}_ |
Sample:/Planning/SCC/LCFC/odm/tooling_capacity/tooling_capacity_update_20220928123000_001
Frequency | Time | Data amount |
---|---|---|
Monthly | Monthly | version of data (full amount) |
Request data description
Param | Key | Type | Required | Mobile Tablet | NB(ThinkNB/IdeaNB) | Length | Description | Example |
---|---|---|---|---|---|---|---|---|
uid | String | 32 | Unique id | |||||
fcst_version | Y | String | Y | Y | Y | 8 | yyyyMMdd | 20220711 |
odm | Y | String | Y | Y | Y | 40 | LCFC | |
bu | Y | String | Y | Y | Y | 50 | MDSC-TB | |
project_name | String | Y | Y | Y | 100 | ODM project name | ||
family | String | Y | Y | Y | 100 | Lenovo project name | ||
odm_pn | Y | String | Y | Y | Y | 20 | ODM part number | |
lenovo_pn | String | 18 | Lenovo part number | |||||
plc | String | Y | Y | Y | 50 | Product Life Cycle | EOL | |
kick_date | Date | Y | Y | Y | Kick Off Date | 2022-02-01 | ||
sign_date | Date | Y | Y | Y | active date | 2022-02-01 | ||
commodity | String | Y | Y | Y | 50 | Rear_cover | ||
odm_pn_desc | String | Y | Y | Y | 200 | part number description | ||
tooling_configure | String | Y | Y | Y | 50 | Mold configuration | ||
tooling_no | String | Y | Y | Y | 20 | mold number | ||
material_type | String | Y | Y | Y | 10 | material type(BS,DB,DS) | DB | |
alternative_code | String | 100 | alternative code | A | ||||
odm_supplier_name | String | Y | Y | Y | 100 | supplier name | ||
capacity | Integer | Y | Y | Y | 10 | Monthly production capacity (good products) | 20000 | |
design_lifecycle | Integer | Y | Y | Y | 10 | The total number of good products during the life cycle | ||
lifecycle | Integer | Y | Y | Y | 10 | The number of good products that can still be produced from the current month | ||
yield_ratio | Number | Y | Y | Y | 13.2 | yield ratio | 80% | |
moq | Integer | 10 | minimum purchase quantity | |||||
lead_time | Integer | 10 | LEADTIME | |||||
usage | Integer | Y | Y | Y | 10 | usage | 1 | |
unique | String | Y | Y | Y | 1 | Y | ||
comment1 | String | 100 | ||||||
comment2 | String | 100 | ||||||
tooling_part_name | String | Y | 100 | |||||
supplier_location | String | Y | 50 | |||||
extend_lifecycle_volume | Integer | Y | 10 | |||||
actual_injection | Integer | Y | 10 | |||||
raw_material_pn | String | Y | 100 | |||||
painting_pn | String | Y | 100 | |||||
vendor_stock | Integer | Y | 10 |
Response data description
Param | Type | Description |
---|---|---|
code | String | 0: success, others:failed |
msg | String | the detail message, especially useful on failure |
Request sample
json
{
"batch_id": "90497",
"batch_size": 1,
"seq_id": "1",
"seq_size": 1,
"data": [
{
"fcst_version": "20220801",
"odm": "abc",
"bu": "ACC",
"project_name": "项目名称",
"family": "family_1",
"odm_pn": "odm_pn1",
"lenovo_pn": "",
"plc": "EOL",
"kick_date": "2021-09-07",
"sign_date": "2021-09-07",
"commodity": "Rear_cover",
"odm_pn_desc": "odm_pn_desc_1",
"tooling_configure": "tooling_configure_1",
"tooling_no": "tooling_no_1",
"material_type": "DB",
"alternative_code": "A",
"odm_supplier_name": "odm_supplier_name_1",
"capacity": "20000",
"design_lifecycle": "1234",
"lifecycle": "123",
"yield_ratio": "0.8",
"moq": "",
"lead_time": "",
"usage": "1",
"unique": "Y",
"comment1": "",
"comment2": "",
"tooling_part_name":"part_name",
"supplier_location":"location",
"extend_lifecycle_volume":"100",
"actual_injection":"30",
"raw_material_pn":"pn223230",
"painting_pn":"pn_adfs_2",
"vendor_stock":"80"
}
]
}
Successful response sample
json
{
"code": "0",
"msg": "request success"
}
Failed response sample
json
{
"code": "E00V00",
"msg": "data verification failed!",
"result": [{
"row": {
"odm": "LCFC",
...
},
"verify": [{
"type": "value length exceed",
"fields": "version"
}]
}]
}