GET V2/CMS/GetContentsByCatId?catId={catId}&page={page}&pageSize={pageSize}&isMobile={isMobile}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| catId | string |
Required |
|
| page | integer |
Required |
|
| pageSize | integer |
Required |
|
| isMobile | boolean |
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": "364decf1-0dbe-453e-96f7-f38b78b889fe",
"Desc": "sample string 5",
"DescTransId": "45e30161-decc-455e-a9b4-004e53c338a3",
"Body": "sample string 7",
"ContentTransId": "cd41c304-0c38-4387-882c-91ca6ee0cb4b",
"MContentTransId": "3e8a8148-084a-4221-817c-d420f7a800fa",
"Title": "sample string 10",
"TitleTransId": "17185ee1-d2dd-4503-baad-0962b2302fed",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-04-15 16:06:27",
"UpdateDateVal": "2026-04-15 16:06:27",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "fecf93c2-989c-4123-81e0-2f2033b0c293",
"Url": "sample string 17",
"UrlTransId": "add8849a-3372-47c1-8fb3-b1813b255b5d",
"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": "f959e6a5-85ae-4c69-9a07-0b6dc75cd451",
"SeoDesc": "sample string 21",
"SeoDescTransId": "429b588e-709a-41a3-aa5a-0ef0f04bb407",
"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-04-15 16:06:27",
"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-04-15 16:06:27",
"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-04-15 16:06:27",
"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-04-15 16:06:27",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-04-15 16:06:27",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "392b8f61-5d8d-4fd8-8579-749f5a744e39",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31"
},
{
"Id": 1,
"Key": "sample string 2",
"Author": "sample string 3",
"AuthorTransId": "364decf1-0dbe-453e-96f7-f38b78b889fe",
"Desc": "sample string 5",
"DescTransId": "45e30161-decc-455e-a9b4-004e53c338a3",
"Body": "sample string 7",
"ContentTransId": "cd41c304-0c38-4387-882c-91ca6ee0cb4b",
"MContentTransId": "3e8a8148-084a-4221-817c-d420f7a800fa",
"Title": "sample string 10",
"TitleTransId": "17185ee1-d2dd-4503-baad-0962b2302fed",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-04-15 16:06:27",
"UpdateDateVal": "2026-04-15 16:06:27",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "fecf93c2-989c-4123-81e0-2f2033b0c293",
"Url": "sample string 17",
"UrlTransId": "add8849a-3372-47c1-8fb3-b1813b255b5d",
"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": "f959e6a5-85ae-4c69-9a07-0b6dc75cd451",
"SeoDesc": "sample string 21",
"SeoDescTransId": "429b588e-709a-41a3-aa5a-0ef0f04bb407",
"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-04-15 16:06:27",
"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-04-15 16:06:27",
"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-04-15 16:06:27",
"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-04-15 16:06:27",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-04-15 16:06:27",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "392b8f61-5d8d-4fd8-8579-749f5a744e39",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31"
}
],
"Page": 2,
"PageSize": 3,
"Offset": 3,
"SortName": "sample string 4",
"SortOrder": "sample string 5"
}