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.
55 lines
643 B
55 lines
643 B
1 year ago
|
### 列出工单
|
||
|
|
||
|
此接口列出所有工单号。
|
||
|
|
||
|
---
|
||
|
|
||
|
### 基本信息
|
||
|
|
||
|
方法:POST
|
||
|
|
||
|
URL:http://localhost:8033/open/listWorkorder
|
||
|
|
||
|
认证:需要
|
||
|
|
||
|
---
|
||
|
|
||
|
### 请求
|
||
|
|
||
|
请求参数
|
||
|
|
||
|
| 参数名 | 类型 | 必填 | 说明 |
|
||
|
| :-- | :-- | :-- | :-- |
|
||
|
| profile | string | 是 | 厂区。 |
|
||
|
|
||
|
请求示例
|
||
|
|
||
|
```
|
||
|
{
|
||
|
"data": {
|
||
|
"profile": "测试"
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### 响应
|
||
|
|
||
|
响应字段
|
||
|
|
||
|
| 字段 | 类型 | 说明 |
|
||
|
| :-- | :-- | :-- |
|
||
|
| codes | array | 工单号数组。 |
|
||
|
|
||
|
```
|
||
|
{
|
||
|
"status": "ok",
|
||
|
"data": {
|
||
|
"codes": [
|
||
|
"NewWorkorder001",
|
||
|
"NewWorkorder002",
|
||
|
"NewWorkorder003"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
```
|