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
PageDataOfCMSContentInfo| Name | 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": "1f2d2e4c-123a-4c00-b925-efeec40db10c",
"Desc": "sample string 5",
"DescTransId": "433cd139-d7d7-4f80-9e80-5db5a97cc6b9",
"Body": "sample string 7",
"ContentTransId": "3582520b-2aef-45ee-b6b1-6d89463603a3",
"MContentTransId": "da20274d-e4d1-4701-8b21-b717cf858427",
"Title": "sample string 10",
"TitleTransId": "cc413a1f-7d51-4bbd-b54a-0411df9fae4e",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-05-10 23:52:39",
"UpdateDateVal": "2026-05-10 23:52:39",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "8a1e711b-dbde-4820-95f5-e690d77bdba2",
"Url": "sample string 17",
"UrlTransId": "b734bb96-70f2-4500-b203-7ed1c921307e",
"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": "9a61d834-4eb4-4a26-8528-fa88f67c11f1",
"SeoDesc": "sample string 21",
"SeoDescTransId": "1af3e887-04f9-4ce4-b9a9-253690a6b033",
"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": "2026-05-10 23:52:39",
"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": "2026-05-10 23:52:39",
"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": "2026-05-10 23:52:39",
"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": "2026-05-10 23:52:39",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-05-10 23:52:39",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "21124ed5-de0c-488e-80fa-b4cee3a8fa2e",
"IsMobile": true
},
{
"Id": 1,
"Key": "sample string 2",
"Author": "sample string 3",
"AuthorTransId": "1f2d2e4c-123a-4c00-b925-efeec40db10c",
"Desc": "sample string 5",
"DescTransId": "433cd139-d7d7-4f80-9e80-5db5a97cc6b9",
"Body": "sample string 7",
"ContentTransId": "3582520b-2aef-45ee-b6b1-6d89463603a3",
"MContentTransId": "da20274d-e4d1-4701-8b21-b717cf858427",
"Title": "sample string 10",
"TitleTransId": "cc413a1f-7d51-4bbd-b54a-0411df9fae4e",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-05-10 23:52:39",
"UpdateDateVal": "2026-05-10 23:52:39",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "8a1e711b-dbde-4820-95f5-e690d77bdba2",
"Url": "sample string 17",
"UrlTransId": "b734bb96-70f2-4500-b203-7ed1c921307e",
"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": "9a61d834-4eb4-4a26-8528-fa88f67c11f1",
"SeoDesc": "sample string 21",
"SeoDescTransId": "1af3e887-04f9-4ce4-b9a9-253690a6b033",
"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": "2026-05-10 23:52:39",
"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": "2026-05-10 23:52:39",
"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": "2026-05-10 23:52:39",
"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": "2026-05-10 23:52:39",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-05-10 23:52:39",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "21124ed5-de0c-488e-80fa-b4cee3a8fa2e",
"IsMobile": true
}
],
"Page": 2,
"PageSize": 3,
"Offset": 3,
"SortName": "sample string 4",
"SortOrder": "sample string 5"
}