POST V2/CMS/GetContents
Request Information
URI Parameters
None.
Body Parameters
ContentPageInfoName | Description | Type | Additional information |
---|---|---|---|
CatIds | Collection of integer |
None. |
|
GroupIds | Collection of integer |
None. |
|
PageInfo | PageInfo |
None. |
|
Type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CatIds": [ 1, 2 ], "GroupIds": [ 1, 2 ], "PageInfo": { "Page": 1, "PageSize": 2, "Offset": 0, "SortName": "sample string 3", "SortOrder": "sample string 4" }, "Type": 1 }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
PageDataOfContentInfoName | Description | Type | Additional information |
---|---|---|---|
TotalPage | integer |
None. |
|
TotalRecord | integer |
None. |
|
Data | Collection of ContentInfo |
None. |
|
Page | integer |
None. |
|
PageSize | integer |
None. |
|
Offset | integer |
None. |
|
SortName | string |
None. |
|
SortOrder | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "TotalPage": 1, "TotalRecord": 1, "Data": [ { "Id": 1, "Title": "sample string 2", "Desc": "sample string 3", "Author": "sample string 4", "Url": "sample string 5", "IsOpenWindows": true, "Image": "sample string 7", "ContentDateTime": "2024-09-20 02:59:37", "AuthorTransId": "8b56b62c-35fa-4a18-bbf5-2ef232401e47", "TitleTransId": "d60a842e-8556-4080-a848-13eba11ebd51", "DescTransId": "6fd2ec7c-4a3f-478d-80c8-f211c85a73d7", "UrlTransId": "7cbe7b77-fb39-49f2-a891-52569c620a4f" }, { "Id": 1, "Title": "sample string 2", "Desc": "sample string 3", "Author": "sample string 4", "Url": "sample string 5", "IsOpenWindows": true, "Image": "sample string 7", "ContentDateTime": "2024-09-20 02:59:37", "AuthorTransId": "8b56b62c-35fa-4a18-bbf5-2ef232401e47", "TitleTransId": "d60a842e-8556-4080-a848-13eba11ebd51", "DescTransId": "6fd2ec7c-4a3f-478d-80c8-f211c85a73d7", "UrlTransId": "7cbe7b77-fb39-49f2-a891-52569c620a4f" } ], "Page": 2, "PageSize": 3, "Offset": 3, "SortName": "sample string 4", "SortOrder": "sample string 5" }