- 系统功能
- 工程数据
- 车间管理
- 普通生产
- 委外管理
- 销售管理
- 非标生产
- 费用收入单
- 费用支出单
- 费用申请单
- 差旅申请单
- 项目计划
- 进度填报单
- 备品备件领用单
- 工单填报单
- 基础资料查询
- 售后管理
- 项目立项
- 非标制造统计查询接口POST
- 售后统计查询接口POST
- 单据反审核操作POST
- 人力资源
- wms
- 采购管理
- 检斤管理
- 委外工序计划单
- KIS升级
- 工作流
- CRM客户管理
- 首页
- SRM管理
- 基础资料
- 轻MES
- 质量管理
备品备件领用详情
POST
/mxoc_0001_mxoc_pq/backup_query
请求参数
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
示例
示例值:{
"id":"1591518046361500672"
}
示例代码
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_query?access_token=' \
--header 'groupName;' \
--header 'accountid;' \
--header 'X-GW-Router-Addr;' \
--header 'Content-Type: text/plain' \
--data-raw '{
"id":"1591518046361500672"
}'
返回响应
🟢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": {
"billtypeid_name": "备品备件领用",
"deptid_name": "",
"totalinsfinalamountfor": "0",
"empid_id": "0",
"accountchecktime": "",
"invoicedamount": "0",
"payment_entry": [],
"totalunsettleamount": "0",
"settlestatus": "A",
"totalunsettleamountfor": "0",
"creatorid_name": "田泽豪",
"id": "1591518046361500672",
"deptid_number": "",
"audittime": "",
"currencyid_name": "",
"billstatus": "C",
"inputcoefficient_option": "",
"auditorid_name": "",
"material_entity": [
{
"baseunit_number": "G",
"spid_id": "0",
"stockid_name": "委外库",
"auxunitid_name": "",
"srcentryid": "0",
"mxoc_budgetunitprice": "0",
"snlistid": "0",
"mxoc_generalbudgetqty": "0",
"mxoc_projectname": "测试wb",
"id": "1591518050446828544",
"mxoc_picker_number": "TTZY00295",
"mxoc_personliable": "春秋",
"unittype": "0",
"baseunit_id": "1310738184304343040",
"deffloatunitid_name": "",
"auxpropname": "",
"auxid2_id": "0",
"mxoc_taskseq": "3",
"auxid1_number": "",
"mullabel": [],
"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": "1297856942189894656",
"mxoc_picker_name": "春秋",
"sn": "",
"unit_id": "1310738184304343040",
"caculatecoefficient": "0",
"auxqty": "0",
"seq": "1",
"kfperiod": "0",
"materialid_name": "111111111111112",
"baseqty": "2",
"deffloatunitid_id": "0",
"package1": "",
"auxunittype": "0",
"package0": "",
"package3": "",
"subentry": [],
"stockid_number": "CK00002",
"package2": "",
"validdate": "",
"settleamountfor": "0",
"auxid2_number": "",
"kftype": "",
"auxid5_name": "",
"mxoc_servicebillno": "",
"materialid_number": "40PEB7233SA012",
"materialid_model": "",
"auxpropid_name": "",
"auxid3_id": "0",
"unsettleamountfor": "0",
"sn_list": "",
"srcbilltypeid_name": "",
"mxoc_taskname": "任务1-1",
"deffloatunitid_number": "",
"unit_number": "G",
"serialqty": "0",
"auxid4_name": "",
"auxpropid_id": "0",
"barcode": "",
"spid_number": "",
"package": "",
"mxoc_sourceentryid": "1576823591897491456",
"allamountfor": "0",
"auxpropid_number": "",
"mxoc_usablebudgetqty": "0",
"entrysettlestatus": "A",
"srcbillno": "",
"mxoc_picker_id": "1561655277768427521",
"unit_name": "G",
"baseunit_name": "G",
"qty": "2.0000000000",
"coefficient": "1",
"materialid_helpcode": "111111111111112",
"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": "1591518050446850048",
"material_entity_lk_stableid": "6472243047508068251",
"seq": "3",
"material_entity_lk_sid": "1576823591897491456"
}
],
"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": "1571060200759107584"
}
],
"requiredinvoice": true,
"currencyid_number": "",
"deptid_id": "0",
"creatorid_number": "u18829482923",
"accountchecker_number": "",
"totalamount": "0",
"auditorid_number": "",
"billdate": "2023-01-05 00:00:00",
"basecurrency_number": "",
"supplierid_id": "0",
"supplierid_name": "",
"accountcheck": "0",
"billno": "BJLL-20231225-0008",
"billsource": "ISV",
"basecurrency_name": "",
"totalpreamount": "0",
"bill_dis_amount": "0",
"invoicestatus": "1",
"empid_number": "",
"accountchecker_id": "0",
"supplierid_number": "",
"modifytime": "2023-01-05 21:02:17",
"exchangerate": "1",
"empid_name": "",
"remark": "",
"totalinsfinalamount": "0",
"accountchecker_name": "",
"customerid_number": "",
"uninvoiceamount": "0",
"totalamountfor": "0",
"customerid_name": "",
"bill_dis_rate": "0",
"mxoc_billtype": "",
"creatorid_id": "10396924",
"modifierid_name": "田泽豪",
"customerid_id": "0",
"createtime": "2023-01-05 21:02:16",
"modifierid_number": "u18829482923",
"billtypeid_number": "mxoc_pq_sparepartsuse",
"billtypeid_id": "mxoc_pq_sparepartsuse",
"basecurrency_id": "0",
"totalsettleamountfor": "0",
"currencyid_id": "0",
"modifierid_id": "10396924",
"diffamount": "0",
"totalsettleamount": "0",
"auditorid_id": "0",
"voucherid": "0",
"duedate": "",
"diffamountfor": "0",
"totalpreamountfor": "0"
},
"errorCode": "success"
}
🟢200异常示例