- 系统功能
- 工程数据
- 车间管理
- 普通生产
- 委外管理
- 销售管理
- 非标生产
- 费用收入单
- 费用支出单
- 费用申请单
- 差旅申请单
- 项目计划
- 进度填报单
- 备品备件领用单
- 工单填报单
- 基础资料查询
- 售后管理
- 项目立项
- 非标制造统计查询接口POST
- 售后统计查询接口POST
- 单据反审核操作POST
- 人力资源
- wms
- 采购管理
- 检斤管理
- 委外工序计划单
- KIS升级
- 工作流
- CRM客户管理
- 首页
- SRM管理
- 基础资料
- 轻MES
- 质量管理
差旅申请单审核
POST
/mxoc_0001_mxoc_pq/mxoc_pq_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": "audit",
"formid": "mxoc_travelapply",
"billdata": {
"billstatus": "A",
"mxoc_remark": "",
"entryentity": [{
"mxoc_itemnumber": "XMJH-20221202-0001",
"mxoc_budcontrolmode": "",
"mxoc_businesstravel": "1000",
"mxoc_currency_isshowsign": false,
"mxoc_taskname": "蓝图设计",
"mxoc_reimburseamount": "14000",
"mxoc_settlementmode": "A",
"mxoc_entryremark": "",
"mxoc_applicant_number": "TTZY00282",
"mxoc_applicant_name": "吴本峰",
"mxoc_airticket": "10000",
"mxoc_taskid": "1566543033959188480",
"mxoc_expensestatus": "A",
"mxoc_itemname": "测试设备安装",
"mxoc_responsibleman_id": "1561655277323813888",
"mxoc_currency_id": "1297339258264157184",
"mxoc_currency_amtprecision": "5",
"mxoc_avabudgetamount": "0",
"mxoc_responsibleman_number": "TTZY00282",
"mxoc_taskseq": "3",
"mxoc_costitem_id": "1408090291465958400",
"mxoc_costdepartent_number": "ZS",
"mxoc_applyamount": "14000",
"mxoc_costitem_name": "差旅费",
"mxoc_startdate": "2022-12-01 00:00:00",
"mxoc_applicant_id": "1561655277323813888",
"mxoc_othercost": "1000",
"mxoc_currency_name": "CNY",
"mxoc_travelallowance": "0",
"mxoc_currency_number": "CNY",
"mxoc_vouchamount": "14000",
"mxoc_totalbudgetamount": "0",
"mxoc_itemid": "1566544181109720064",
"mxoc_currency_priceprecision": "6",
"mxoc_othertrafficcost": "1000",
"mxoc_quarterage": "1000",
"mxoc_responsibleman_name": "吴本峰",
"mxoc_costdepartent_name": "注塑部",
"mxoc_departuresite": "123",
"mxoc_currency_sign": "",
"mxoc_paystatus": "A",
"mxoc_costdepartent_id": "1486173089560586240",
"mxoc_destination": "141",
"mxoc_enddate": "2022-12-31 00:00:00",
"mxoc_paidamount": "0",
"mxoc_costitem_number": "ZCXM-20220427-0001"
}],
"id":"1586857358976376832", //如果直接点击审核按钮(id不需要传),如果先保存后审核(这里需要传对应的id)
"billno": "CLSQ-20221230-0001"
}
}
示例代码
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/mxoc_pq_operate?access_token=' \
--header 'groupName;' \
--header 'accountid;' \
--header 'X-GW-Router-Addr;' \
--header 'Content-Type: text/plain' \
--data-raw '{
"operation": "audit",
"formid": "mxoc_travelapply",
"billdata": {
"billstatus": "A",
"mxoc_remark": "",
"entryentity": [{
"mxoc_itemnumber": "XMJH-20221202-0001",
"mxoc_budcontrolmode": "",
"mxoc_businesstravel": "1000",
"mxoc_currency_isshowsign": false,
"mxoc_taskname": "蓝图设计",
"mxoc_reimburseamount": "14000",
"mxoc_settlementmode": "A",
"mxoc_entryremark": "",
"mxoc_applicant_number": "TTZY00282",
"mxoc_applicant_name": "吴本峰",
"mxoc_airticket": "10000",
"mxoc_taskid": "1566543033959188480",
"mxoc_expensestatus": "A",
"mxoc_itemname": "测试设备安装",
"mxoc_responsibleman_id": "1561655277323813888",
"mxoc_currency_id": "1297339258264157184",
"mxoc_currency_amtprecision": "5",
"mxoc_avabudgetamount": "0",
"mxoc_responsibleman_number": "TTZY00282",
"mxoc_taskseq": "3",
"mxoc_costitem_id": "1408090291465958400",
"mxoc_costdepartent_number": "ZS",
"mxoc_applyamount": "14000",
"mxoc_costitem_name": "差旅费",
"mxoc_startdate": "2022-12-01 00:00:00",
"mxoc_applicant_id": "1561655277323813888",
"mxoc_othercost": "1000",
"mxoc_currency_name": "CNY",
"mxoc_travelallowance": "0",
"mxoc_currency_number": "CNY",
"mxoc_vouchamount": "14000",
"mxoc_totalbudgetamount": "0",
"mxoc_itemid": "1566544181109720064",
"mxoc_currency_priceprecision": "6",
"mxoc_othertrafficcost": "1000",
"mxoc_quarterage": "1000",
"mxoc_responsibleman_name": "吴本峰",
"mxoc_costdepartent_name": "注塑部",
"mxoc_departuresite": "123",
"mxoc_currency_sign": "",
"mxoc_paystatus": "A",
"mxoc_costdepartent_id": "1486173089560586240",
"mxoc_destination": "141",
"mxoc_enddate": "2022-12-31 00:00:00",
"mxoc_paidamount": "0",
"mxoc_costitem_number": "ZCXM-20220427-0001"
}],
"id":"1586857358976376832", //如果直接点击审核按钮(id不需要传),如果先保存后审核(这里需要传对应的id)
"billno": "CLSQ-20221230-0001"
}
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"success": true,
"reachPlugin": true,
"data": {
"id": "1586857358976376832"
},
"errorCode": "success"
}
🟢200异常示例