预添加[工单信息]
POST
/machine-workorders/preRequest
Body Params application/json
machine_id
integer
机械Id
year
string
必需
工单的年份(4位数年份)
month
string
必需
工单的月份(2位数月份)
group
string
生产小组序号
number
integer
工单数量
Example
{
"machine_id": 1,
"year": "2024",
"month": "01",
"group": "1",
"number": 20
}
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer
必需
message
string
必需
data
object
必需
workorder_number_start
string
必需
添加工单的起始工单号
workorder_number_end
string
必需
添加工单的结束工单号
Example
{
"code": 20000,
"message": "预处理成功",
"data": {
"workorder_number_start": "H650-CH-J1-2401-1016",
"workorder_number_end": "H650-CH-J1-2401-1035"
}
}
Last modified: 1 年前