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
PageDataOfCMSContentInfoName | 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": "6a3b0a11-d9a4-444d-8585-a113b568de01", "Desc": "sample string 5", "DescTransId": "935c6279-f118-4288-9b74-2e7148ec679a", "Body": "sample string 7", "ContentTransId": "f45b970b-b67e-4315-b515-ccaf1eaa96fd", "MContentTransId": "c4278c39-9e86-47ff-87e6-6db69eb287b8", "Title": "sample string 10", "TitleTransId": "c3c1a716-961c-40f0-a659-be26e6e23838", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2024-11-15 11:04:55", "UpdateDateVal": "2024-11-15 11:04:55", "CatId": 15, "Cover": "sample string 16", "CoverId": "1b217fb9-4491-4495-adca-440177e73ad2", "Url": "sample string 17", "UrlTransId": "3e53ab0a-ad83-4cf9-b4e6-1ed1d78206f6", "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": "7a4b6910-6e40-4fb2-9437-67ad3b94aa9a", "SeoDesc": "sample string 21", "SeoDescTransId": "af057d79-8afd-4cce-80b8-633f3d1233b0", "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": "2024-11-15 11:04:55", "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": "2024-11-15 11:04:55", "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": "2024-11-15 11:04:55", "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": "2024-11-15 11:04:55", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2024-11-15 11:04:55", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "1a67242f-e40b-4fbf-ad95-a67577da1e13", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31", "PreviousId": "sample string 32", "NextId": "sample string 33" }, { "Id": 1, "Key": "sample string 2", "Author": "sample string 3", "AuthorTransId": "6a3b0a11-d9a4-444d-8585-a113b568de01", "Desc": "sample string 5", "DescTransId": "935c6279-f118-4288-9b74-2e7148ec679a", "Body": "sample string 7", "ContentTransId": "f45b970b-b67e-4315-b515-ccaf1eaa96fd", "MContentTransId": "c4278c39-9e86-47ff-87e6-6db69eb287b8", "Title": "sample string 10", "TitleTransId": "c3c1a716-961c-40f0-a659-be26e6e23838", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2024-11-15 11:04:55", "UpdateDateVal": "2024-11-15 11:04:55", "CatId": 15, "Cover": "sample string 16", "CoverId": "1b217fb9-4491-4495-adca-440177e73ad2", "Url": "sample string 17", "UrlTransId": "3e53ab0a-ad83-4cf9-b4e6-1ed1d78206f6", "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": "7a4b6910-6e40-4fb2-9437-67ad3b94aa9a", "SeoDesc": "sample string 21", "SeoDescTransId": "af057d79-8afd-4cce-80b8-633f3d1233b0", "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": "2024-11-15 11:04:55", "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": "2024-11-15 11:04:55", "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": "2024-11-15 11:04:55", "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": "2024-11-15 11:04:55", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2024-11-15 11:04:55", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "1a67242f-e40b-4fbf-ad95-a67577da1e13", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31", "PreviousId": "sample string 32", "NextId": "sample string 33" } ], "Page": 2, "PageSize": 3, "Offset": 3, "SortName": "sample string 4", "SortOrder": "sample string 5" }