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": "f50a66fa-414b-4879-bc58-6d0f379d6313",
"Desc": "sample string 5",
"DescTransId": "26a08e43-51de-4571-b772-1df5c8b0ed13",
"Body": "sample string 7",
"ContentTransId": "81a2d2a4-c546-45de-bc37-9cb6069b5c18",
"MContentTransId": "b9c4c64a-56df-4efb-9827-e0be582f8be9",
"Title": "sample string 10",
"TitleTransId": "f60269f6-c456-4a60-b9fe-4202472b3c8c",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-03-24 07:35:34",
"UpdateDateVal": "2026-03-24 07:35:34",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "41b4572b-6d78-4c63-bc10-ead344703448",
"Url": "sample string 17",
"UrlTransId": "dd7ad4c9-faa3-403f-b2f3-ea1b11bb9865",
"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": "2721b926-01ff-46e7-b995-8d005a0b5863",
"SeoDesc": "sample string 21",
"SeoDescTransId": "b0db41e7-1cda-4d7a-aa82-c700afcb5547",
"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-03-24 07:35:34",
"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-03-24 07:35:34",
"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-03-24 07:35:34",
"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-03-24 07:35:34",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-03-24 07:35:34",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "cd9ef05f-65e3-4b52-afc4-48775f001470",
"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": "f50a66fa-414b-4879-bc58-6d0f379d6313",
"Desc": "sample string 5",
"DescTransId": "26a08e43-51de-4571-b772-1df5c8b0ed13",
"Body": "sample string 7",
"ContentTransId": "81a2d2a4-c546-45de-bc37-9cb6069b5c18",
"MContentTransId": "b9c4c64a-56df-4efb-9827-e0be582f8be9",
"Title": "sample string 10",
"TitleTransId": "f60269f6-c456-4a60-b9fe-4202472b3c8c",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-03-24 07:35:34",
"UpdateDateVal": "2026-03-24 07:35:34",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "41b4572b-6d78-4c63-bc10-ead344703448",
"Url": "sample string 17",
"UrlTransId": "dd7ad4c9-faa3-403f-b2f3-ea1b11bb9865",
"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": "2721b926-01ff-46e7-b995-8d005a0b5863",
"SeoDesc": "sample string 21",
"SeoDescTransId": "b0db41e7-1cda-4d7a-aa82-c700afcb5547",
"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-03-24 07:35:34",
"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-03-24 07:35:34",
"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-03-24 07:35:34",
"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-03-24 07:35:34",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-03-24 07:35:34",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "cd9ef05f-65e3-4b52-afc4-48775f001470",
"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"
}