POST api/Index/GetIndustryInfoList
根据行业资讯菜单获取资讯列表
Request Information
URI Parameters
None.
Body Parameters
ComInterInfoSolrParam| Name | Description | Type | Additional information |
|---|---|---|---|
| ModuleId |
模块Id |
integer |
None. |
| Query |
多条件检索 |
Dictionary of string [key] and Object [value] |
None. |
| ClusterLimit |
聚类条数 |
integer |
None. |
| ClusterOffset |
聚类偏移量 |
integer |
None. |
| ClusterSort |
聚类排序 |
boolean |
None. |
| Cluster |
聚类字段 |
string |
None. |
| IsHighlight |
是否高亮 |
boolean |
None. |
| Page | integer |
None. |
|
| PageSize | integer |
None. |
|
| SortBy | string |
None. |
|
| SortOrder | string |
None. |
|
| Skip | integer |
None. |
|
| Take | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ModuleId": 1,
"Query": {
"sample string 1": {},
"sample string 3": {}
},
"ClusterLimit": 1,
"ClusterOffset": 2,
"ClusterSort": true,
"Cluster": "sample string 4",
"IsHighlight": true,
"Page": 6,
"PageSize": 7,
"SortBy": "sample string 8",
"SortOrder": "sample string 9",
"Skip": 35,
"Take": 7
}
application/xml, text/xml
Sample:
<ComInterInfoSolrParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EKP.Service.Module">
<Skip xmlns="http://schemas.datacontract.org/2004/07/Ge.Infrastructure.Pager">35</Skip>
<Take xmlns="http://schemas.datacontract.org/2004/07/Ge.Infrastructure.Pager">7</Take>
<Page xmlns="http://schemas.datacontract.org/2004/07/Ge.Infrastructure.Metronicv">6</Page>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/Ge.Infrastructure.Metronicv">7</PageSize>
<SortBy xmlns="http://schemas.datacontract.org/2004/07/Ge.Infrastructure.Metronicv">sample string 8</SortBy>
<SortOrder xmlns="http://schemas.datacontract.org/2004/07/Ge.Infrastructure.Metronicv">sample string 9</SortOrder>
<Cluster xmlns="http://schemas.datacontract.org/2004/07/EKP.Service.Info">sample string 4</Cluster>
<ClusterLimit xmlns="http://schemas.datacontract.org/2004/07/EKP.Service.Info">1</ClusterLimit>
<ClusterOffset xmlns="http://schemas.datacontract.org/2004/07/EKP.Service.Info">2</ClusterOffset>
<ClusterSort xmlns="http://schemas.datacontract.org/2004/07/EKP.Service.Info">true</ClusterSort>
<IsHighlight xmlns="http://schemas.datacontract.org/2004/07/EKP.Service.Info">true</IsHighlight>
<Query xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/EKP.Service.Info">
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
<d2p1:KeyValueOfstringanyType>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value />
</d2p1:KeyValueOfstringanyType>
</Query>
<ModuleId>1</ModuleId>
</ComInterInfoSolrParam>
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>