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": "454f8068-b7ef-4112-83de-17f2cc5f09a4",
"Desc": "sample string 5",
"DescTransId": "aeff4d9d-3ab3-45bc-b1ed-ec58a6fc3e1e",
"Body": "sample string 7",
"ContentTransId": "7d386d11-62a6-4bcb-a908-e5308ce9abd3",
"MContentTransId": "7f706f15-1134-4904-9932-f9c3e0506795",
"Title": "sample string 10",
"TitleTransId": "59d941f0-d229-4508-b7f7-fcd3335e5da2",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-06-23 15:15:10",
"UpdateDateVal": "2026-06-23 15:15:10",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "0c88f0dc-9f06-494e-b1a8-b0a991888b86",
"Url": "sample string 17",
"UrlTransId": "317ba5f7-97aa-4ee7-98a7-124564c00822",
"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": "8d61d074-7f42-4922-af3a-9964222f5ab4",
"SeoDesc": "sample string 21",
"SeoDescTransId": "39318a76-0b2c-4546-acf2-1e095c6b21cf",
"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 15:15:10",
"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 15:15:10",
"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 15:15:10",
"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 15:15:10",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-06-23 15:15:10",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "521d0e9e-694a-4022-8aaa-ab12aed145a0",
"IsMobile": true
},
{
"Id": 1,
"Key": "sample string 2",
"Author": "sample string 3",
"AuthorTransId": "454f8068-b7ef-4112-83de-17f2cc5f09a4",
"Desc": "sample string 5",
"DescTransId": "aeff4d9d-3ab3-45bc-b1ed-ec58a6fc3e1e",
"Body": "sample string 7",
"ContentTransId": "7d386d11-62a6-4bcb-a908-e5308ce9abd3",
"MContentTransId": "7f706f15-1134-4904-9932-f9c3e0506795",
"Title": "sample string 10",
"TitleTransId": "59d941f0-d229-4508-b7f7-fcd3335e5da2",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-06-23 15:15:10",
"UpdateDateVal": "2026-06-23 15:15:10",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "0c88f0dc-9f06-494e-b1a8-b0a991888b86",
"Url": "sample string 17",
"UrlTransId": "317ba5f7-97aa-4ee7-98a7-124564c00822",
"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": "8d61d074-7f42-4922-af3a-9964222f5ab4",
"SeoDesc": "sample string 21",
"SeoDescTransId": "39318a76-0b2c-4546-acf2-1e095c6b21cf",
"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 15:15:10",
"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 15:15:10",
"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 15:15:10",
"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 15:15:10",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-06-23 15:15:10",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "521d0e9e-694a-4022-8aaa-ab12aed145a0",
"IsMobile": true
}
],
"Page": 2,
"PageSize": 3,
"Offset": 3,
"SortName": "sample string 4",
"SortOrder": "sample string 5"
}