### 列出工单

此接口列出所有工单号。

---

### 基本信息

方法:POST

URL:http://localhost:8033/open/listWorkorder

认证:需要

---

### 请求

请求参数

| 参数名 | 类型 | 必填 | 说明 |
| :-- | :-- | :-- | :-- |
| profile | string | 是 | 厂区。 |

请求示例

```
{
    "data":  {
        "profile": "测试"
    }
}
```

### 响应

响应字段

| 字段 | 类型 |  说明 |
| :-- | :-- | :-- |
| codes | array | 工单号数组。 |

```
{
  "status": "ok",
  "data": {
      "codes": [
          "NewWorkorder001",
          "NewWorkorder002",
          "NewWorkorder003"
      ]
  }
}
```