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": "6576875b-770c-4058-a46f-a8521cff1555", "Desc": "sample string 5", "DescTransId": "365afaf9-a7e5-4ee3-99ed-fc7980306b2e", "Body": "sample string 7", "ContentTransId": "2f4ab992-1897-4cca-b111-8f58b7c2d1b6", "MContentTransId": "37d5ddaf-d4b0-4836-9c80-e40eb77d5c0c", "Title": "sample string 10", "TitleTransId": "fac5df4e-dd2a-40e5-bcdc-116cdde479db", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-04-04 13:15:07", "UpdateDateVal": "2025-04-04 13:15:07", "CatId": 15, "Cover": "sample string 16", "CoverId": "b494522a-6d35-497c-8deb-39dce6effd73", "Url": "sample string 17", "UrlTransId": "35512716-3f51-49e3-af1a-2892a9c91ff8", "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": "b6f319f0-70e9-466f-a541-767748036ddc", "SeoDesc": "sample string 21", "SeoDescTransId": "0fbea13b-04c5-4a55-a57f-478538b7e37a", "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 13:15:07", "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 13:15:07", "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 13:15:07", "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 13:15:07", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-04-04 13:15:07", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "7997c6b4-86a9-4426-a14c-7812ddcaef11", "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": "6576875b-770c-4058-a46f-a8521cff1555", "Desc": "sample string 5", "DescTransId": "365afaf9-a7e5-4ee3-99ed-fc7980306b2e", "Body": "sample string 7", "ContentTransId": "2f4ab992-1897-4cca-b111-8f58b7c2d1b6", "MContentTransId": "37d5ddaf-d4b0-4836-9c80-e40eb77d5c0c", "Title": "sample string 10", "TitleTransId": "fac5df4e-dd2a-40e5-bcdc-116cdde479db", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-04-04 13:15:07", "UpdateDateVal": "2025-04-04 13:15:07", "CatId": 15, "Cover": "sample string 16", "CoverId": "b494522a-6d35-497c-8deb-39dce6effd73", "Url": "sample string 17", "UrlTransId": "35512716-3f51-49e3-af1a-2892a9c91ff8", "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": "b6f319f0-70e9-466f-a541-767748036ddc", "SeoDesc": "sample string 21", "SeoDescTransId": "0fbea13b-04c5-4a55-a57f-478538b7e37a", "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 13:15:07", "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 13:15:07", "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 13:15:07", "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 13:15:07", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-04-04 13:15:07", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "7997c6b4-86a9-4426-a14c-7812ddcaef11", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31", "PreviousId": "sample string 32", "NextId": "sample string 33" } ]