POST api/News/GetIndexPageList
根据关键字获取新闻列表
Request Information
URI Parameters
None.
Body Parameters
News_ParName | Description | Type | Additional information |
---|---|---|---|
NewsId | string |
Required |
|
pageIndex | integer |
Required |
|
pageSize | integer |
Required |
|
KeyWords | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "NewsId": "sample string 1", "pageIndex": 2, "pageSize": 3, "KeyWords": "sample string 4" }
application/xml, text/xml
Sample:
<News_Par xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BPMS.OpenApi.Model.News.ParameterModel"> <KeyWords>sample string 4</KeyWords> <NewsId>sample string 1</NewsId> <pageIndex>2</pageIndex> <pageSize>3</pageSize> </News_Par>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |