物料导入
接口地址:
https://v3-hw-openapi.blacklake.cn /api/openapi/domain/web/v1/route/material/open/v1/material/_doimport
接口功能描述: 导入物料
请求方式: POST
接口备注: 无
请求体参数(见MES接口文档):
请求样例:
{
"batchManagementEnable": "string",
"batchNoAttrDisplay": "string",
"batchNoAttrNotNull": "string",
"batchNoRuleCode": "string",
"bizRange": "string",
"bizType": "string",
"controlLevel": "string",
"convertUnitName": "string",
"defaultLocationCode": "string",
"defaultWarehouseCode": "string",
"feedUnitName": "string",
"fifoAttr": "string",
"fifoEnabled": "string",
"inventoryAttrDisplay": "string",
"inventoryAttrNotNull": "string",
"inventoryRuleCode": "string",
"items": [{
"enableFlag": "string",
"fromUnitCount": "string",
"materialCode": "string",
"toUnitCount": "string",
"unitName": "string",
"unitType": "string"
}],
"manufactureQualityStatus": "string",
"materialAttribute": "string",
"materialCategory": "string",
"materialCode": "string",
"materialName": "string",
"orderBatchRule": "string",
"productionUnitName": "string",
"purchaseAmount": "string",
"purchaseAmountMin": "string",
"purchaseUnitName": "string",
"remark": "string",
"sourceControl": "string",
"specification": "string",
"taxRate": "string",
"transferBatch": "string",
"transferUnitName": "string",
"unitName": "string",
"validityTime": "string",
"validityUnit": "string"
}
响应体样例:
{
"code": 200,
"data": "object",
"fieldPermission": {
"encoding": "string",
"noAccess": [
"string"
],
"readonly": [
"string"
]
},
"message": "string",
"needCheck": 0,
"subCode": "string"
}