- 工业魔方API概述
- 工业OS API
- 工业OS API使用说明
- DFS API指南
- IOT对外接口
- 数据库备份/双机冷备
- 视频云
- 精制
- TCS open-api
- 文字转语音
- 事件体系
- 标识中心
- 工艺中心
- 工作中心
- 班组接口
- 包装工位机接口(包装工单)
- 报工接口
- 标准工位机接口
- 不良定义和工位质检接口
- 厂区信息接口
- 车间管理接口
- 岗位信息接口
- 公司信息接口
- 工位信息接口
- 工序检验项记录接口
- 供应商档案接口
- 工作中心管理接口
- 故障类型定义接口
- 角色接口
- 考勤打卡接口
- 客户档案接口
- 模型类型 数据接口
- 品质反馈定义接口
- 权限相关接口
- 人员信息接口
- 上料记录接口
- 条码身份牌工位机接口
- 维修工位机接口
- 维修接口
- 制造单元接 口
- 组织机构接口
- 业务单元接口
- 工作中心管理接口V2
- 权限相关接口V2
- 人员信息接口V2
- 工厂模型接口V2
- 公司信息接口V2
- 工位接口V2
- 供应商档案接口V2
- 设备接口V2
- 制造单元接口V2
- 配置中心
- AQL接口
- 班次配置接口
- 包装方案接口
- 编码规则接口
- 标签规则接口
- 绑定标签类型和组成信息的关系
- 查询标签打印类型列表
- 查询标签类型对应的打印字段
- 查询标签类型配置详情
- 查询全量的标签组成信息
- 根据id查询标签规则详情
- 根据标签规则编号查询标签规则详情
- 根据标签类型查询标签规则列表实例
- 根据替代符查询标签组成信息
- 更新标签打印的组成信息
- 更新标签打印类型
- 获取该标签类型下的组成信息
- 获取生产工单打印信息
- 获取生产流水码/生产成品码/采购单品码/订单流水码 的打印信息
- 获取物料打印信息
- 获取物料拓展字段组成信息
- 批次打印
- 删除标签打印的组成信息
- 删除标签打印类型
- 通过调用第三方api获取标签打印内容
- 新增标签打印APP的标签类型
- 新增标签打印的组成信息
- 新增标签打印类型
- 新增标签组成信息并绑定标签类型和组成信息的关系
- 新增或更新标签打印模块
- 表单配置接口
- 操作日志接口
- 产能列表接口
- 单据类型配置接口
- 导入数据记录接口
- 工资配置接口
- 基础配置接口
- 模块审批管理
- 日历接口
- 首班时间配置
- 条款管理接口
- 文件上传接口
- 我的方案
- 系统设置接口
- 下推配置接口
- 消息通知
- 业务配置接口
- 字段映射关系接口
- 查询字段接口V2
- 在线小程序接口V2
- 标签规则接口V2
- 产能列表接口V2
- 班次配置接口V2
- 编码规则接口V2
- 文件上传接口V2
- 物料类型接口V2
- 字段配置接口V2
- 任务中心
- 指标中心
- ocs大屏接口
- 报表管理
- 能耗接口
- 系统设置接口
- 指标表结构
- 设备每天OEE记录表
- 设备每日状态持续时长记录表
- 产成品 整体统计
- 产成品 每日统计
- 异常管理:异常类型每日
- 来料检验 每日统计
- 制造单元每日生产进度表
- 每日:产品不良项统计 (物料,不良类型,不良项)
- 产线指标 - 每月
- 维修指标 - 产线维度
- 维修指标 - 班组维度
- 生产指标 物料追踪
- 工序小时统计
- 生产订单 整体统计
- 生产订单 每日统计
- 生产订单 每月统计
- 生产订单:产线工序的生产进度
- 生产订单汇总 每月统计
- 质量:不良分布每日
- 制造单元每日不良表(产线+物料)
- 制造单元每日不良表(产线+物料+不良项)
- 质量:生产订单不良每日
- 销售订单物料-整体统计
- 销售订单-物料 每日统计
- 销售订单 每月汇总
- 员工每日统计
- 班组每日生产进度表
- Top每日排行
- Top工单排行
- 工资计算
- 生产整体进度
- 生产工单10分钟监控
- 生产工单每日进度
- 生产工单小时监控
- 工单工序统计
- 生产工单数据汇总表
- 指标模型
- 设备设施中心
- 工位质检
- 智能制造应用
- AMS
- WMS
- QMS
- TPM
- PMS
- PMC
- 视图表结构
- 导入数据记录表
- 生产订单表
- 生产订单物料表
- 采购订单
- 采购订单-物料关联表
- 采购收货单
- 采购收货关联物料表
- 销售订单表
- 销售订单物料表
- 告警表
- 告警类型表
- 告警定义表
- 厂区表
- 员工打卡表:根据工单
- 员工打卡记录表
- 批次表
- bom表
- bom-原料关联表
- 产能配置表
- 条码报工表
- 公司信息表
- 工艺表
- 工艺工序表
- 客户表
- 客户物料清单
- 默认产能配置表
- 不良定义表
- 质检记录表
- 设备表
- 设备每天能耗表
- 设备每天用气能耗表
- 班次碳排放表
- 班次能耗表
- 班次耗气表
- 班次耗水表
- 设备每天按时段能耗表
- 字典表
- 设施表
- 车间表
- 维修定义表
- 故障类型定义表
- 维修记录表
- 物料表
- 模型表
- 订单工序完成数汇总表
- 生产线表
- 工单每日产量记录表
- 工单产线每日产量记录表
- 工单不合格品记录表
- 产线数量报工表
- 班次配置
- 工作中心表
- 工单表
- 工单工序关联表
- 送检单表
- 产品检 验单物料关联单
- 缺陷现象(以物料+天维度统计)
- 缺陷原因(以物料+缺陷名称+天维度统计)
- 部门表
- 班组表
- 用户表
- 维修工单
- 任务中心
- QMS 3.0
查询产线详情
GET
http://ip:port/openApi/api/v1/open/lines/detail/{id}
工作中心/制造单元接口
最后修改时间:2025-06-06 01:38:14
责任人:未设置
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
id
产线id
Header 参数
Authorization
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://ip:port/openApi/api/v1/open/lines/detail/'
返回响应
🟢200成功
*/*
Body
code
string
可选
data
object (com.yelink.dfs.entity.manufacture.ProductionLineEntity)
可选
active
boolean
是否有效
aid
integer <int32>
厂区id
attendance
integer <int32>
出勤人数
createBy
string
创建人
createDate
string <date-time>
创建时间
employeeName
array[string]
绑定的员工账号
employeeNickname
array[string]
绑定的员工中文名
facilities
array[object (com.yelink.dfs.entity.model.FacilitiesEntity) {55}]
工位列表
fid
integer <int32>
默认设施id
gid
integer <int32>
车间id
gname
string
车间名称
isAutoCompleted
boolean
是否自动完工
isCalBeat
boolean
是否计算节拍
isCalOee
boolean
是否计算oee
isIsolateProductBasicUnit
boolean
可选
lineFileUrlList
array[object (com.yelink.dfs.entity.model.LineFileEntity) {5}]
产线附件地址列表
magName
string
负责人账户
magNickname
string
负责人真实姓名
magPhone
string
负责人电话
materialCheckType
string
上料防错类型
materialCheckTypeName
string
上料防错类型名称
modelId
integer <int32>
产线类型ID
modelName
string
制造单元类型名称
name
string
产线名称
networkStatus
integer <int32>
可选
networkStatusName
string
可选
place
string
位置
productionLineCode
string
生产线编号
productionLineId
integer <int32>
生产线id
scheduleDate
string <date-time>
排程时间
scheduleId
integer <int32>
计划id
state
integer <int32>
可选
updateBy
string
更新人
updateDate
string <date-time>
更新时间
workCenterId
integer <int32>
工作中心id
workCenterName
string
工作中心名称
message
string
可选
time
string <date-time>
可选
示例
{
"code": "string",
"data": {
"active": true,
"aid": 0,
"attendance": 0,
"createBy": "string",
"createDate": "2019-08-24T14:15:22Z",
"employeeName": [
"string"
],
"employeeNickname": [
"string"
],
"facilities": [
{
"aid": 0,
"alarm": true,
"aname": "string",
"cid": 0,
"codeStateCheck": true,
"count": 0,
"createBy": "string",
"createTime": "2019-08-24T14:15:22Z",
"defectSchemeId": 0,
"deviceList": [
{
"admTargetId": "string",
"aid": 0,
"alarmDesc": "string",
"alarmTime": "2019-08-24T14:15:22Z",
"aname": "string",
"appendixEntity": [
{
"createTime": "2019-08-24T14:15:22Z",
"createUser": "string",
"createUserName": "string",
"editor": "string",
"editorName": "string",
"fileName": "string",
"filePath": "string",
"fileSize": "string",
"id": 0,
"isUsed": true,
"relateId": "string",
"relateName": "string",
"remark": "string",
"type": "string",
"updateTime": "2019-08-24T14:15:22Z",
"updateUser": "string"
}
],
"bindingDate": "2019-08-24T14:15:22Z",
"brandModel": "string",
"cid": 0,
"createBy": "string",
"createByName": "string",
"createTime": "2019-08-24T14:15:22Z",
"deviceCode": "string",
"deviceExtendEight": {},
"deviceExtendFive": {},
"deviceExtendFour": {},
"deviceExtendNine": {},
"deviceExtendOne": {},
"deviceExtendSeven": {},
"deviceExtendSix": {},
"deviceExtendTen": {},
"deviceExtendThree": {},
"deviceExtendTwo": {},
"deviceId": 0,
"deviceName": "string",
"deviceWorkStateDTOS": [
{
"deviceId": 0,
"deviceName": "string",
"endTime": "2019-08-24T14:15:22Z",
"state": 0,
"stateName": "string",
"stateTime": "2019-08-24T14:15:22Z",
"workTime": 0
}
],
"euiNames": "string",
"euis": "string",
"fid": 0,
"fileName": "string",
"fileUrl": "string",
"fname": "string",
"gid": 0,
"gname": "string",
"img": "string",
"inStateTime": "string",
"isIsolateProductBasicUnit": true,
"magEmployeeId": "string",
"magName": "string",
"magNickname": "string",
"magPhone": "string",
"maintainer": "string",
"maintainerName": "string",
"maintenanceState": true,
"modelId": 0,
"modelImg": "string",
"modelName": "string",
"place": "string",
"proTargetId": "string",
"productionLineId": 0,
"productionLineName": "string",
"purchaseDate": "2019-08-24T14:15:22Z",
"relateType": "string",
"relateTypeName": "string",
"remark": "string",
"sensorList": [
{
"createDate": "2019-08-24T14:15:22Z",
"deviceId": 0,
"eui": "string",
"id": 0
}
],
"seq": 0,
"simulationImg": "string",
"sort": "string",
"spModel": "string",
"state": 0,
"stateName": "string",
"stateUpdateTime": "2019-08-24T14:15:22Z",
"supplier": "string",
"supplierContactWay": "string",
"tagId": 0,
"targetName": "string",
"typeCode": 0,
"typeName": "string",
"updateBy": "string",
"updateByName": "string",
"updateTime": "2019-08-24T14:15:22Z",
"useState": 0,
"useStateName": "string",
"workCenterEntities": [
{
"aid": 0,
"aname": "string",
"cid": 0,
"code": "string",
"createBy": "string",
"createTime": "2019-08-24T14:15:22Z",
"deviceIds": [
0
],
"deviceModelId": "string",
"deviceRelevanceIds": [
0
],
"deviceRelevanceTypeIds": [
0
],
"id": 0,
"isExistProcedure": true,
"isOperation": true,
"lineModelId": "string",
"lineModelName": "string",
"lineRelevanceIds": [
0
],
"lineRelevanceTypeIds": [
0
],
"magName": "string",
"magNickname": "string",
"magPhone": "string",
"name": "string",
"productionBasicUnit": "string",
"productionBasicUnitDTOList": [
{
"code": "string",
"id": 0,
"isolationId": "string",
"name": "string",
"state": 0,
"stateName": "string",
"type": "string",
"workCenterEntity": {},
"workCenterName": "string"
}
],
"productionLineIds": [
0
],
"productionLineTypeIds": [
0
],
"productionResources": "string",
"relevanceType": "string",
"remark": "string",
"sysTeamIds": [
0
],
"teamRelevanceIds": [
0
],
"type": "string",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22Z"
}
]
}
],
"employeeName": [
"string"
],
"employeeNickname": [
"string"
],
"eui": "string",
"facUser": [
{
"createDate": "2019-08-24T14:15:22Z",
"fid": 0,
"id": 0,
"nickName": "string",
"state": 0,
"stateName": "string",
"updateDate": "2019-08-24T14:15:22Z",
"userName": "string"
}
],
"fcode": "string",
"fcodes": "string",
"fid": 0,
"fname": "string",
"gid": 0,
"gname": "string",
"img": "string",
"isCalConcurrently": true,
"isCheck": 0,
"isDefective": true,
"isInput": true,
"isMain": true,
"isMaintain": true,
"lineOrder": 0,
"linename": "string",
"location": {},
"magName": "string",
"magNickname": "string",
"magPhone": "string",
"maintainSchemeId": 0,
"modelCode": "string",
"modelId": 0,
"modelName": "string",
"networkStatus": 0,
"networkStatusName": "string",
"pauseDuration": 0,
"place": "string",
"productLineCode": "string",
"productionLineId": 0,
"remark": "string",
"runningDuration": 0,
"sensorEntities": [
{
"agreementVersion": "string",
"aid": 0,
"alarmCode": "string",
"alarmCodeName": "string",
"alarmConfig": "string",
"alt": "string",
"arriveTime": "2019-08-24T14:15:22Z",
"bindState": true,
"brand": "string",
"cid": 0,
"createBy": "string",
"createByName": "string",
"createTime": "2019-08-24T14:15:22Z",
"des": "string",
"deviceId": "string",
"eui": "string",
"eventTime": "2019-08-24T14:15:22Z",
"fid": 0,
"firm": "string",
"gatewayId": "string",
"gid": 0,
"heartPeriod": 0,
"id": 0,
"img": "string",
"initSensorValue": "string",
"lat": "string",
"lng": "string",
"lorasnr": "string",
"magName": "string",
"magNickname": "string",
"modelName": "string",
"name": "string",
"online": true,
"packetLossRate": "string",
"parentEui": "string",
"place": "string",
"power": 0,
"powerType": "string",
"powerVoltage": "string",
"productId": "string",
"remark": "string",
"report": {
"alarm": true,
"ename": "string",
"name": "string",
"unit": "string",
"value": 0
},
"rsrp": "string",
"rssi": "string",
"sensorType": 0,
"sensorTypeName": "string",
"sensorValue": "string",
"sp": "string",
"spModel": "string",
"statusCode": "string",
"supportSetDown": true,
"transMode": "string",
"updateBy": "string",
"updateByName": "string",
"updateTime": "2019-08-24T14:15:22Z"
}
],
"seq": 0,
"state": 0,
"sublineId": 0,
"typeOneCode": 0,
"typeOneName": "string",
"typeTwoCode": 0,
"typeTwoName": "string",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22Z"
}
],
"fid": 0,
"gid": 0,
"gname": "string",
"isAutoCompleted": true,
"isCalBeat": true,
"isCalOee": true,
"isIsolateProductBasicUnit": true,
"lineFileUrlList": [
{
"file": "string",
"fileName": "string",
"id": 0,
"productionLineId": 0,
"uploadFileTime": "2019-08-24T14:15:22Z"
}
],
"magName": "string",
"magNickname": "string",
"magPhone": "string",
"materialCheckType": "string",
"materialCheckTypeName": "string",
"modelId": 0,
"modelName": "string",
"name": "string",
"networkStatus": 0,
"networkStatusName": "string",
"place": "string",
"productionLineCode": "string",
"productionLineId": 0,
"scheduleDate": "2019-08-24T14:15:22Z",
"scheduleId": 0,
"state": 0,
"updateBy": "string",
"updateDate": "2019-08-24T14:15:22Z",
"workCenterId": 0,
"workCenterName": "string"
},
"message": "string",
"time": "2019-08-24T14:15:22Z"
}
🟠401没有权限
🟠403禁止访问
🟠404记录不存在
修改于 2025-06-06 01:38:14