You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
688 B
47 lines
688 B
1 year ago
|
### 获取工单
|
||
|
|
||
|
此接口用于删除尚未生成组件序列号的工单;如果工单已经生成了组件序列号,那么这个工单将无法删除。
|
||
|
|
||
|
---
|
||
|
|
||
|
### 基本信息
|
||
|
|
||
|
方法:POST
|
||
|
|
||
|
URL:http://localhost:8033/open/getWorkorder
|
||
|
|
||
|
认证:需要
|
||
|
|
||
|
---
|
||
|
|
||
|
### 请求
|
||
|
|
||
|
请求参数
|
||
|
|
||
|
| 参数名 | 类型 | 必填 | 说明 |
|
||
|
| :-- | :-- | :-- | :-- |
|
||
|
| profile | string | 是 | 厂区。 |
|
||
|
| code | string | 是 | 工单号。 |
|
||
|
|
||
|
请求示例
|
||
|
|
||
|
```
|
||
|
{
|
||
|
"data": {
|
||
|
"profile": "测试",
|
||
|
"code": "NewWorkorder001"
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### 响应
|
||
|
|
||
|
删除工单成功时,接口返回的 API 状态是 ok,没有其它字段。
|
||
|
|
||
|
```
|
||
|
{
|
||
|
"status": "ok",
|
||
|
"data": {}
|
||
|
}
|
||
|
```
|