- 系统功能
- 工程数据
- 车间管理
- 普通生产
- 委外管理
- 销售管理
- 非标生产
- 费用收入单
- 费用支出单
- 费用申请单
- 差旅申请单
- 项目计划
- 进度填报单
- 备品备件领用单
- 工单填报单
- 基础资料查询
- 售后管理
- 项目立项
- 非标制造统计查询接口POST
- 售后统计查询接口POST
- 单据反审核操作POST
- 人力资源
- wms
- 采购管理
- 检斤管理
- 委外工序计划单
- KIS升级
- 工作流
- CRM客户管理
- 首页
- SRM管理
- 基础资料
- 轻MES
- 质量管理
工单执行保存
POST
/app/mxoc_0001_mxoc_pq/pq_orderexecution_operate
请求参数
Query 参数
access_token
string
必需
默认值:
{{access_token}}
Header 参数
groupName
string
必需
默认值:
{{groupName}}
Content-Type
string
必需
默认值:
{{Content-Type}}
accountid
string
必需
默认值:
{{accountId}}
X-GW-Router-Addr
string
必需
默认值:
{{X-GW-Router-Addr}}
Body 参数application/json
operation
string
操作(save/audit)
billdata
object
必需
id
string
单据id
billno
string
单据编号
billdate
string
单据日期
mxoc_reqtype
string
请求类型
billstatus
string
状态
mxoc_customer_id
string
客户id
mxoc_customer_number
string
客户编码
mxoc_customer_name
string
客户名称
mxoc_contacts
string
联系人
mxoc_mobilephone
string
联系人手机
mxoc_address
string
地址
mxoc_happendtime
string
故障发生时间
mxoc_solutiontime
string
要求解决时间
mxoc_urgencydegree
string
紧急程度
mxoc_distinguish
string
对象区分
mxoc_salcontract_id
string
销售合同ID
mxoc_salcontract_number
string
销售合同编码
mxoc_salcontract_name
null
销售合同名称
mxoc_projectname
string
项目名称
mxoc_txtmateriel
string
产品
mxoc_materiel_id
string
产品基础资料id
mxoc_materiel_number
string
产品基础资料编码
mxoc_materiel_name
string
产品基础资料名称
mxoc_prosernum
string
项目名称
mxoc_unit_id
string
单位id
mxoc_unit_number
string
单位编码
mxoc_unit_name
string
单位名称
mxoc_qty
string
数量
mxoc_isguaranteeperiod
string
是否质保期内
mxoc_knowledgebase_id
string
故障代码ID
mxoc_knowledgebase_number
string
故障代码编码
mxoc_knowledgebase_name
string
故障代码名称
mxoc_knowledgebase_mxoc_proposedscheme
string
建议解决方案
mxoc_ispush
boolean
是否已下推
mxoc_result
string
售后类型
mxoc_engineerm_id
string
售后工程师id
mxoc_engineerm_number
string
售后工程师id
mxoc_engineerm_name
string
售后工程师id
mxoc_progress
string
处理进度
mxoc_requestcontent
string
服务请求内容
示例
{
"operation": "save",
"billdata": {
"id": "0",
"billno": "GDZX-20230306-0001",
"billdate": "2023-03-03 00:00:00",
"mxoc_reqtype": "D",
"billstatus": "A",
"mxoc_customer_id": "1406720347851475968",
"mxoc_customer_number": "CUS0005",
"mxoc_customer_name": "某某生产制造有限公司",
"mxoc_contacts": "张",
"mxoc_mobilephone": "15689756586",
"mxoc_address": "陕西西安",
"mxoc_happendtime": "2023-03-03 11:31:41",
"mxoc_solutiontime": "2023-03-10 11:31:41",
"mxoc_urgencydegree": "A",
"mxoc_distinguish": "A",
"mxoc_salcontract_id": "1437762458033940480",
"mxoc_salcontract_number": "XSHT-20220607-0001",
"mxoc_salcontract_name": null,
"mxoc_projectname": "西安ERP实施",
"mxoc_txtmateriel": "电脑",
"mxoc_materiel_id": "1344253267273580544",
"mxoc_materiel_number": "1700004",
"mxoc_materiel_name": "电脑",
"mxoc_prosernum": "",
"mxoc_unit_id": "1328961625708874752",
"mxoc_unit_number": "套",
"mxoc_unit_name": "套",
"mxoc_qty": "1",
"mxoc_isguaranteeperiod": "A",
"mxoc_knowledgebase_id": "1462211358224330752",
"mxoc_knowledgebase_number": "ZSKGL-0012",
"mxoc_knowledgebase_name": "无法打开",
"mxoc_knowledgebase_mxoc_proposedscheme": "查看电源",
"mxoc_ispush": false,
"mxoc_result": "C",
"mxoc_engineerm_id": "1632510053338672128",
"mxoc_engineerm_number": "GCSGL-0010",
"mxoc_engineerm_name": "张亚楠",
"mxoc_progress": "B",
"mxoc_requestcontent": ""
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/app/mxoc_0001_mxoc_pq/pq_orderexecution_operate?access_token=' \
--header 'groupName;' \
--header 'accountid;' \
--header 'X-GW-Router-Addr;' \
--header 'Content-Type: application/json' \
--data-raw '{
"operation": "save",
"billdata": {
"id": "0",
"billno": "GDZX-20230306-0001",
"billdate": "2023-03-03 00:00:00",
"mxoc_reqtype": "D",
"billstatus": "A",
"mxoc_customer_id": "1406720347851475968",
"mxoc_customer_number": "CUS0005",
"mxoc_customer_name": "某某生产制造有限公司",
"mxoc_contacts": "张",
"mxoc_mobilephone": "15689756586",
"mxoc_address": "陕西西安",
"mxoc_happendtime": "2023-03-03 11:31:41",
"mxoc_solutiontime": "2023-03-10 11:31:41",
"mxoc_urgencydegree": "A",
"mxoc_distinguish": "A",
"mxoc_salcontract_id": "1437762458033940480",
"mxoc_salcontract_number": "XSHT-20220607-0001",
"mxoc_salcontract_name": null,
"mxoc_projectname": "西安ERP实施",
"mxoc_txtmateriel": "电脑",
"mxoc_materiel_id": "1344253267273580544",
"mxoc_materiel_number": "1700004",
"mxoc_materiel_name": "电脑",
"mxoc_prosernum": "",
"mxoc_unit_id": "1328961625708874752",
"mxoc_unit_number": "套",
"mxoc_unit_name": "套",
"mxoc_qty": "1",
"mxoc_isguaranteeperiod": "A",
"mxoc_knowledgebase_id": "1462211358224330752",
"mxoc_knowledgebase_number": "ZSKGL-0012",
"mxoc_knowledgebase_name": "无法打开",
"mxoc_knowledgebase_mxoc_proposedscheme": "查看电源",
"mxoc_ispush": false,
"mxoc_result": "C",
"mxoc_engineerm_id": "1632510053338672128",
"mxoc_engineerm_number": "GCSGL-0010",
"mxoc_engineerm_name": "张亚楠",
"mxoc_progress": "B",
"mxoc_requestcontent": ""
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"success": true,
"reachPlugin": true,
"data": {
"id": "1634800180022794240"
},
"errorCode": "success"
}
🟢200异常示例