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": "07369ef7-bb25-4c33-8de9-039e8a73072c",
"Desc": "sample string 5",
"DescTransId": "f92b4fc9-fce4-461a-8259-3ba8840cdd56",
"Body": "sample string 7",
"ContentTransId": "4a3d97a7-502e-49f5-b648-5a111806afb7",
"MContentTransId": "9eb1e7e2-1213-4e36-b0a8-e9262f7fb0ec",
"Title": "sample string 10",
"TitleTransId": "39e51603-6607-4def-abec-7a13b1980e63",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-06-23 12:43:19",
"UpdateDateVal": "2026-06-23 12:43:19",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "064123be-2dea-4a41-87d7-4ebe36c13b04",
"Url": "sample string 17",
"UrlTransId": "0676e345-bc11-41c1-a64b-36ffa0ee74bd",
"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": "038cd64f-c84a-4cb3-a04c-4cf060a52222",
"SeoDesc": "sample string 21",
"SeoDescTransId": "255ecc88-ea17-4fad-8f83-f917b933cc3f",
"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-06-23 12:43:19",
"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-06-23 12:43:19",
"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-06-23 12:43:19",
"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-06-23 12:43:19",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-06-23 12:43:19",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "2e990023-311c-4830-a1e1-5d6ceb349ff7",
"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": "07369ef7-bb25-4c33-8de9-039e8a73072c",
"Desc": "sample string 5",
"DescTransId": "f92b4fc9-fce4-461a-8259-3ba8840cdd56",
"Body": "sample string 7",
"ContentTransId": "4a3d97a7-502e-49f5-b648-5a111806afb7",
"MContentTransId": "9eb1e7e2-1213-4e36-b0a8-e9262f7fb0ec",
"Title": "sample string 10",
"TitleTransId": "39e51603-6607-4def-abec-7a13b1980e63",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-06-23 12:43:19",
"UpdateDateVal": "2026-06-23 12:43:19",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "064123be-2dea-4a41-87d7-4ebe36c13b04",
"Url": "sample string 17",
"UrlTransId": "0676e345-bc11-41c1-a64b-36ffa0ee74bd",
"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": "038cd64f-c84a-4cb3-a04c-4cf060a52222",
"SeoDesc": "sample string 21",
"SeoDescTransId": "255ecc88-ea17-4fad-8f83-f917b933cc3f",
"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-06-23 12:43:19",
"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-06-23 12:43:19",
"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-06-23 12:43:19",
"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-06-23 12:43:19",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-06-23 12:43:19",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "2e990023-311c-4830-a1e1-5d6ceb349ff7",
"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"
}