POST V2/CMS/GetFromContentByCatIdV2
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": "15563949-4af8-405a-b300-1c7091ac7e4f", "Desc": "sample string 5", "DescTransId": "627410c5-bef2-42fe-89e1-a44a46727f9a", "Body": "sample string 7", "ContentTransId": "de50d315-ac4c-49a9-ae80-a151998f3fba", "MContentTransId": "c512ae28-2afc-49b2-9cad-3ce2678a0ea0", "Title": "sample string 10", "TitleTransId": "f6c0c837-3820-4ff1-a0c0-2b3edce17959", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-07-18 22:46:40", "UpdateDateVal": "2025-07-18 22:46:40", "CatId": 15, "Cover": "sample string 16", "CoverId": "0d3a859b-df24-46e6-81cd-90ee15eeafa5", "Url": "sample string 17", "UrlTransId": "fdcde627-e7d3-48c9-807f-17de9c74b42d", "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": "45b3c413-5057-476e-bab9-71b65957228c", "SeoDesc": "sample string 21", "SeoDescTransId": "03a4fd17-ac4e-41ff-adfa-35ff4072f817", "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-07-18 22:46:40", "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-07-18 22:46:40", "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-07-18 22:46:40", "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-07-18 22:46:40", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-07-18 22:46:40", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "47dbed8d-da5a-4034-9e9c-67c1388ae08c", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31", "PreviousId": "sample string 32", "NextId": "sample string 33", "Seq": 1 }, { "Id": 1, "Key": "sample string 2", "Author": "sample string 3", "AuthorTransId": "15563949-4af8-405a-b300-1c7091ac7e4f", "Desc": "sample string 5", "DescTransId": "627410c5-bef2-42fe-89e1-a44a46727f9a", "Body": "sample string 7", "ContentTransId": "de50d315-ac4c-49a9-ae80-a151998f3fba", "MContentTransId": "c512ae28-2afc-49b2-9cad-3ce2678a0ea0", "Title": "sample string 10", "TitleTransId": "f6c0c837-3820-4ff1-a0c0-2b3edce17959", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-07-18 22:46:40", "UpdateDateVal": "2025-07-18 22:46:40", "CatId": 15, "Cover": "sample string 16", "CoverId": "0d3a859b-df24-46e6-81cd-90ee15eeafa5", "Url": "sample string 17", "UrlTransId": "fdcde627-e7d3-48c9-807f-17de9c74b42d", "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": "45b3c413-5057-476e-bab9-71b65957228c", "SeoDesc": "sample string 21", "SeoDescTransId": "03a4fd17-ac4e-41ff-adfa-35ff4072f817", "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-07-18 22:46:40", "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-07-18 22:46:40", "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-07-18 22:46:40", "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-07-18 22:46:40", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-07-18 22:46:40", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "47dbed8d-da5a-4034-9e9c-67c1388ae08c", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31", "PreviousId": "sample string 32", "NextId": "sample string 33", "Seq": 1 } ], "Page": 2, "PageSize": 3, "Offset": 3, "SortName": "sample string 4", "SortOrder": "sample string 5" }