GET api/News/NewsByCat?catid={catid}&count={count}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| catid | integer |
Required |
|
| count | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NewsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| NewsId | integer |
None. |
|
| CatId | integer |
None. |
|
| NewsImage | string |
None. |
|
| NewsTitle | string |
None. |
|
| NewsDescription | string |
None. |
|
| HasVideo | string |
None. |
|
| CategoryTitle | string |
None. |
|
| Private | boolean |
None. |
|
| NewsDate | date |
None. |
|
| AlbumId | integer |
None. |
|
| impress | integer |
None. |
|
| lstRelatedNews | Collection of NewsModel |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample: