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. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Key": "sample string 2", "Author": "sample string 3", "AuthorTransId": "2aa6c6ab-2989-4cc0-939a-da81661ccba9", "Desc": "sample string 5", "DescTransId": "7dc40d06-cdb4-462b-ab58-52758049841e", "Body": "sample string 7", "ContentTransId": "7fdd7538-934e-4d62-9a94-d6e6409206fc", "MContentTransId": "e0ff1d58-0303-454e-8897-a6705c97f141", "Title": "sample string 10", "TitleTransId": "2ff5ec2b-8715-45c7-b849-ce702953d87f", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-04-04 14:39:45", "UpdateDateVal": "2025-04-04 14:39:45", "CatId": 15, "Cover": "sample string 16", "CoverId": "453308a9-f47f-4223-a116-2baacbcf3ab5", "Url": "sample string 17", "UrlTransId": "644af80a-72ff-47a2-92d8-5600d67c44d2", "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": "4b2dba84-193f-486c-93ec-5b653822142b", "SeoDesc": "sample string 21", "SeoDescTransId": "975b6eeb-ca74-4583-a1ea-dda16ac631b4", "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": "2025-04-04 14:39:45", "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": "2025-04-04 14:39:45", "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": "2025-04-04 14:39:45", "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": "2025-04-04 14:39:45", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-04-04 14:39:45", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "48aef19c-df1a-4cbf-b112-33c5a8df1981", "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": "2aa6c6ab-2989-4cc0-939a-da81661ccba9", "Desc": "sample string 5", "DescTransId": "7dc40d06-cdb4-462b-ab58-52758049841e", "Body": "sample string 7", "ContentTransId": "7fdd7538-934e-4d62-9a94-d6e6409206fc", "MContentTransId": "e0ff1d58-0303-454e-8897-a6705c97f141", "Title": "sample string 10", "TitleTransId": "2ff5ec2b-8715-45c7-b849-ce702953d87f", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-04-04 14:39:45", "UpdateDateVal": "2025-04-04 14:39:45", "CatId": 15, "Cover": "sample string 16", "CoverId": "453308a9-f47f-4223-a116-2baacbcf3ab5", "Url": "sample string 17", "UrlTransId": "644af80a-72ff-47a2-92d8-5600d67c44d2", "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": "4b2dba84-193f-486c-93ec-5b653822142b", "SeoDesc": "sample string 21", "SeoDescTransId": "975b6eeb-ca74-4583-a1ea-dda16ac631b4", "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": "2025-04-04 14:39:45", "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": "2025-04-04 14:39:45", "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": "2025-04-04 14:39:45", "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": "2025-04-04 14:39:45", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-04-04 14:39:45", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "48aef19c-df1a-4cbf-b112-33c5a8df1981", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31" } ]