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-11-15 16:40:52", "AuthorTransId": "b23151ed-450d-4247-a4b8-21da013045a5", "TitleTransId": "74f0b44c-4e81-4260-83c9-7beb11701efc", "DescTransId": "296cd92a-ca27-4f22-baec-e07b7182591d", "UrlTransId": "1071b536-c04c-4de2-989b-c35e9ad03e92" }, { "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-11-15 16:40:52", "AuthorTransId": "b23151ed-450d-4247-a4b8-21da013045a5", "TitleTransId": "74f0b44c-4e81-4260-83c9-7beb11701efc", "DescTransId": "296cd92a-ca27-4f22-baec-e07b7182591d", "UrlTransId": "1071b536-c04c-4de2-989b-c35e9ad03e92" } ], "Page": 2, "PageSize": 3, "Offset": 3, "SortName": "sample string 4", "SortOrder": "sample string 5" }