payment/batch_get
目录 |
1.接口说明
1.1接口描述
批量获取普通支付单
1.2适用版本
支持U8V12.0 及更高版本
2.使用场景
网银支付
3.接口调用说明
3.1请求说明
| url | https://api.yonyouup.com/api/payment/batch_get |
| 格式 | JSON |
| https请求方式 | GET |
3.2url参数说明
| 参数 | 是否必填 | 类型 | 描述 |
|---|---|---|---|
| from_account | 是 | sting | 调用方id |
| to_account | 是 | string | 提供方id |
| app_key | 是 | string | 应用编码 |
| token | 是 | string | 全局访问唯一识别码 |
| ds_sequence | 否 | number | 数据源序号(默认取应用的第一个数据源) |
| cbillid | 否 | string | 单据编号 |
| dbilldate | 否 | date | 起始单据日期 |
| dbilldate | 否 | date | 结束单据日期 |
| cdepcode | 否 | string | 部门编码 |
| cperson | 否 | string | 职员编码 |
| coperator | 否 | string | 制单人关键字 |
| cexaminer | 否 | string | 复核人关键字 |
| capprover | 否 | string | 审批人关键字 |
| cpayer | 否 | string | 支付人关键字 |
| doperatedate | 否 | date | 起始支付日期 |
| doperatedate | 否 | date | 结束支付日期 |
3.3请求示例
GET https://api.yonyouup.com/api/payment/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=26d2fc4a06844448957a7f8260f3d08b&cbillid=xxxxx&dbilldate=xxxxx&dbilldate=xxxxx&cdepcode=xxxxx&cperson=xxxxx&coperator=xxxxx&cexaminer=xxxxx&capprover=xxxxx&cpayer=xxxxx&doperatedate=xxxxx&doperatedate=xxxxx
3.4返回参数说明
| 参数说明 | 类型 | 参数路径 | 描述 |
|---|---|---|---|
| errcode | string | 错误码,0 为正常。 | |
| errmsg | string | 错误信息。 | |
| cbillid | string | 单据编号 | |
| dbilldate | date | 单据日期 | |
| caccountfrom | string | 支付帐号 | |
| caccountto | string | 收方帐号 | |
| mnativemoney | number | 本币金额 | |
| moriginmoney | number | 原币金额 | |
| cmoneytype | string | 币种 | |
| sexchrate | number | 汇率 | |
| csettle | string | 结算方式 | |
| cdepcode | string | 部门编码 | |
| cperson | string | 职员编码 | |
| citemclass | string | 项目大类编号 | |
| citemcode | string | 项目编码 | |
| cpayspeed | string | 汇款速度 | |
| coperator | string | 制单人 | |
| cexaminer | string | 复核人 | |
| capprover | string | 审批人 | |
| cpayer | string | 支付人 | |
| doperatedate | date | 支付日期 | |
| binner | number | 是否同城 | |
| cnoteno | string | 票据号 | |
| cexpcode | string | 费用项目 | |
| cpurpose | string | 用途 | |
| cappend | string | 附言 | |
| cremark | string | 备注 | |
| 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 |
3.5正确返回示例
JSON示例:
application/json;charset=UTF-8
{
"payment":"",
"page_index":"1",
"rows_per_page":"20",
"row_count":"225",
"errmsg":"",
"page_count":"12",
"errcode":"0"
}
3.6错误返回示例
application/json;charset=UTF-8
{
"errcode":"30021",
"errmsg":"此应用未上线"
}