POST V2/CMS/GetContentsByCatKeyEx
Request Information
URI Parameters
None.
Body Parameters
CMSContentCondName | Description | Type | Additional information |
---|---|---|---|
ContentId | integer |
None. |
|
CatId | integer |
None. |
|
Key | string |
None. |
|
IsMobile | boolean |
None. |
|
Title | string |
None. |
|
SeoKeyWord | string |
None. |
|
QtyOnTop | integer |
None. |
|
OnTopList | Collection of integer |
None. |
|
CatIds | Collection of integer |
None. |
|
TimeTypes | integer |
None. |
|
YearMon | string |
None. |
|
CatLevel | integer |
None. |
|
CatKey | string |
None. |
|
Page | integer |
None. |
|
PageSize | integer |
None. |
|
Offset | integer |
None. |
|
SortName | string |
None. |
|
SortOrder | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContentId": 1, "CatId": 2, "Key": "sample string 3", "IsMobile": true, "Title": "sample string 5", "SeoKeyWord": "sample string 6", "QtyOnTop": 7, "OnTopList": [ 1, 2 ], "CatIds": [ 1, 2 ], "TimeTypes": 8, "YearMon": "sample string 9", "CatLevel": 10, "CatKey": "sample string 11", "Page": 12, "PageSize": 13, "Offset": 143, "SortName": "sample string 14", "SortOrder": "sample string 15" }
application/x-www-form-urlencoded
Sample:
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": "78560b2f-2006-45c4-be1f-aff10dc96e9e", "Desc": "sample string 5", "DescTransId": "b7282f4a-0933-45c2-a62a-b55330d25e87", "Body": "sample string 7", "ContentTransId": "ba9c216b-b8bd-463e-bff3-77dc61075324", "MContentTransId": "70982aca-7fdd-4859-af99-8407e3fd470e", "Title": "sample string 10", "TitleTransId": "ea62ce27-e5d4-44c8-9571-cac819e8a53d", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2024-11-15 09:46:43", "UpdateDateVal": "2024-11-15 09:46:43", "CatId": 15, "Cover": "sample string 16", "CoverId": "ddb82392-c2db-4dd4-9446-88920aaea510", "Url": "sample string 17", "UrlTransId": "d61ec119-ed03-459d-8307-2d0e8b2bb639", "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": "5fb9d438-ad1b-4b6d-baa6-1de26419f6c3", "SeoDesc": "sample string 21", "SeoDescTransId": "b292bb8d-4338-4f49-a5fa-d6cf88668435", "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 09:46:43", "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 09:46:43", "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 09:46:43", "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 09:46:43", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2024-11-15 09:46:43", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "e5b558f2-2fac-40d7-a7a5-28a94dee6304", "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": "78560b2f-2006-45c4-be1f-aff10dc96e9e", "Desc": "sample string 5", "DescTransId": "b7282f4a-0933-45c2-a62a-b55330d25e87", "Body": "sample string 7", "ContentTransId": "ba9c216b-b8bd-463e-bff3-77dc61075324", "MContentTransId": "70982aca-7fdd-4859-af99-8407e3fd470e", "Title": "sample string 10", "TitleTransId": "ea62ce27-e5d4-44c8-9571-cac819e8a53d", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2024-11-15 09:46:43", "UpdateDateVal": "2024-11-15 09:46:43", "CatId": 15, "Cover": "sample string 16", "CoverId": "ddb82392-c2db-4dd4-9446-88920aaea510", "Url": "sample string 17", "UrlTransId": "d61ec119-ed03-459d-8307-2d0e8b2bb639", "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": "5fb9d438-ad1b-4b6d-baa6-1de26419f6c3", "SeoDesc": "sample string 21", "SeoDescTransId": "b292bb8d-4338-4f49-a5fa-d6cf88668435", "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 09:46:43", "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 09:46:43", "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 09:46:43", "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 09:46:43", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2024-11-15 09:46:43", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "e5b558f2-2fac-40d7-a7a5-28a94dee6304", "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" }