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": "077f4612-c3ca-48c0-891a-5ddfac586a20",
"Desc": "sample string 5",
"DescTransId": "41b85a2e-53a2-4116-bcb8-144ed20ee45b",
"Body": "sample string 7",
"ContentTransId": "69ebcc5e-bd22-4d34-bf84-533ab5d3fc11",
"MContentTransId": "4440d184-0d67-4d7b-b888-bdfb230e03e2",
"Title": "sample string 10",
"TitleTransId": "e0e8a47b-b8d8-4781-b71c-48b9cf7c65fb",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-10-14 11:36:36",
"UpdateDateVal": "2026-10-14 11:36:36",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "a5566ef3-2887-4c66-a39a-634f950f65bf",
"Url": "sample string 17",
"UrlTransId": "35401f54-c41a-47eb-ba54-428f3a9bf553",
"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": "8269e93b-78f0-4477-839a-680fe877ecca",
"SeoDesc": "sample string 21",
"SeoDescTransId": "8647b11c-0fb5-4b55-a687-4956a55b2bd8",
"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-10-14 11:36:36",
"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-10-14 11:36:36",
"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-10-14 11:36:36",
"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-10-14 11:36:36",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-10-14 11:36:36",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "61789eb5-0793-4433-ab92-3a6f0ca2b913",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31",
"PreviousId": "sample string 32",
"NextId": "sample string 33",
"Seq": 1
},
{
"Id": 1,
"Key": "sample string 2",
"Author": "sample string 3",
"AuthorTransId": "077f4612-c3ca-48c0-891a-5ddfac586a20",
"Desc": "sample string 5",
"DescTransId": "41b85a2e-53a2-4116-bcb8-144ed20ee45b",
"Body": "sample string 7",
"ContentTransId": "69ebcc5e-bd22-4d34-bf84-533ab5d3fc11",
"MContentTransId": "4440d184-0d67-4d7b-b888-bdfb230e03e2",
"Title": "sample string 10",
"TitleTransId": "e0e8a47b-b8d8-4781-b71c-48b9cf7c65fb",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-10-14 11:36:36",
"UpdateDateVal": "2026-10-14 11:36:36",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "a5566ef3-2887-4c66-a39a-634f950f65bf",
"Url": "sample string 17",
"UrlTransId": "35401f54-c41a-47eb-ba54-428f3a9bf553",
"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": "8269e93b-78f0-4477-839a-680fe877ecca",
"SeoDesc": "sample string 21",
"SeoDescTransId": "8647b11c-0fb5-4b55-a687-4956a55b2bd8",
"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-10-14 11:36:36",
"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-10-14 11:36:36",
"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-10-14 11:36:36",
"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-10-14 11:36:36",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-10-14 11:36:36",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "61789eb5-0793-4433-ab92-3a6f0ca2b913",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31",
"PreviousId": "sample string 32",
"NextId": "sample string 33",
"Seq": 1
}
],
"Page": 2,
"PageSize": 3,
"Offset": 3,
"SortName": "sample string 4",
"SortOrder": "sample string 5"
}