POST api/News/GetList
Request Information
URI Parameters
None.
Body Parameters
ListParameterOfNewListFilterName | Description | Type | Additional information |
---|---|---|---|
Filter | NewListFilter |
None. |
|
PageNumber | integer |
None. |
|
PageSize | integer |
None. |
|
OrderByColumnName | string |
None. |
|
InAscendingOrder | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "filter": { "mainId": "sample string 1" }, "pageNumber": 1, "pageSize": 1, "orderByColumnName": "sample string 1", "inAscendingOrder": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
Sample not available.
Response Information
Resource Description
ListModelOfNewsListVmName | Description | Type | Additional information |
---|---|---|---|
Pagination | Pagination |
None. |
|
Items | Collection of NewsListVm |
None. |
|
Files | Collection of ContentFileModel |
None. |
|
Images | Collection of ContentImageModel |
None. |
|
SeoData | SEOData |
None. |
|
AuthCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "pagination": null, "items": [ { "key": "sample string 1", "subject": "sample string 2", "date": "2024-11-21T14:21:35.8225416+08:00" }, { "key": "sample string 1", "subject": "sample string 2", "date": "2024-11-21T14:21:35.8225416+08:00" } ], "files": [ { "fileId": "sample string 1", "oId": 1.0, "fileName": "sample string 2", "fileKbSize": 1, "fileUrl": "sample string 3", "fileDocsName": "sample string 4", "filePath": "sample string 5", "fileFullPath": "sample string 6", "tableName": "sample string 7", "contentType": "sample string 8" }, { "fileId": "sample string 1", "oId": 1.0, "fileName": "sample string 2", "fileKbSize": 1, "fileUrl": "sample string 3", "fileDocsName": "sample string 4", "filePath": "sample string 5", "fileFullPath": "sample string 6", "tableName": "sample string 7", "contentType": "sample string 8" } ], "images": [ { "fileId": 1.0, "oId": 1.0, "langCode": "sample string 2", "fileName": "sample string 3", "pictureUrl": { "original": "sample string 1", "large": "sample string 2", "medium": "sample string 3", "small": "sample string 4" } }, { "fileId": 1.0, "oId": 1.0, "langCode": "sample string 2", "fileName": "sample string 3", "pictureUrl": { "original": "sample string 1", "large": "sample string 2", "medium": "sample string 3", "small": "sample string 4" } } ], "seoData": { "title": "sample string 1", "description": "sample string 2", "featuredImageUrl": "sample string 3" }, "authCode": "sample string 1" }