POST V2/CMS/GetCategoryRelateContent
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": "1b1f3796-82e0-47ea-8f7a-9c593e1c17c6", "Desc": "sample string 5", "DescTransId": "3e03993d-aeb6-4384-a76e-7e7559308216", "Body": "sample string 7", "ContentTransId": "216f7137-3ab1-4ed6-a46f-45668a44bb3b", "MContentTransId": "a244fe49-c085-4fc6-980b-9e3754073b4f", "Title": "sample string 10", "TitleTransId": "2ee80504-4189-4357-854f-4cb1dd6c92b0", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-04-06 20:13:30", "UpdateDateVal": "2025-04-06 20:13:30", "CatId": 15, "Cover": "sample string 16", "CoverId": "a661e7b9-3c06-43a4-8e0f-9d09d63a38cb", "Url": "sample string 17", "UrlTransId": "b75d2d49-7986-4651-b01f-6547cfa0de54", "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": "63942b6b-34b9-4c43-b4cd-ce168eb2f0fb", "SeoDesc": "sample string 21", "SeoDescTransId": "48a98055-0d86-4ae8-99ee-49932358c4ec", "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-06 20:13:30", "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-06 20:13:30", "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-06 20:13:30", "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-06 20:13:30", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-04-06 20:13:30", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "92b7acd4-846e-44ee-9102-e1457f7cb7d2", "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": "1b1f3796-82e0-47ea-8f7a-9c593e1c17c6", "Desc": "sample string 5", "DescTransId": "3e03993d-aeb6-4384-a76e-7e7559308216", "Body": "sample string 7", "ContentTransId": "216f7137-3ab1-4ed6-a46f-45668a44bb3b", "MContentTransId": "a244fe49-c085-4fc6-980b-9e3754073b4f", "Title": "sample string 10", "TitleTransId": "2ee80504-4189-4357-854f-4cb1dd6c92b0", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-04-06 20:13:30", "UpdateDateVal": "2025-04-06 20:13:30", "CatId": 15, "Cover": "sample string 16", "CoverId": "a661e7b9-3c06-43a4-8e0f-9d09d63a38cb", "Url": "sample string 17", "UrlTransId": "b75d2d49-7986-4651-b01f-6547cfa0de54", "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": "63942b6b-34b9-4c43-b4cd-ce168eb2f0fb", "SeoDesc": "sample string 21", "SeoDescTransId": "48a98055-0d86-4ae8-99ee-49932358c4ec", "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-06 20:13:30", "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-06 20:13:30", "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-06 20:13:30", "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-06 20:13:30", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-04-06 20:13:30", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "92b7acd4-846e-44ee-9102-e1457f7cb7d2", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31" } ], "Page": 2, "PageSize": 3, "Offset": 3, "SortName": "sample string 4", "SortOrder": "sample string 5" }