更新时间:2023-04-07 GMT+08:00
分享

批量关闭生产工单

接口地址:

https://v3-hw-openapi.blacklake.cn/api/openapi/domain/web/v1/route/med/open/v1/work_order/batch_close

接口功能描述: 根据工单id批量关闭生产工单

请求方式: POST

接口备注: 无

请求体参数(见MES接口文档):

请求样例:

{

"operateReason": "string",

"workOrderCloseType": 1,

"workOrderIdList": [

null

]

}

响应体样例:

{

"code": 200,

"data": {

"failAmount": 5,

"failResults": [{

"failedReason": "string",

"workOrderCode": "string",

"workOrderId": 1

}],

"successAmount": 10

},

"fieldPermission": {

"encoding": "string",

"noAccess": [

"string"

],

"readonly": [

"string"

]

},

"message": "string",

"needCheck": 0,

"subCode": "string"

}

相关文档