- 系统功能
- 工程数据
- 车间管理
- 普通生产
- 委外管理
- 销售管理
- 非标生产
- 费用收入单
- 费用支出单
- 费用申请单
- 差旅申请单
- 项目计划
- 进度填报单
- 备品备件领用单
- 工单填报单
- 基础资料查询
- 售后管理
- 项目立项
- 非标制造统计查询接口POST
- 售后统计查询接口POST
- 单据反审核操作POST
- 人力资源
- wms
- 采购管理
- 检斤管理
- 委外工序计划单
- KIS升级
- 工作流
- CRM客户管理
- 首页
- SRM管理
- 基础资料
- 轻MES
- 质量管理
工单执行下推备品备件
POST
/app/mxoc_0001_mxoc_pq/pq_orderexe_push_backup
请求参数
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
操作下推(push)
entryPk
string
取单据id
billdata
object
必需
id
string
取单据id
示例
{
"operation": "push",
"entryPk":"1634800180022794240",
"billdata": {
"id":"1634800180022794240"
}
}
示例代码
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_orderexe_push_backup?access_token=' \
--header 'groupName;' \
--header 'accountid;' \
--header 'X-GW-Router-Addr;' \
--header 'Content-Type: application/json' \
--data-raw '{
"operation": "push",
"entryPk":"1634800180022794240",
"billdata": {
"id":"1634800180022794240"
}
}'
返回响应
🟢200成功
application/json
Body
id
string
单据id
billno
string
单据编号
billstatus
string
单据状态
mxoc_billtype
string
业务类型
billdate
string
单据日期
material_entity.mxoc_picker
string
领料人
material_entity.materialid.number
string
物料编码
material_entity.materialid.name
string
物料名称
material_entity.materialid.model
string
物料规格
material_entity.unit
string
单位
material_entity.stockid.name
string
仓库名称
material_entity.spid.name
string
仓位
material_entity.qty
string
数量
material_entity.unitcost
string
单价
material_entity.mxoc_usablebudgetqty
string
可用预算数量
material_entity.mxoc_budgetunitprice
string
预算单价
material_entity.mxoc_totalbudgetamount
string
总预算金额
material_entity.mxoc_usablebudgetamount
string
可用预算金额
material_entity.mxoc_retiredqty
string
已退数量
material_entity.mxoc_remark
string
备注
material_entity.mxoc_projectnumber
string
项目编码
material_entity.mxoc_projectname
string
项目名称
material_entity.mxoc_taskseq
string
任务行号
material_entity.mxoc_taskname
string
任务名称
material_entity.mxoc_personliable
string
责任人
material_entity.mxoc_servicebillno
string
售后工单编号
material_entity.kfdate
string
生产日期
material_entity.kftype
string
保质期单位
material_entity.kfperiod
string
保质期
material_entity.barcode
string
条形码
material_entity.validdate
string
到期日
material_entity.cost
string
金额
material_entity.mxoc_budgetcontrolmode
string
预算控制模式
material_entity.mxoc_generalbudgetqty
string
总预算数量
示例
{
"success": true,
"reachPlugin": true,
"data": {
"empid_id": "0",
"currencyid_exctype": "2",
"accountchecktime": "",
"payment_entry": [],
"creatorid_masterid": "0",
"totalunsettleamount": "0",
"settlestatus": "A",
"creatorid_name": "张亚楠",
"id": "0",
"currencyid_amtprecision": "5",
"deptid_number": "",
"creatorid_phone": "17349178237",
"currencyid_name": "CNY",
"inputcoefficient_option": "",
"material_entity": [
{
"baseunit_number": "",
"spid_id": "0",
"stockid_name": "",
"auxunitid_name": "",
"srcentryid": "0",
"mxoc_budgetunitprice": "0",
"snlistid": "0",
"mxoc_generalbudgetqty": "0",
"mxoc_projectname": "",
"id": "0",
"mxoc_picker_number": "ZY00364",
"mxoc_personliable": "",
"mxoc_bom_number": "",
"proregno": "",
"unittype": "",
"baseunit_id": "0",
"deffloatunitid_name": "",
"auxpropname": "",
"auxid2_id": "0",
"mxoc_taskseq": "",
"auxid1_number": "",
"auxid5_number": "",
"inputcoefficient": "0",
"auxunitid_number": "",
"auxid3_number": "",
"auxid2_name": "",
"mxoc_usablebudgetamount": "0",
"batchno": "",
"srcbilltypeid_enable": false,
"mxoc_initiateid": "",
"mxoc_remark": "",
"srcseq": "0",
"auxid5_id": "0",
"src_billdate": "2023-03-03 00:00:00",
"auxcoefficient": "0",
"mxoc_bom_name": "",
"stockid_id": "0",
"mxoc_picker_name": "张亚楠",
"sn": "",
"unit_id": "0",
"caculatecoefficient": "0",
"auxqty": "0",
"seq": "1",
"kfperiod": "0",
"materialid_name": "",
"baseqty": "0",
"deffloatunitid_id": "0",
"package1": "",
"auxunittype": "",
"package0": "",
"package3": "",
"subentry": [],
"stockid_number": "",
"package2": "",
"validdate": "",
"settleamountfor": "0",
"auxid2_number": "",
"kftype": "null",
"auxid5_name": "",
"mxoc_servicebillno": "GDZX-20230306-0001",
"materialid_number": "",
"auxpropid_name": "",
"auxid3_id": "0",
"unsettleamountfor": "0",
"sn_list": "",
"srcbilltypeid_name": "工单执行",
"mxoc_taskname": "",
"deffloatunitid_number": "",
"unit_number": "",
"serialqty": "0",
"auxid4_name": "",
"auxpropid_id": "0",
"barcode": "",
"spid_number": "",
"package": " ",
"mxoc_sourceentryid": "",
"allamountfor": "0",
"auxpropid_number": "",
"proplace": "",
"mxoc_usablebudgetqty": "0",
"entrysettlestatus": "A",
"srcbillno": "GDZX-20230306-0001",
"mxoc_picker_id": "1615869513507556352",
"unit_name": "",
"baseunit_name": "",
"qty": "0.0000000000",
"coefficient": "0",
"auxid3_name": "",
"deffloatqty": "0",
"settleamount": "0",
"auxid1_id": "0",
"unitcost": "0",
"mxoc_projectnumber": "",
"srcbilltypeid_id": "mxoc_pq_orderexecution",
"material_entity_lk": [
{
"material_entity_lk_sbillid": "1634800180022794240",
"id": "0",
"material_entity_lk_stableid": "-1269011930093682877",
"seq": "1",
"material_entity_lk_sid": "1634800180022794240"
}
],
"srcbilltypeid_number": "mxoc_pq_orderexecution",
"mxoc_totalbudgetamount": "0",
"srcinterid": "1634800180022794240",
"auxunitid_id": "0",
"mxoc_retiredqty": "0",
"prolicense": "",
"auxid1_name": "",
"srcbilltypeid_modeltype": "BillFormModel",
"cost": "0",
"mxoc_budgetcontrolmode": "",
"kfdate": "",
"mxoc_sourceid": "1634800180022794240",
"auxid4_id": "0",
"spid_name": "",
"allamount": "0",
"unsettleamount": "0",
"auxid4_number": "",
"conversionrate": "",
"mxoc_bom_id": "0",
"materialid_id": "0"
}
],
"requiredinvoice": true,
"currencyid_number": "CNY",
"customerid_rate": "0",
"creatorid_number": "u17349178237",
"accountchecker_number": "",
"mullabel": [
{
"number": "48",
"name": "复购异常",
"id": "48"
}
],
"totalamount": "0",
"customerid_addr": "陕西省西安市雁塔区",
"billdate": "2023-03-06 00:00:00",
"basecurrency_number": "",
"currencyid_enable": "1",
"customerid_invoicetype": "1",
"billno": "BJLL-20230306-0001",
"billtypeid_modeltype": "BillFormModel",
"billsource": "ISV",
"bill_dis_amount": "0",
"invoicestatus": "1",
"empid_number": "",
"supplierid_number": "",
"empid_name": "",
"accountchecker_name": "",
"customerid_number": "CUS0005",
"uninvoiceamount": "0",
"totalamountfor": "0",
"customerid_name": "某某生产制造有限公司",
"mxoc_billtype": "1",
"customerid_id": "1406720347851475968",
"createtime": "2023-03-06 15:06:04",
"billtypeid_number": "mxoc_pq_sparepartsuse",
"billtypeid_id": "mxoc_pq_sparepartsuse",
"basecurrency_id": "0",
"modifierid_id": "0",
"customerid_pinyin": "mmsczzyxgs",
"diffamount": "0",
"totalsettleamount": "0",
"auditorid_id": "0",
"voucherid": "0",
"totalpreamountfor": "0",
"currencyid_priceprecision": "6",
"billtypeid_name": "备品备件领用",
"customerid_bank": "",
"customerid_bankaccount": "",
"deptid_name": "",
"totalinsfinalamountfor": "0",
"customerid_remark": "",
"invoicedamount": "0",
"currencyid_rate": "1",
"customerid_creditlimit": "0",
"totalunsettleamountfor": "0",
"currencyid_isshowsign": false,
"audittime": "",
"billstatus": "Z",
"auditorid_name": "",
"deptid_id": "0",
"customerid_accountopenaddr": "",
"auditorid_number": "",
"currencyid_convertmode": "1",
"supplierid_id": "0",
"supplierid_name": "",
"accountcheck": "0",
"basecurrency_name": "",
"totalpreamount": "0",
"accountchecker_id": "0",
"modifytime": "",
"exchangerate": "1",
"remark": "",
"totalinsfinalamount": "0",
"customerid_enable": "1",
"voucherno": "",
"creatorid_enable": "",
"bill_dis_rate": "0",
"creatorid_id": "9861690",
"modifierid_name": "",
"customerid_fullpinyin": "moumoushengchanzhizaoyouxiangongsi",
"billtypeid_enable": false,
"customerid_taxpayerno": "",
"modifierid_number": "",
"totalsettleamountfor": "0",
"currencyid_id": "1297339258264157184",
"currencyid_sign": "",
"customerid_deduct": false,
"duedate": "",
"diffamountfor": "0",
"creatorid_username": ""
},
"errorCode": "success"
}
🟢200异常示例