1. 获取工单数据

    2. 接口地址:

实际地址(可配置)+/eqinterface.html

如:http://open.thinkerx.com/api/third/eqinterface.html?method=gettech&device_code=daf310b6edd011eba55900163e18d113&order_code=PS-20210616-3

适用厂家:

雷德、天辰、金立星、森曼

测试链接:

http://open.thinkerx.com/api/third/eqinterface.html?method=gettechnew&device_code=2e3d261c317e11eca7eb00163e18d113&order_code=PS-20220214-2

  1. 传入参数

⭐参数传入方式使用GET方式

⭐固定参数表示为必须填入指定的数据的参数

参数名

中文名

数据类型

是否必填

固定参数

说明

Method

方法名

String

getTech

调用的方法名称,如GetTech,可以使用get方式提交参数

token

密钥

String



如:D472AE2C-E667-4564-ACA0-855F1543F7B7

device_code

设备号

String


GUID唯一,如:2369B5C5-831C-478C-A24B-0FA4CBA60302

order_code

工单号

string


PC2007200188

    1. 返回结果

⭐返回的结果数据统一使用JSON格式的数据结构

⭐总结果结构

参数名

中文名

数据类型

说明

success

请求结果

Bool

True表示成功,false表示失败

code

返回号

String

200表示成功非200表示失败

message

消息

String

返回消息体

order

工单号

String

工单号

data

数据结果

Object

详细查看下面数据结果结构体

data数据结果结构

参数名

数据类型

中文名

示例

说明

Version

string

版本号

1.0


Generator

string

创建人

null


Unit

string

单位

毫米


Name

string

名称

null


Bar


型材方案信息



DXF_Name

string

型材代号

002


BarNumber

string

方案编号-顺序累加

1


MaxY

Single

型材宽度

63


MaxZ

Single

型材高度

48.3


Length

Single

方案尺寸-默认6000

6000


Piece


型材信息



PieceNumber

Long

型材信息编号

1


Num

Long

数量-默认1

1


BarCode

String

二维码信息

11740


CtrsX

String

默认0.0

0.0


CtrsYp

String

默认0.0

0.0


CtrsYm

String

默认0.0

0.0


CtrsZ

String

默认0.0

0.0


Mirror

String

默认0.0

0.0


Extra_Pie

String

型材名称+型材位置

测试扇 上


Field1

String

客户名称

无锡经销商


Field2

String

窗号

001


Field3

String

订单号

20220211-2


Field4

String

位置


Field5

String

订单格式

1244


Field6

String

产品系列

测试1


Field7

String

尺寸

1244*824


Field8

String

终端客户



Field9

String

终端地址



Field10

String

颜色



Field11

String

合同号

FG20220211-2


Field12

String

工程地址



Cut


切割信息



Length

Single

切割尺寸

780


sxB

Long

左角度-只能是45/90度

45


dxB

Long

右角度-只能是45/90度

45


sxC

Long

默认90

90


dxC

Long

默认90

90


Work


加工工艺信息



Name

String

加工工艺名称

SXD01


ProfiLav

Long

默认1

1


PositionX

Single

X轴加工位置

750


PositionY

Single

Y轴加工位置-默认0



PositionZ

Single

Z轴加工位置-默认0



{

"success": true,

"code": "200",

"message": "操作成功!",

"Version": "1.0",

"Generator": null,

"Unit": "毫米",

"Name": null,

"Bar": [{

"DXF_Name": "002",

"BarNumber": 1,

"MaxY": 63,

"MaxZ": 48.3,

"length": 6000,

"BarName": "测试扇",

"BarColor": "\/",

"BarLeftLength": 15,

"BarType": 0,

"BarCad": "http:\/\/wincc.oss-cn-qingdao.aliyuncs.com\/Wincc_tianchenshebeiceshi\/material\/profile\/image\/barCad_609bd8b3-83bc-416d-826c-d1ec3ea0ed58.png",

"piece": [{

"PieceNumber": 1,

"Num": 1,

"Over_status": 0,

"BarCode": "11740",

"Customer": "无锡_经销商",

"Cc_code": "001",

"order_code": "20220211-2",

"Buyer": "",

"BuyAddress": "",

"CtrsX": "0.0",

"CtrsYp": "0.0",

"CtrsYm": "0.0",

"Mirror": "0.0",

"Extra_Pie": "测试扇 上",

"Field1": "1,客户名称,无锡_经销商",

"Field2": "1,窗号,001",

"Field3": "1,订单号,20220211-2",

"Field4": "1,位置,上",

"Field5": "1,订单格式,1244",

"Field6": "1,产品系列,测试1",

"Field7": "1,尺寸,1244*824",

"Field8": "1,终端客户,",

"Field9": "1,终端地址,",

"Field10": "1,颜色,",

"Field11": "1,合同号,FG20220211-2",

"cut": {

"Length": "780",

"sxB": "45",

"dxB": "45",

"sxC": 90,

"dxC": 90

},

"work": [{

"Name": "SXD01",

"ProfiLav": 1,

"PositionX": 750,

"PositionY": null,

"PositionZ": null

}, {

"Name": "SZJ01",

"ProfiLav": 1,

"PositionX": 730,

"PositionY": null,

"PositionZ": null

}, {

"Name": "SHJ01",

"ProfiLav": 1,

"PositionX": 700,

"PositionY": null,

"PositionZ": null

}, {

"Name": "SQJ01",

"ProfiLav": 1,

"PositionX": 440,

"PositionY": null,

"PositionZ": null

}, {

"Name": "SQJ01",

"ProfiLav": 1,

"PositionX": 340,

"PositionY": null,

"PositionZ": null

}, {

"Name": "SHJ01",

"ProfiLav": 1,

"PositionX": 80,

"PositionY": null,

"PositionZ": null

}, {

"Name": "SZJ01",

"ProfiLav": 1,

"PositionX": 50,

"PositionY": null,

"PositionZ": null

}, {

"Name": "SXD01",

"ProfiLav": 1,

"PositionX": 30,

"PositionY": null,

"PositionZ": null

}]

}



新格尔累计为
7368555
位用户提供服务

客服热线

联系电话:400-1567-080

微信咨询

扫码在线咨询
企微官网客服在线随时答复

公众号

扫一扫
关注官方公众号

抖音号

扫一扫
关注官方抖音号