- 系统功能
- 工程数据
- 车间管理
- 普通生产
- 委外管理
- 销售管理
- 非标生产
- 费用收入单
- 费用支出单
- 费用申请单
- 差旅申请单
- 项目计划
- 进度填报单
- 备品备件领用单
- 工单填报单
- 基础资料查询
- 售后管理
- 项目立项
- 非标制造统计查询接口POST
- 售后统计查询接口POST
- 单据反审核操作POST
- 人力资源
- wms
- 采购管理
- 检斤管理
- 委外工序计划单
- KIS升级
- 工作流
- CRM客户管理
- 首页
- SRM管理
- 基础资料
- 轻MES
- 质量管理
项目计划下推备品备件领用单
POST
/mxoc_0001_mxoc_pq/backup_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 参数text/plain
示例
示例值:{
"operation": "push",
"entryPk":"1576823570380711936",
"billdata": {
"id":"1576825137666287616"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/mxoc_0001_mxoc_pq/backup_operate?access_token=' \
--header 'groupName;' \
--header 'accountid;' \
--header 'X-GW-Router-Addr;' \
--header 'Content-Type: text/plain' \
--data-raw '{
"operation": "push",
"entryPk":"1576823570380711936",
"billdata": {
"id":"1576825137666287616"
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"success": true,
"reachPlugin": true,
"data": {
"billtypeid_name": "备品备件领用",
"deptid_name": "",
"totalinsfinalamountfor": "0",
"empid_id": "0",
"currencyid_exctype": "2",
"accountchecktime": "",
"invoicedamount": "0",
"payment_entry": [],
"creatorid_masterid": "0",
"totalunsettleamount": "0",
"settlestatus": "A",
"currencyid_rate": "1",
"totalunsettleamountfor": "0",
"creatorid_name": "田泽豪",
"currencyid_isshowsign": false,
"id": "0",
"currencyid_amtprecision": "5",
"deptid_number": "",
"audittime": "",
"creatorid_phone": "18829482923",
"currencyid_name": "CNY",
"billstatus": "A",
"inputcoefficient_option": "",
"auditorid_name": "",
"material_entity": [
{
"baseunit_number": "",
"spid_id": "0",
"stockid_name": "",
"auxunitid_name": "",
"srcentryid": "0",
"mxoc_budgetunitprice": "0",
"snlistid": "0",
"mxoc_generalbudgetqty": "0",
"mxoc_projectname": "测试wb",
"id": "0",
"mxoc_picker_number": "TTZY-1113",
"mxoc_personliable": "王七",
"unittype": "",
"baseunit_id": "0",
"deffloatunitid_name": "",
"auxpropname": "",
"auxid2_id": "0",
"mxoc_taskseq": "4",
"auxid1_number": "",
"auxid5_number": "",
"inputcoefficient": "0",
"auxunitid_number": "",
"auxid3_number": "",
"auxid2_name": "",
"mxoc_usablebudgetamount": "0",
"batchno": "",
"mxoc_initiateid": "",
"mxoc_remark": "",
"srcseq": "0",
"auxid5_id": "0",
"src_billdate": "",
"auxcoefficient": "0",
"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": "",
"stockid_number": "",
"package2": "",
"validdate": "",
"settleamountfor": "0",
"auxid2_number": "",
"kftype": "",
"auxid5_name": "",
"mxoc_servicebillno": "",
"materialid_number": "",
"auxpropid_name": "",
"auxid3_id": "0",
"unsettleamountfor": "0",
"sn_list": "",
"srcbilltypeid_name": "",
"mxoc_taskname": "任务2",
"deffloatunitid_number": "",
"unit_number": "",
"serialqty": "0",
"auxid4_name": "",
"auxpropid_id": "0",
"barcode": "",
"spid_number": "",
"package": " ",
"mxoc_sourceentryid": "1576823570380711936",
"allamountfor": "0",
"auxpropid_number": "",
"mxoc_usablebudgetqty": "0",
"entrysettlestatus": "A",
"srcbillno": "",
"mxoc_picker_id": "1561655277005046784",
"unit_name": "",
"baseunit_name": "",
"qty": "0.0000000000",
"coefficient": "0",
"auxid3_name": "",
"deffloatqty": "0",
"settleamount": "0",
"auxid1_id": "0",
"unitcost": "0",
"mxoc_projectnumber": "XMJH-20221216-0001",
"srcbilltypeid_id": "0",
"material_entity_lk": [
{
"material_entity_lk_sbillid": "1576825137666287616",
"id": "0",
"material_entity_lk_stableid": "6472243047508068251",
"seq": "1",
"material_entity_lk_sid": "1576823570380711936"
}
],
"srcbilltypeid_number": "",
"mxoc_totalbudgetamount": "0",
"srcinterid": "0",
"auxunitid_id": "0",
"mxoc_retiredqty": "0",
"auxid1_name": "",
"cost": "0",
"mxoc_budgetcontrolmode": "",
"kfdate": "",
"mxoc_sourceid": "1576825137666287616",
"auxid4_id": "0",
"spid_name": "",
"allamount": "0",
"unsettleamount": "0",
"auxid4_number": "",
"conversionrate": "",
"materialid_id": "0"
}
],
"requiredinvoice": true,
"currencyid_number": "CNY",
"deptid_id": "0",
"creatorid_number": "u18829482923",
"accountchecker_number": "",
"totalamount": "0",
"auditorid_number": "",
"billdate": "2023-01-06 00:00:00",
"basecurrency_number": "",
"currencyid_enable": "1",
"currencyid_convertmode": "1",
"supplierid_id": "0",
"supplierid_name": "",
"accountcheck": "0",
"billno": "BJLL-20230106-0002",
"billtypeid_modeltype": "BillFormModel",
"billsource": "ISV",
"basecurrency_name": "",
"totalpreamount": "0",
"bill_dis_amount": "0",
"invoicestatus": "1",
"empid_number": "",
"accountchecker_id": "0",
"supplierid_number": "",
"modifytime": "",
"exchangerate": "1",
"empid_name": "",
"remark": "",
"totalinsfinalamount": "0",
"accountchecker_name": "",
"customerid_number": "",
"uninvoiceamount": "0",
"totalamountfor": "0",
"creatorid_enable": "",
"customerid_name": "",
"bill_dis_rate": "0",
"mxoc_billtype": "0",
"creatorid_id": "10396924",
"modifierid_name": "",
"billtypeid_enable": false,
"customerid_id": "0",
"createtime": "2023-01-06 11:10:21",
"modifierid_number": "",
"billtypeid_number": "mxoc_pq_sparepartsuse",
"billtypeid_id": "mxoc_pq_sparepartsuse",
"basecurrency_id": "0",
"totalsettleamountfor": "0",
"currencyid_id": "1297339258264157184",
"currencyid_sign": "",
"modifierid_id": "0",
"diffamount": "0",
"totalsettleamount": "0",
"auditorid_id": "0",
"voucherid": "0",
"duedate": "",
"diffamountfor": "0",
"creatorid_username": "",
"totalpreamountfor": "0",
"currencyid_priceprecision": "6"
},
"errorCode": "success"
}
🟢200异常示例
修改于 2023-08-29 11:52:23