批量增加[物料]
POST
/materials-lists/batch-materials请求参数
Body 参数application/json
array of:
materials_unit
string
物料单位
materials_color_number
string
物料色号
materials_type
string
物料规格
materials_sn
string
物料编号
remark
string
备注
materials_name
string
物料名字
materials_color
string
物料颜色
示例
[
{
"materials_unit": "个",
"materials_color_number": "明黄",
"materials_type": "12mm",
"materials_sn": "1212",
"remark": "螺丝粉专用",
"materials_name": "螺丝123",
"materials_color": "何乌昂黄色"
},
{
"materials_unit": "个",
"materials_color_number": "超红",
"materials_type": "18mm",
"materials_sn": "4855",
"remark": "吃螺丝粉的工具",
"materials_name": "螺丝刀",
"materials_color": "东方红"
}
]
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
示例
成功示例
{
"code": 20000,
"message": "物料信息批量增加成功"
}
最后修改时间: 1 年前