payrequestlist/batch_get
目录 |
1.接口说明
1.1接口描述
获取付款申请单列表
1.2适用版本
支持U8V12.0 及更高版本
2.使用场景
订购应用
3.接口调用说明
3.1请求说明
url | https://api.yonyouup.com/api/payrequestlist/batch_get |
格式 | JSON |
https请求方式 | GET |
3.2url参数说明
参数 | 是否必填 | 类型 | 描述 |
---|---|---|---|
from_account | 是 | sting | 调用方id |
to_account | 是 | string | 提供方id |
app_key | 是 | string | 应用编码 |
token | 是 | string | 全局访问唯一识别码 |
ds_sequence | 否 | number | 数据源序号(默认取应用的第一个数据源) |
code_begin | 否 | string | 起始单据编号 |
code_end | 否 | string | 结束单据编号 |
date_begin | 否 | date | 起始单据日期 |
date_end | 否 | date | 结束单据日期 |
cvouchtype | 否 | string | 单据类型 |
cdwcode | 否 | string | 供应商编码 |
cvenabbname | 否 | string | 供应商 |
cdepcode | 否 | string | 部门编码 |
cdepname | 否 | string | 部门 |
csscode | 否 | string | 结算方式编号 |
cssname | 否 | string | 结算方式 |
ccode | 否 | string | 结算科目 |
citemcode | 否 | string | 项目编码 |
citemname | 否 | string | 项目名称关键字 |
citem_class | 否 | string | 项目大类编号 |
citem_name | 否 | string | 项目大类 |
cdigest | 否 | string | 备注关键字 |
istate | 否 | number | 单据状态 |
iverifystate | 否 | number | 审批状态 |
ibustype | 否 | number | 业务类型编号 |
cbustype | 否 | string | 业务类型 |
ipaytype | 否 | number | 付款类型编号 |
cpaytype | 否 | string | 付款类型 |
cagentcuscode | 否 | string | 代理商编码 |
3.3请求示例
GET https://api.yonyouup.com/api/payrequestlist/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=26d2fc4a06844448957a7f8260f3d08b&code_begin=xxxxx&code_end=xxxxx&date_begin=xxxxx&date_end=xxxxx&cvouchtype=xxxxx&cdwcode=xxxxx&cvenabbname=xxxxx&cdepcode=xxxxx&cdepname=xxxxx&csscode=xxxxx&cssname=xxxxx&ccode=xxxxx&citemcode=xxxxx&citemname=xxxxx&citem_class=xxxxx&citem_name=xxxxx&cdigest=xxxxx&istate=xxxxx&iverifystate=xxxxx&ibustype=xxxxx&cbustype=xxxxx&ipaytype=xxxxx&cpaytype=xxxxx&cagentcuscode=xxxxx
3.4返回参数说明
参数说明 | 类型 | 参数路径 | 描述 |
---|---|---|---|
errcode | string | 错误码,0 为正常。 | |
errmsg | string | 错误信息。 | |
pid | number | 主表标识 | |
csource | string | 来源 | |
cvouchtype | string | 单据类型 | |
ctypename | string | 类型名称 | |
cvouchid | string | 单据编号 | |
dvouchdate | date | 单据日期 | |
cdwcode | string | 供应商编码 | |
cvenabbname | string | 供应商 | |
cvenname | string | 供应商全称 | |
cdepcode | string | 部门编码 | |
cdepname | string | 部门 | |
cperson | string | 业务员编码 | |
cpersonname | string | 业务员 | |
csscode | string | 结算方式编号 | |
cssname | string | 结算方式 | |
ccode | string | 结算科目 | |
citemcode | string | 项目编码 | |
citemname | string | 项目名称 | |
citem_class | string | 项目大类编号 | |
citem_name | string | 项目大类 | |
cdigest | string | 备注 | |
cexch_name | string | 币种 | |
iexchrate | number | 汇率 | |
cflag | string | 应收应付标志 | |
ccheckman | string | 审核人 | |
coperator | string | 制单人 | |
cbank | string | 对方银行 | |
cbankaccount | string | 对方银行帐号 | |
cnatbank | string | 本单位开户银行 | |
cnatbankaccount | string | 本单位开户银行帐号 | |
bstartflag | number | 期初标志 | |
cdefine1 | string | 自定义项1 | |
cdefine2 | string | 自定义项2 | |
cdefine3 | string | 自定义项3 | |
cdefine4 | date | 自定义项4 | |
cdefine5 | number | 自定义项5 | |
cdefine6 | date | 自定义项6 | |
cdefine7 | number | 自定义项7 | |
cdefine8 | string | 自定义项8 | |
cdefine9 | string | 自定义项9 | |
cdefine10 | string | 自定义项10 | |
cdefine11 | string | 自定义项11 | |
cdefine12 | string | 自定义项12 | |
cdefine13 | string | 自定义项13 | |
cdefine14 | string | 自定义项14 | |
cdefine15 | number | 自定义项15 | |
cdefine16 | number | 自定义项16 | |
dcreatesystime | date | 制单时间 | |
dverifysystime | date | 审核时间 | |
dmodifysystime | date | 修改时间 | |
cmodifier | string | 修改人 | |
dmoddate | date | 修改日期 | |
dverifydate | date | 审核日期 | |
ccloser | string | 关闭人 | |
dclosedate | date | 关闭日期 | |
istate | number | 单据状态 | |
iswfcontrolled | boolean | 启用审批流 | |
iverifystate | number | 审批状态 | |
ireturncount | number | 审批状态 | |
cbg_itemcode | string | 预算项目 | |
cbg_itemname | string | 预算项目名称 | |
cbg_caliberkey1 | string | 预算口径类型1编码 | |
cbg_caliberkeyname1 | string | 预算口径类型1名称 | |
cbg_caliberkey2 | string | 预算口径类型2编码 | |
cbg_caliberkeyname2 | string | 预算口径类型2名称 | |
cbg_caliberkey3 | string | 预算口径类型3编码 | |
cbg_caliberkeyname3 | string | 预算口径类型3名称 | |
cbg_caliberkey4 | string | 预算口径类型4编码 | |
cbg_caliberkeyname4 | string | 预算口径类型4名称 | |
cbg_caliberkey5 | string | 预算口径类型5编码 | |
cbg_caliberkeyname5 | string | 预算口径类型5名称 | |
cbg_caliberkey6 | string | 预算口径类型6编码 | |
cbg_caliberkeyname6 | string | 预算口径类型6名称 | |
cbg_calibercode1 | string | 预算口径1编码 | |
cbg_calibername1 | string | 预算口径1名称 | |
cbg_calibercode2 | string | 预算口径2编码 | |
cbg_calibername2 | string | 预算口径2名称 | |
cbg_calibercode3 | string | 预算口径3编码 | |
cbg_calibername3 | string | 预算口径3名称 | |
cbg_calibercode4 | string | 预算口径4编码 | |
cbg_calibername4 | string | 预算口径4名称 | |
cbg_calibercode5 | string | 预算口径5编码 | |
cbg_calibername5 | string | 预算口径5名称 | |
cbg_calibercode6 | string | 预算口径6编码 | |
cbg_calibername6 | string | 预算口径6名称 | |
ibg_overflag | number | 预算审批状态 | |
cbg_auditor | string | 超预算审批人 | |
cbg_audittime | string | 预算审批时间 | |
controlresult | number | 预算审批结果 | |
cgatheringplan | string | 收付款协议 | |
cgatheringplanname | string | 收付款协议 | |
dcreditstart | date | 立账日 | |
icreditperiod | number | 账期 | |
dgatheringdate | date | 收付款协议日期 | |
ibustype | number | 业务类型 | |
cbustype | string | 业务类型 | |
ipaytype | number | 付款类型 | |
cpaytype | string | 付款类型 | |
cagentcuscode | string | 代理商编码 | |
cagentcusname | string | 委托方名称 | |
cagentcusabbname | string | 委托方简称 | |
csysbarcode | string | 单据条码 | |
csubid | string | 产品ID |
3.5正确返回示例
JSON示例:
application/json;charset=UTF-8 { "errcode":"0", "rows_per_page":"20", "page_index":"1", "errmsg":"", "payrequestlist":[ { "cnatbank":"", "cdepcode":"0401", "iexchrate":"1.0", "ctypename":"付款申请单", "ibg_overflag":"0", "ipaytype":"0", "cvenname":"深圳辰环手机配件有限公司", "cagentcusname":"", "cpaytype":"货款", "cdefine9":"", "dmodifysystime":"", "cdefine8":"", "cdefine7":"", "citemname":"", "cdefine6":"", "cdefine12":"", "cdefine11":"", "dgatheringdate":"", "cdefine10":"", "dclosedate":"", "cdefine1":"顾潇", "cdefine5":"", "cdefine4":"", "cdefine3":"", "cdefine2":"", "cdigest":"", "cbankaccount":"223355876", "iswfcontrolled":"", "cdwcode":"01002", "citemcode":"", "dcreditstart":"", "cvouchtype":"AP40", "cbg_calibername6":"", "cagentcusabbname":"", "cbg_calibername5":"", "cbg_calibername4":"", "cbg_calibername3":"", "cbg_calibername2":"", "cbg_calibername1":"", "dvouchdate":"2014-12-0300:00:00.0", "cvouchid":"0000000001", "icreditperiod":"", "ccode":"", "controlresult":"", "cagentcuscode":"", "dcreatesystime":"2014-12-0321:16:38.45", "iverifystate":"", "istate":"", "ibustype":"", "ccloser":"", "cvenabbname":"辰环手机配件", "cbg_itemcode":"", "cgatheringplanname":"", "cperson":"00043", "bstartflag":"", "cbg_auditor":"", "cbustype":"", "cgatheringplan":"", "csubid":"PU", "dverifysystime":"2014-12-0321:16:40.467", "coperator":"demo3", "csource":"采购发票", "ccheckman":"demo3", "ireturncount":"", "csscode":"", "csysbarcode":"||ap40|0000000001", "cbank":"工行上地支行", "cssname":"", "dverifydate":"2014-12-0300:00:00.0", "cdefine16":"", "cdefine15":"", "cdefine14":"", "cdefine13":"", "cnatbankaccount":"", "dmoddate":"", "citem_class":"", "cbg_caliberkeyname2":"", "cbg_caliberkeyname1":"", "cbg_caliberkeyname4":"", "cbg_caliberkeyname3":"", "cbg_calibercode1":"", "cbg_caliberkey3":"", "cbg_calibercode5":"", "cbg_caliberkey2":"", "cbg_calibercode4":"", "cbg_caliberkey5":"", "cbg_calibercode3":"", "cbg_caliberkey4":"", "cbg_calibercode2":"", "cflag":"AP", "cbg_caliberkeyname6":"", "cdepname":"采购部", "cexch_name":"人民币", "cbg_caliberkeyname5":"", "cbg_caliberkey6":"", "cbg_calibercode6":"", "cbg_audittime":"", "citem_name":"", "cpersonname":"顾潇", "cbg_caliberkey1":"", "cbg_itemname":"", "cmodifier":"" }, { "cnatbank":"", "cdepcode":"0401", "iexchrate":"1.0", "ctypename":"付款申请单", "ibg_overflag":"0", "ipaytype":"0", "cvenname":"广州博大存储器公司", "cagentcusname":"", "cpaytype":"货款", "cdefine9":"", "dmodifysystime":"", "cdefine8":"", "cdefine7":"", "citemname":"", "cdefine6":"", "cdefine12":"", "cdefine11":"", "dgatheringdate":"", "cdefine10":"", "dclosedate":"", "cdefine1":"顾潇", "cdefine5":"", "cdefine4":"", "cdefine3":"", "cdefine2":"", "cdigest":"", "cbankaccount":"", "iswfcontrolled":"", "cdwcode":"01004", "citemcode":"", "dcreditstart":"", "cvouchtype":"AP40", "cbg_calibername6":"", "cagentcusabbname":"", "cbg_calibername5":"", "cbg_calibername4":"", "cbg_calibername3":"", "cbg_calibername2":"", "cbg_calibername1":"", "dvouchdate":"2014-12-0300:00:00.0", "cvouchid":"0000000002", "icreditperiod":"", "ccode":"", "controlresult":"", "cagentcuscode":"", "dcreatesystime":"2014-12-0321:17:43.327", "iverifystate":"", "istate":"", "ibustype":"", "ccloser":"", "cvenabbname":"博大存储", "cbg_itemcode":"", "cgatheringplanname":"", "cperson":"00043", "bstartflag":"", "cbg_auditor":"", "cbustype":"", "cgatheringplan":"", "csubid":"PU", "dverifysystime":"2014-12-0321:17:50.09", "coperator":"demo3", "csource":"采购发票", "ccheckman":"demo3", "ireturncount":"", "csscode":"", "csysbarcode":"||ap40|0000000002", "cbank":"", "cssname":"", "dverifydate":"2014-12-0300:00:00.0", "cdefine16":"", "cdefine15":"", "cdefine14":"", "cdefine13":"", "cnatbankaccount":"", "dmoddate":"", "citem_class":"", "cbg_caliberkeyname2":"", "cbg_caliberkeyname1":"", "cbg_caliberkeyname4":"", "cbg_caliberkeyname3":"", "cbg_calibercode1":"", "cbg_caliberkey3":"", "cbg_calibercode5":"", "cbg_caliberkey2":"", "cbg_calibercode4":"", "cbg_caliberkey5":"", "cbg_calibercode3":"", "cbg_caliberkey4":"", "cbg_calibercode2":"", "cflag":"AP", "cbg_caliberkeyname6":"", "cdepname":"采购部", "cexch_name":"人民币", "cbg_caliberkeyname5":"", "cbg_caliberkey6":"", "cbg_calibercode6":"", "cbg_audittime":"", "citem_name":"", "cpersonname":"顾潇", "cbg_caliberkey1":"", "cbg_itemname":"", "cmodifier":"" } ], "page_count":"12", "row_count":"225" }
3.6错误返回示例
application/json;charset=UTF-8 { "errcode":"30021", "errmsg":"此应用未上线" }