GET api/News?Title={Title}&Description={Description}&CategoryId={CategoryId}&LanguageCode={LanguageCode}&IsActive={IsActive}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
None. |
|
| Description | string |
None. |
|
| CategoryId | string |
None. |
|
| LanguageCode | string |
None. |
|
| IsActive | boolean |
None. |
Body Parameters
None.
Response Information
Resource Description
PaginationRespModelOfNewsCategoryOutputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CurrentPage | integer |
None. |
|
| LastPage | integer |
None. |
|
| PerPage | integer |
None. |
|
| Total | integer |
None. |
|
| From | integer |
None. |
|
| To | integer |
None. |
|
| Data | Collection of NewsCategoryOutputModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"CurrentPage": 1,
"LastPage": 2,
"PerPage": 3,
"Total": 4,
"From": 5,
"To": 6,
"Data": [
{
"Id": "sample string 1",
"Name": "sample string 2"
},
{
"Id": "sample string 1",
"Name": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<PaginationRespModelOfNewsCategoryOutputModelpVZiKEaY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.ClientPropertyManagement.API.Models">
<CurrentPage>1</CurrentPage>
<Data>
<NewsCategoryOutputModel>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</NewsCategoryOutputModel>
<NewsCategoryOutputModel>
<Id>sample string 1</Id>
<Name>sample string 2</Name>
</NewsCategoryOutputModel>
</Data>
<From>5</From>
<LastPage>2</LastPage>
<PerPage>3</PerPage>
<To>6</To>
<Total>4</Total>
</PaginationRespModelOfNewsCategoryOutputModelpVZiKEaY>