MES标准开放接口
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.

102 lines
2.1 KiB

### 列出产品标签形式(ListDfFamilys)
此接口用于获取列出产品标签形式下拉列表
---
### 基本信息
方法:POST
URL: http://localhost:8033/open/ListDfFamilys
---
### 请求
请求参数
| 参数名 | 类型 | 必填 | 说明 |
| :-- | :-- | :-- | :-- |
| profile | string | 是 | 厂区代码 |
| search | string | 否 | 产品标签形式编码、描述模糊查询 |
示例 1:模糊查询产品标签形式
```
{
"data": {
"profile": "测试",
"search": "11BB"
}
}
```
---
### 响应
响应字段
| 字段 | 类型 | 说明 |
| :-- | :-- | :-- |
| familyCode | string | 标签形式编码 |
| descriptions | string | 标签形式描述 |
| aliasName | string | 创建者 |
| createTime | string | 创建时间 |
查询成功时,响应如下:
```
{
"clock": "2023-07-05 10:32:51.014",
"status": "ok",
"data": {
"list": [
{
"familyCode": "JW-HD144-11BB",
"descriptions": "JW-HD144-11BB",
"aliasName": "zcpl",
"createTime": "2021-11-03 10:42:38.283"
},
{
"familyCode": "JW-HD144N-11BB",
"descriptions": "JW-HD144N-11BB",
"aliasName": "xk",
"createTime": "2022-01-15 20:29:47.693"
},
{
"familyCode": "JW-HD144P-11BB",
"descriptions": "JW-HD144P-11BB",
"aliasName": "zcpl",
"createTime": "2021-11-03 11:42:33.083"
},
{
"familyCode": "ZR-144N-11BB",
"descriptions": "ZR-144N-11BB",
"aliasName": "xk",
"createTime": "2022-01-16 19:50:01.930"
},
{
"familyCode": "ZR-144P-11BB",
"descriptions": "ZR-144P-11BB",
"aliasName": "ZCPL",
"createTime": "2022-04-29 12:35:09.577"
}
]
}
}
```
查询报错:
```
{
"clock": "2023-06-25 20:00:00.000",
"status": "exception",
"message": "查询错误",
"data": {}
}
```