customerlicencebizscope/batch_get
目录 |
1.接口说明
1.1接口描述
批量获取客户资质经营范围审批
1.2适用版本
支持U8V12.0 及更高版本
2.使用场景
客户资质经营范围审批
3.接口调用说明
3.1请求说明
| url | https://api.yonyouup.com/api/customerlicencebizscope/batch_get |
| 格式 | JSON |
| https请求方式 | GET |
3.2url参数说明
| 参数 | 是否必填 | 类型 | 描述 |
|---|---|---|---|
| from_account | 是 | sting | 调用方id |
| to_account | 是 | string | 提供方id |
| app_key | 是 | string | 应用编码 |
| token | 是 | string | 全局访问唯一识别码 |
| ds_sequence | 否 | number | 数据源序号(默认取应用的第一个数据源) |
| clicenceclasscode_begin | 否 | string | 起始资质类型编号 |
| clicenceclasscode_end | 否 | string | 结束资质类型编号 |
| clicenceclassname | 否 | string | 资质类型名称关键字 |
| clicencecode_begin | 否 | string | 起始资质编号 |
| clicencecode_end | 否 | string | 结束资质编号 |
| clicencename | 否 | string | 资质名称关键字 |
| cmaker | 否 | string | 制单人关键字 |
| ccuscode_begin | 否 | string | 起始客户编码 |
| ccuscode_end | 否 | string | 结束客户编码 |
| ccusname | 否 | string | 客户名称关键字 |
| ccusabbname | 否 | string | 客户简称关键字 |
| ddate | 否 | date | 单据日期 |
| bccdoe_begin | 否 | string | 起始药品分类编号 |
| bccdoe_end | 否 | string | 结束药品分类编号 |
| cname | 否 | string | 药品分类名称关键字 |
| cinvstd | 否 | string | 存货规格 |
| clccode_begin | 否 | string | 起始存货编码 |
| clccode_end | 否 | string | 结束存货编码 |
| clcname | 否 | string | 存货名称关键字 |
3.3请求示例
GET https://api.yonyouup.com/api/customerlicencebizscope/batch_get?from_account=openapi_dev&to_account=openapi_ent&app_key=opa6fdd4bea98b95ad7&token=26d2fc4a06844448957a7f8260f3d08b&clicenceclasscode_begin=xxxxx&clicenceclasscode_end=xxxxx&clicenceclassname=xxxxx&clicencecode_begin=xxxxx&clicencecode_end=xxxxx&clicencename=xxxxx&cmaker=xxxxx&ccuscode_begin=xxxxx&ccuscode_end=xxxxx&ccusname=xxxxx&ccusabbname=xxxxx&ddate=xxxxx&bccdoe_begin=xxxxx&bccdoe_end=xxxxx&cname=xxxxx&cinvstd=xxxxx&clccode_begin=xxxxx&clccode_end=xxxxx&clcname=xxxxx
3.4返回参数说明
| 参数说明 | 类型 | 参数路径 | 描述 |
|---|---|---|---|
| errcode | string | 错误码,0 为正常。 | |
| errmsg | string | 错误信息。 | |
| tccode | string | 单据编码 | |
| clicenceclasscode | string | 资质类型编号 | |
| clicenceclassname | string | 资质类型名称 | |
| clicencecode | string | 资质编号 | |
| clicencename | string | 资质名称 | |
| cmaker | string | 制单人 | |
| cverifier | string | 审核人 | |
| ddate | date | 单据日期 | |
| dveridate | date | 审核日期 | |
| closer | string | 停用人 | |
| dclosedate | date | 停用日期 | |
| bccdoe | string | 药品分类编号 | |
| cname | string | 药品分类名称 | |
| cinvstd | string | 存货规格 | |
| clccode | string | 存货编码 | |
| clcname | string | 存货名称 | |
| ccusabbname | string | 客户简称 | |
| ccusname | string | 客户名称 | |
| ccuscode | string | 客户编码 |
3.5正确返回示例
JSON示例:
application/json;charset=UTF-8
{
"page_index":"1",
"rows_per_page":"20",
"row_count":"225",
"errmsg":"",
"customerlicencebizscope":[
{
"clcname":"硬盘-1000G",
"cmaker":"demo",
"cinvstd":"希捷1000G/7200RPM/32M/SATA2/企业级",
"cverifier":"demo",
"bccdoe":"",
"ccusname":"000",
"closer":"",
"clccode":"01019002065",
"dveridate":"2015-01-2800:00:00.0",
"clicenceclassname":"分类01",
"clicenceclasscode":"01",
"ddate":"2015-01-2800:00:00.0",
"ccuscode":"000",
"ccusabbname":"000",
"dclosedate":"2017-04-0300:00:00.0",
"tccode":"0000000001",
"clicencename":"XXXX1",
"cname":"",
"clicencecode":"0101"
},
{
"clcname":"线材",
"cmaker":"demo",
"cinvstd":"2Pin信号线/675mm",
"cverifier":"demo",
"bccdoe":"",
"ccusname":"000",
"closer":"",
"clccode":"01019002067",
"dveridate":"2015-01-2800:00:00.0",
"clicenceclassname":"分类01",
"clicenceclasscode":"01",
"ddate":"2015-01-2800:00:00.0",
"ccuscode":"000",
"ccusabbname":"000",
"dclosedate":"2017-04-0300:00:00.0",
"tccode":"0000000001",
"clicencename":"XXXX1",
"cname":"",
"clicencecode":"0101"
}
],
"page_count":"12",
"errcode":"0"
}
3.6错误返回示例
application/json;charset=UTF-8
{
"errcode":"30021",
"errmsg":"此应用未上线"
}