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": "34328016-beeb-4b49-8e9c-19b36c7deedf",
"Desc": "sample string 5",
"DescTransId": "d6cd71d0-cd1a-4345-a6d9-5f63c0b6a800",
"Body": "sample string 7",
"ContentTransId": "c6d9cffc-a728-4550-bbc8-ec9ad5576d1c",
"MContentTransId": "f29fa274-4136-4807-8830-3595c0a43a61",
"Title": "sample string 10",
"TitleTransId": "7b722ccc-31ac-4877-9cb6-f3541d3287d9",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-11-15 14:53:20",
"UpdateDateVal": "2026-11-15 14:53:20",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "580bf3e3-1aa3-438f-aacf-bc1af71161cf",
"Url": "sample string 17",
"UrlTransId": "9985af05-888b-40ee-8afc-71dee6669516",
"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": "679d397d-7ef4-4f1e-9562-f1b2f7da867a",
"SeoDesc": "sample string 21",
"SeoDescTransId": "37fa09e2-906e-4f91-ad49-54009e834c6e",
"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-11-15 14:53:20",
"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-11-15 14:53:20",
"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-11-15 14:53:20",
"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-11-15 14:53:20",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-11-15 14:53:20",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "eb7b500a-5ba1-428e-b78f-984415486d64",
"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": "34328016-beeb-4b49-8e9c-19b36c7deedf",
"Desc": "sample string 5",
"DescTransId": "d6cd71d0-cd1a-4345-a6d9-5f63c0b6a800",
"Body": "sample string 7",
"ContentTransId": "c6d9cffc-a728-4550-bbc8-ec9ad5576d1c",
"MContentTransId": "f29fa274-4136-4807-8830-3595c0a43a61",
"Title": "sample string 10",
"TitleTransId": "7b722ccc-31ac-4877-9cb6-f3541d3287d9",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-11-15 14:53:20",
"UpdateDateVal": "2026-11-15 14:53:20",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "580bf3e3-1aa3-438f-aacf-bc1af71161cf",
"Url": "sample string 17",
"UrlTransId": "9985af05-888b-40ee-8afc-71dee6669516",
"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": "679d397d-7ef4-4f1e-9562-f1b2f7da867a",
"SeoDesc": "sample string 21",
"SeoDescTransId": "37fa09e2-906e-4f91-ad49-54009e834c6e",
"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-11-15 14:53:20",
"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-11-15 14:53:20",
"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-11-15 14:53:20",
"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-11-15 14:53:20",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-11-15 14:53:20",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "eb7b500a-5ba1-428e-b78f-984415486d64",
"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"
}