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": "540abebd-09ce-468e-b3eb-d30f8126a82c",
"Desc": "sample string 5",
"DescTransId": "9349288a-793d-485a-ba3f-4dfe2a1144ed",
"Body": "sample string 7",
"ContentTransId": "08504671-4e04-4c6a-9ed9-c8b08e310f41",
"MContentTransId": "03157f2e-3db5-440e-b185-d991a9d4b607",
"Title": "sample string 10",
"TitleTransId": "fd57f0ec-de4f-4d8d-ac3c-b3214270470b",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-08-17 11:58:42",
"UpdateDateVal": "2026-08-17 11:58:42",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "09c254e9-d461-4781-9fe8-0fc74c09b880",
"Url": "sample string 17",
"UrlTransId": "5802ae38-c9d4-47f2-8987-f216d345551d",
"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": "2b40553b-3e19-4294-ab4b-a4b60335dfd9",
"SeoDesc": "sample string 21",
"SeoDescTransId": "a2bce730-612e-4ea5-9076-b6717b0a4976",
"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-08-17 11:58:42",
"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-08-17 11:58:42",
"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-08-17 11:58:42",
"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-08-17 11:58:42",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-08-17 11:58:42",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "7bc8188e-6b0a-42fb-b34b-ca39ab2c0eb9",
"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": "540abebd-09ce-468e-b3eb-d30f8126a82c",
"Desc": "sample string 5",
"DescTransId": "9349288a-793d-485a-ba3f-4dfe2a1144ed",
"Body": "sample string 7",
"ContentTransId": "08504671-4e04-4c6a-9ed9-c8b08e310f41",
"MContentTransId": "03157f2e-3db5-440e-b185-d991a9d4b607",
"Title": "sample string 10",
"TitleTransId": "fd57f0ec-de4f-4d8d-ac3c-b3214270470b",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-08-17 11:58:42",
"UpdateDateVal": "2026-08-17 11:58:42",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "09c254e9-d461-4781-9fe8-0fc74c09b880",
"Url": "sample string 17",
"UrlTransId": "5802ae38-c9d4-47f2-8987-f216d345551d",
"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": "2b40553b-3e19-4294-ab4b-a4b60335dfd9",
"SeoDesc": "sample string 21",
"SeoDescTransId": "a2bce730-612e-4ea5-9076-b6717b0a4976",
"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-08-17 11:58:42",
"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-08-17 11:58:42",
"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-08-17 11:58:42",
"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-08-17 11:58:42",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-08-17 11:58:42",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "7bc8188e-6b0a-42fb-b34b-ca39ab2c0eb9",
"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"
}