POST V2/CMS/GetContentsOnTop
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
Collection of CMSContentInfoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Key | string |
None. |
|
Author | string |
None. |
|
AuthorTransId | globally unique identifier |
None. |
|
Desc | string |
None. |
|
DescTransId | globally unique identifier |
None. |
|
Body | string |
None. |
|
ContentTransId | globally unique identifier |
None. |
|
MContentTransId | globally unique identifier |
None. |
|
Title | string |
None. |
|
TitleTransId | globally unique identifier |
None. |
|
ImagePath | string |
None. |
|
CreateDate | string |
None. |
|
UpdateDate | string |
None. |
|
CreateDateVal | date |
None. |
|
UpdateDateVal | date |
None. |
|
CatId | integer |
None. |
|
Cover | string |
None. |
|
CoverId | globally unique identifier |
None. |
|
Url | string |
None. |
|
UrlTransId | globally unique identifier |
None. |
|
Category | CMSCategory |
None. |
|
SeoKeyword | string |
None. |
|
SeoKeyTransId | globally unique identifier |
None. |
|
SeoDesc | string |
None. |
|
SeoDescTransId | globally unique identifier |
None. |
|
Status | integer |
None. |
|
CmsControl | Collection of CMSDynamicControl |
None. |
|
ContentDateTime | date |
None. |
|
IsTop | boolean |
None. |
|
IsOpenWindows | boolean |
None. |
|
UrlTypeTransId | globally unique identifier |
None. |
|
IsMobile | boolean |
None. |
|
WeekNum | string |
None. |
|
ContentDateTimeStr | string |
None. |
|
Parentid | integer |
None. |
|
CatKey | string |
None. |
|
PreviousId | string |
None. |
|
NextId | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Key": "sample string 2", "Author": "sample string 3", "AuthorTransId": "5d255293-583c-41d0-983e-eb5eaf18546c", "Desc": "sample string 5", "DescTransId": "fa2030ee-decf-48f0-a444-dfefc986e857", "Body": "sample string 7", "ContentTransId": "195af80f-99ea-4f04-ac9d-11fcb3b54139", "MContentTransId": "ba4f68f8-77b1-43f8-8b49-2b41f6302214", "Title": "sample string 10", "TitleTransId": "6b7628da-b04d-4741-9119-2a6e8858ed1a", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2024-11-15 15:30:35", "UpdateDateVal": "2024-11-15 15:30:35", "CatId": 15, "Cover": "sample string 16", "CoverId": "8d836eac-3c6a-4157-9526-2bfdeadecdea", "Url": "sample string 17", "UrlTransId": "cc908965-648e-4226-b268-f2ef20078d6a", "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": "0da441e4-9a17-4eb4-a29b-914a003ec61e", "SeoDesc": "sample string 21", "SeoDescTransId": "e5abff1d-3d54-4991-913d-7cce224913a2", "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 15:30:35", "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 15:30:35", "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 15:30:35", "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 15:30:35", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2024-11-15 15:30:35", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "38cbeb25-e6b4-4f11-9dff-0c0e50dc856f", "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": "5d255293-583c-41d0-983e-eb5eaf18546c", "Desc": "sample string 5", "DescTransId": "fa2030ee-decf-48f0-a444-dfefc986e857", "Body": "sample string 7", "ContentTransId": "195af80f-99ea-4f04-ac9d-11fcb3b54139", "MContentTransId": "ba4f68f8-77b1-43f8-8b49-2b41f6302214", "Title": "sample string 10", "TitleTransId": "6b7628da-b04d-4741-9119-2a6e8858ed1a", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2024-11-15 15:30:35", "UpdateDateVal": "2024-11-15 15:30:35", "CatId": 15, "Cover": "sample string 16", "CoverId": "8d836eac-3c6a-4157-9526-2bfdeadecdea", "Url": "sample string 17", "UrlTransId": "cc908965-648e-4226-b268-f2ef20078d6a", "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": "0da441e4-9a17-4eb4-a29b-914a003ec61e", "SeoDesc": "sample string 21", "SeoDescTransId": "e5abff1d-3d54-4991-913d-7cce224913a2", "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 15:30:35", "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 15:30:35", "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 15:30:35", "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 15:30:35", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2024-11-15 15:30:35", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "38cbeb25-e6b4-4f11-9dff-0c0e50dc856f", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31", "PreviousId": "sample string 32", "NextId": "sample string 33" } ]