GET api/CMS?key={key}&page={page}&pageSize={pageSize}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key | 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": "6c240e3c-e9e3-4dab-b502-08cff588d255", "Desc": "sample string 5", "DescTransId": "84afa2d5-526a-4d1e-878b-07988362debb", "Body": "sample string 7", "ContentTransId": "fa0aa683-d992-4c73-bcc6-b15bee14f1f2", "MContentTransId": "e9c84cf4-7a6f-45a4-b886-e03435839cb9", "Title": "sample string 10", "TitleTransId": "5211258c-6c41-4707-856b-15369183d083", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2024-09-20 02:54:48", "UpdateDateVal": "2024-09-20 02:54:48", "CatId": 15, "Cover": "sample string 16", "CoverId": "8aed8ea7-19b1-4522-9061-dec4b29371c8", "Url": "sample string 17", "UrlTransId": "047c3e23-fe2c-4707-8bf2-1c28cb78551e", "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": "c21c27ae-9230-4a8b-8c1b-0a4ef27e28d6", "SeoDesc": "sample string 21", "SeoDescTransId": "3ed77a7f-e16e-4c6d-ad5d-84256b848346", "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-09-20 02:54:48", "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-09-20 02:54:48", "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-09-20 02:54:48", "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-09-20 02:54:48", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2024-09-20 02:54:48", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "da57e1f9-c664-4f7a-a81e-c5c23e56efd6", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31" }, { "Id": 1, "Key": "sample string 2", "Author": "sample string 3", "AuthorTransId": "6c240e3c-e9e3-4dab-b502-08cff588d255", "Desc": "sample string 5", "DescTransId": "84afa2d5-526a-4d1e-878b-07988362debb", "Body": "sample string 7", "ContentTransId": "fa0aa683-d992-4c73-bcc6-b15bee14f1f2", "MContentTransId": "e9c84cf4-7a6f-45a4-b886-e03435839cb9", "Title": "sample string 10", "TitleTransId": "5211258c-6c41-4707-856b-15369183d083", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2024-09-20 02:54:48", "UpdateDateVal": "2024-09-20 02:54:48", "CatId": 15, "Cover": "sample string 16", "CoverId": "8aed8ea7-19b1-4522-9061-dec4b29371c8", "Url": "sample string 17", "UrlTransId": "047c3e23-fe2c-4707-8bf2-1c28cb78551e", "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": "c21c27ae-9230-4a8b-8c1b-0a4ef27e28d6", "SeoDesc": "sample string 21", "SeoDescTransId": "3ed77a7f-e16e-4c6d-ad5d-84256b848346", "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-09-20 02:54:48", "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-09-20 02:54:48", "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-09-20 02:54:48", "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-09-20 02:54:48", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2024-09-20 02:54:48", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "da57e1f9-c664-4f7a-a81e-c5c23e56efd6", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31" } ], "Page": 2, "PageSize": 3, "Offset": 3, "SortName": "sample string 4", "SortOrder": "sample string 5" }