GET V2/CMS/GetContentsByCatId?catId={catId}&page={page}&pageSize={pageSize}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
catId | string |
Required |
|
page | integer |
Required |
|
pageSize | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PageDataOfCMSContentInfoName | Description | Type | Additional information |
---|---|---|---|
TotalPage | integer |
None. |
|
TotalRecord | integer |
None. |
|
Data | Collection of CMSContentInfo |
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, "Key": "sample string 2", "Author": "sample string 3", "AuthorTransId": "e76d10c0-fbd2-49c1-aecc-ae2a4d8d02f2", "Desc": "sample string 5", "DescTransId": "3b5a490b-8d57-4e91-875a-50105998f9a8", "Body": "sample string 7", "ContentTransId": "a9048233-73ef-4a14-855e-5ad5fc89e5c3", "MContentTransId": "64c18f62-d7ee-4b5d-8456-9325427674d8", "Title": "sample string 10", "TitleTransId": "480ddd59-2fe4-48f5-8cf7-ecf9b85facb1", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-04-04 13:49:08", "UpdateDateVal": "2025-04-04 13:49:08", "CatId": 15, "Cover": "sample string 16", "CoverId": "ea8c7d32-6aad-477b-ab67-7673b4e3f920", "Url": "sample string 17", "UrlTransId": "d95018d4-62b5-438e-80db-a4dbc84b9563", "Category": { "Id": 1, "Name": "sample string 2", "ParentId": 3, "Path": "sample string 4", "CatPaths": [ { "CatId": "sample string 1", "PathName": "sample string 2" }, { "CatId": "sample string 1", "PathName": "sample string 2" } ] }, "SeoKeyword": "sample string 19", "SeoKeyTransId": "1323a80b-9e94-48c4-9420-c0da26ac0c33", "SeoDesc": "sample string 21", "SeoDescTransId": "a2562c6b-469f-4624-aa06-eba3e74923f0", "Status": 23, "CmsControl": [ { "ControlId": "sample string 1", "ControlCode": "sample string 2", "ControlName": "sample string 3", "ControlValue": "sample string 4", "ControlImageLis": [ { "Id": 1, "ContentId": 2, "SmallImagePath": "sample string 3", "BigImagePath": "sample string 4", "Lang": "sample string 5", "IsDetele": true, "CreateDate": "2025-04-04 13:49:08", "CreateDateString": "sample string 8", "Name": "sample string 9" }, { "Id": 1, "ContentId": 2, "SmallImagePath": "sample string 3", "BigImagePath": "sample string 4", "Lang": "sample string 5", "IsDetele": true, "CreateDate": "2025-04-04 13:49:08", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] }, { "ControlId": "sample string 1", "ControlCode": "sample string 2", "ControlName": "sample string 3", "ControlValue": "sample string 4", "ControlImageLis": [ { "Id": 1, "ContentId": 2, "SmallImagePath": "sample string 3", "BigImagePath": "sample string 4", "Lang": "sample string 5", "IsDetele": true, "CreateDate": "2025-04-04 13:49:08", "CreateDateString": "sample string 8", "Name": "sample string 9" }, { "Id": 1, "ContentId": 2, "SmallImagePath": "sample string 3", "BigImagePath": "sample string 4", "Lang": "sample string 5", "IsDetele": true, "CreateDate": "2025-04-04 13:49:08", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-04-04 13:49:08", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "35192e89-e7df-4f2d-beec-a68ffd088150", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31", "PreviousId": "sample string 32", "NextId": "sample string 33" }, { "Id": 1, "Key": "sample string 2", "Author": "sample string 3", "AuthorTransId": "e76d10c0-fbd2-49c1-aecc-ae2a4d8d02f2", "Desc": "sample string 5", "DescTransId": "3b5a490b-8d57-4e91-875a-50105998f9a8", "Body": "sample string 7", "ContentTransId": "a9048233-73ef-4a14-855e-5ad5fc89e5c3", "MContentTransId": "64c18f62-d7ee-4b5d-8456-9325427674d8", "Title": "sample string 10", "TitleTransId": "480ddd59-2fe4-48f5-8cf7-ecf9b85facb1", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-04-04 13:49:08", "UpdateDateVal": "2025-04-04 13:49:08", "CatId": 15, "Cover": "sample string 16", "CoverId": "ea8c7d32-6aad-477b-ab67-7673b4e3f920", "Url": "sample string 17", "UrlTransId": "d95018d4-62b5-438e-80db-a4dbc84b9563", "Category": { "Id": 1, "Name": "sample string 2", "ParentId": 3, "Path": "sample string 4", "CatPaths": [ { "CatId": "sample string 1", "PathName": "sample string 2" }, { "CatId": "sample string 1", "PathName": "sample string 2" } ] }, "SeoKeyword": "sample string 19", "SeoKeyTransId": "1323a80b-9e94-48c4-9420-c0da26ac0c33", "SeoDesc": "sample string 21", "SeoDescTransId": "a2562c6b-469f-4624-aa06-eba3e74923f0", "Status": 23, "CmsControl": [ { "ControlId": "sample string 1", "ControlCode": "sample string 2", "ControlName": "sample string 3", "ControlValue": "sample string 4", "ControlImageLis": [ { "Id": 1, "ContentId": 2, "SmallImagePath": "sample string 3", "BigImagePath": "sample string 4", "Lang": "sample string 5", "IsDetele": true, "CreateDate": "2025-04-04 13:49:08", "CreateDateString": "sample string 8", "Name": "sample string 9" }, { "Id": 1, "ContentId": 2, "SmallImagePath": "sample string 3", "BigImagePath": "sample string 4", "Lang": "sample string 5", "IsDetele": true, "CreateDate": "2025-04-04 13:49:08", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] }, { "ControlId": "sample string 1", "ControlCode": "sample string 2", "ControlName": "sample string 3", "ControlValue": "sample string 4", "ControlImageLis": [ { "Id": 1, "ContentId": 2, "SmallImagePath": "sample string 3", "BigImagePath": "sample string 4", "Lang": "sample string 5", "IsDetele": true, "CreateDate": "2025-04-04 13:49:08", "CreateDateString": "sample string 8", "Name": "sample string 9" }, { "Id": 1, "ContentId": 2, "SmallImagePath": "sample string 3", "BigImagePath": "sample string 4", "Lang": "sample string 5", "IsDetele": true, "CreateDate": "2025-04-04 13:49:08", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-04-04 13:49:08", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "35192e89-e7df-4f2d-beec-a68ffd088150", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31", "PreviousId": "sample string 32", "NextId": "sample string 33" } ], "Page": 2, "PageSize": 3, "Offset": 3, "SortName": "sample string 4", "SortOrder": "sample string 5" }