POST api/DataBaseCompany/GetDataBaseList
订阅数据库列表
Request Information
URI Parameters
None.
Body Parameters
ApiDataBaseCompanyPagerParam| Name | Description | Type | Additional information |
|---|---|---|---|
| DataBaseTypeId |
类型id |
integer |
None. |
| DataBaseVisitTypeId |
使用方式id |
integer |
None. |
| DataBaseLanguageId |
语种id |
integer |
None. |
| DataTypeId |
数据来源(省所=0,企业=1) |
integer |
None. |
| KeyWord |
数据库名称 |
string |
None. |
| Page |
页码 |
integer |
None. |
| PageSize |
每页记录条数 |
integer |
None. |
| SortBy |
排序顺序(字母A-Z=asc,字母Z-A=desc) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DataBaseTypeId": 1,
"DataBaseVisitTypeId": 1,
"DataBaseLanguageId": 1,
"DataTypeId": 1,
"KeyWord": "sample string 1",
"Page": 2,
"PageSize": 3,
"SortBy": "sample string 4"
}
application/xml, text/xml
Sample:
<ApiDataBaseCompanyPagerParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EKP.WeChatAppApi.Models.DataBaseCompany"> <DataBaseLanguageId>1</DataBaseLanguageId> <DataBaseTypeId>1</DataBaseTypeId> <DataBaseVisitTypeId>1</DataBaseVisitTypeId> <DataTypeId>1</DataTypeId> <KeyWord>sample string 1</KeyWord> <Page>2</Page> <PageSize>3</PageSize> <SortBy>sample string 4</SortBy> </ApiDataBaseCompanyPagerParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
订阅数据库列表
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code |
返回码 |
ResultCode |
None. |
| Message |
返回信息 |
string |
None. |
| Data |
返回的数据 |
Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 10000,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EKP.WeChatAppApi.Models"> <Code>Success</Code> <Data /> <Message>sample string 1</Message> </ResultModel>