privatepayment/batch_get
目录 |
1.接口说明
1.1接口描述
批量获取对私支付单
1.2适用版本
支持U8V12.0 及更高版本
2.使用场景
网银支付
3.接口调用说明
3.1请求说明
url | https://api.yonyouup.com/api/privatepayment/batch_get |
格式 | JSON |
https请求方式 | GET |
3.2url参数说明
参数 | 是否必填 | 类型 | 描述 |
---|---|---|---|
from_account | 是 | sting | 调用方id |
to_account | 是 | string | 提供方id |
app_key | 是 | string | 应用编码 |
token | 是 | string | 全局访问唯一识别码 |
ds_sequence | 否 | number | 数据源序号(默认取应用的第一个数据源) |
cBillID_begin | 否 | string | 起始单据编号 |
cBillID_end | 否 | string | 结束单据编号 |
dBillDate_begin | 否 | date | 起始单据日期 |
dBillDate_end | 否 | date | 结束单据日期 |
cAccountFrom | 否 | string | 支付帐号 |
cSettle | 否 | string | 结算方式 |
cOperator | 否 | string | 制单人关键字 |
cExaminer | 否 | string | 复核人关键字 |
cApprover | 否 | string | 审批人关键字 |
cPayer | 否 | string | 支付人关键字 |
iBuscod | 否 | number | 业务类型 |
3.3请求示例
GET https://api.yonyouup.com/api/privatepayment/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=26d2fc4a06844448957a7f8260f3d08b&cBillID_begin=xxxxx&cBillID_end=xxxxx&dBillDate_begin=xxxxx&dBillDate_end=xxxxx&cAccountFrom=xxxxx&cSettle=xxxxx&cOperator=xxxxx&cExaminer=xxxxx&cApprover=xxxxx&cPayer=xxxxx&iBuscod=xxxxx
3.4返回参数说明
参数说明 | 类型 | 参数路径 | 描述 |
---|---|---|---|
errcode | string | 错误码,0 为正常。 | |
errmsg | string | 错误信息。 | |
cBillID | string | 单据编号 | |
dBillDate | date | 单据日期 | |
cAccountFrom | string | 支付帐号 | |
mNativeMoney | number | 本币金额 | |
mOriginMoney | number | 原币金额 | |
cMoneyType | string | 币种 | |
sExchRate | number | 汇率 | |
cSettle | string | 结算方式 | |
cPaySpeed | string | 汇款速度 | |
cOperator | string | 制单人 | |
cExaminer | string | 复核人 | |
cApprover | string | 审批人 | |
cPayer | string | 支付人 | |
dOperateDate | date | 支付日期 | |
cNoteNo | string | 票据号 | |
cAppend | string | 用途 | |
iBuscod | number | 业务类型 | |
iCrdttyp | number | 代发卡类型 | |
define1 | string | 自定义项1 | |
define2 | string | 自定义项2 | |
define3 | string | 自定义项3 | |
define4 | date | 自定义项4 | |
define5 | number | 自定义项5 | |
define6 | date | 自定义项6 | |
define7 | number | 自定义项7 | |
define8 | string | 自定义项8 | |
define9 | string | 自定义项9 | |
define10 | string | 自定义项10 | |
define11 | string | 自定义项11 | |
define12 | string | 自定义项12 | |
define13 | string | 自定义项13 | |
define14 | string | 自定义项14 | |
define15 | number | 自定义项15 | |
define16 | number | 自定义项16 | |
cAccountTo | string | entry | 收方帐号 |
cAccountToName | string | entry | 收方名称 |
mOriginMoney | number | entry | 原币金额 |
cExpCode | string | entry | 费用项目 |
cDepCode | string | entry | 部门编码 |
cPerson | string | entry | 职员编码 |
cItemClass | string | entry | 项目大类编号 |
cItemCode | string | entry | 项目编码 |
cItemCodeName | string | entry | 项目 |
cPurpose | string | entry | 用途 |
cRemark | string | entry | 备注 |
define22 | string | entry | 表体自定义项1 |
define23 | string | entry | 表体自定义项2 |
define24 | string | entry | 表体自定义项3 |
define25 | string | entry | 表体自定义项4 |
define26 | number | entry | 表体自定义项5 |
define27 | number | entry | 表体自定义项6 |
define28 | string | entry | 表体自定义项7 |
define29 | string | entry | 表体自定义项8 |
define30 | string | entry | 表体自定义项9 |
define31 | string | entry | 表体自定义项10 |
define32 | string | entry | 表体自定义项11 |
define33 | string | entry | 表体自定义项12 |
define34 | number | entry | 表体自定义项13 |
define35 | number | entry | 表体自定义项14 |
define36 | date | entry | 表体自定义项15 |
define37 | date | entry | 表体自定义项16 |
3.5正确返回示例
JSON示例:
application/json;charset=UTF-8 { "page_index":"1", "rows_per_page":"20", "row_count":"225", "errmsg":"", "privatepayment":[ { "define1":"", "define2":"", "define3":"", "define4":"", "define5":"", "define6":"", "define7":"", "define16":"", "define8":"", "define9":"", "define15":"", "define14":"", "define13":"", "define12":"", "define11":"", "define10":"", "entry":[ { "define24":"", "define23":"", "define26":"", "define25":"", "define22":"", "define29":"", "define27":"", "define28":"", "define33":"", "define32":"", "define31":"", "define30":"", "define37":"", "define36":"", "define35":"", "define34":"" }, { "define24":"", "define23":"", "define26":"", "define25":"", "define22":"", "define29":"", "define27":"", "define28":"", "define33":"", "define32":"", "define31":"", "define30":"", "define37":"", "define36":"", "define35":"", "define34":"" } ] }, { "define1":"", "define2":"", "define3":"", "define4":"", "define5":"", "define6":"", "define7":"", "define16":"", "define8":"", "define9":"", "define15":"", "define14":"", "define13":"", "define12":"", "define11":"", "define10":"", "entry":[ { "define24":"", "define23":"", "define26":"", "define25":"", "define22":"", "define29":"", "define27":"", "define28":"", "define33":"", "define32":"", "define31":"", "define30":"", "define37":"", "define36":"", "define35":"", "define34":"" }, { "define24":"", "define23":"", "define26":"", "define25":"", "define22":"", "define29":"", "define27":"", "define28":"", "define33":"", "define32":"", "define31":"", "define30":"", "define37":"", "define36":"", "define35":"", "define34":"" } ] } ], "page_count":"12", "errcode":"0" }
3.6错误返回示例
application/json;charset=UTF-8 { "errcode":"30021", "errmsg":"此应用未上线" }