venpriceadjustlist/batch_get
目录 |
1.接口说明
1.1接口描述
获取供应商存货调价单列表信息
1.2适用版本
支持U8V12.0 及更高版本
2.使用场景
订购应用
3.接口调用说明
3.1请求说明
| url | https://api.yonyouup.com/api/venpriceadjustlist/batch_get |
| 格式 | JSON |
| https请求方式 | GET |
| 编码类型 | UTF-8 |
3.2url参数说明
| 参数 | 是否必填 | 类型 | 描述 |
|---|---|---|---|
| from_account | 是 | string | 调用方id |
| to_account | 是 | string | 提供方id |
| app_key | 是 | string | 应用编码 |
| token | 是 | string | 全局访问唯一识别码 |
| ds_sequence | 否 | number | 数据源序号(默认取应用的第一个数据源) |
| page_index | 否 | string | 页号 |
| rows_per_page | 否 | string | 每页行数 |
| code_begin | 否 | string | 起始单据编号 |
| code_end | 否 | string | 结束单据编号 |
| date_begin | 否 | date | 起始报销日期,格式:yyyy-MM-dd |
| date_end | 否 | date | 结束报销日期,格式:yyyy-MM-dd |
| personcode | 否 | string | 调价人编码,可以通过 api/person 获取 |
| personname | 否 | string | 调价人名关键字,可以通过 api/person 获取 |
| depcode | 否 | string | 部门编码,可以通过 api/department 获取 |
| depname | 否 | string | 部门名称关键字,可以通过 api/department 获取 |
| memo | 否 | string | 备注关键字 |
| verifier | 否 | string | 审核人 |
| maker | 否 | string | 制单人 |
3.3请求示例
GET https://api.yonyouup.com/api/venpriceadjustlist/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=843d03f66e6544e19707ccec11030296&page_index=1&rows_per_page=20&ds_sequence=1
3.4返回参数说明
| 参数说明 | 类型 | 参数路径 | 描述 |
|---|---|---|---|
| errcode | string | 错误码,0 为正常。 | |
| errmsg | string | 错误信息。 | |
| page_index | string | 页号 | |
| rows_per_page | string | 每页行数 | |
| row_count | string | 总行数 | |
| page_count | string | 页数 | |
| ccode | string | 单据号 | |
| ddate | date | 调价日期 | |
| cdepcode | string | 调价部门编码 | |
| cdepname | string | 调价部门 | |
| cpersoncode | string | 调价业务员编码 | |
| cpersonname | string | 调价业务员 | |
| isupplytype | number | 供应类型 | |
| btaxcost | boolean | 价格标识 | |
| cmainmemo | string | 表头备注 | |
| cdefine1 | string | 表头自定义项1 | |
| cdefine2 | string | 表头自定义项2 | |
| cdefine3 | string | 表头自定义项3 | |
| cdefine4 | string | 表头自定义项4 | |
| cdefine5 | string | 表头自定义项5 | |
| cdefine6 | string | 表头自定义项6 | |
| cdefine7 | string | 表头自定义项7 | |
| cdefine8 | string | 表头自定义项8 | |
| cdefine9 | string | 表头自定义项9 | |
| cdefine10 | string | 表头自定义项10 | |
| cdefine11 | string | 表头自定义项11 | |
| cdefine12 | string | 表头自定义项12 | |
| cdefine13 | string | 表头自定义项13 | |
| cdefine14 | string | 表头自定义项14 | |
| cdefine15 | string | 表头自定义项15 | |
| cdefine16 | string | 表头自定义项16 | |
| cmaker | string | 制单人 | |
| cverifier | string | 审批人 | |
| dverifydate | date | 审批日期 |
3.5正确返回示例
JSON示例:
application/json;charset=UTF-8
{
"page_index":"1",
"rows_per_page":"10",
"row_count":"7",
"errmsg":"",
"errcode":"0",
"page_count":"1",
"venpriceadjustlist":[
{
"ccode":"0000000007",
"cmaker":"demo3",
"cdepcode":null,
"btaxcost":"1",
"cmainmemo":null,
"cpersonname":null,
"cverifier":"demo3",
"cdefine14":null,
"cdefine13":null,
"cdefine16":null,
"cdefine15":null,
"cpersoncode":null,
"ddate":"2014-12-0200:00:00.0",
"isupplytype":"1",
"cdepname":null,
"cdefine9":null,
"cdefine8":null,
"cdefine7":null,
"cdefine6":null,
"cdefine5":null,
"cdefine4":null,
"dverifydate":"2014-12-0200:00:00.0",
"cdefine3":null,
"cdefine2":null,
"cdefine1":null,
"cdefine12":null,
"cdefine11":null,
"cdefine10":null
},
{
"ccode":"0000000006",
"cmaker":"demo3",
"cdepcode":null,
"btaxcost":"1",
"cmainmemo":null,
"cpersonname":null,
"cverifier":"demo3",
"cdefine14":null,
"cdefine13":null,
"cdefine16":null,
"cdefine15":null,
"cpersoncode":null,
"ddate":"2014-12-0200:00:00.0",
"isupplytype":"1",
"cdepname":null,
"cdefine9":null,
"cdefine8":null,
"cdefine7":null,
"cdefine6":null,
"cdefine5":null,
"cdefine4":null,
"dverifydate":"2014-12-0200:00:00.0",
"cdefine3":null,
"cdefine2":null,
"cdefine1":null,
"cdefine12":null,
"cdefine11":null,
"cdefine10":null
}
]
}
3.6错误返回示例
application/json;charset=UTF-8
{
"errcode" : "30021",
"errmsg" : "此应用未上线"
}