POST V2/CMS/GetCategoryRelateContent
Request Information
URI Parameters
None.
Body Parameters
CMSContentCond| Name | 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
PageDataOfCMSContentInfo| Name | 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": "90030193-4715-4601-a03f-b432b8eb57d4",
"Desc": "sample string 5",
"DescTransId": "1798931d-a744-4a24-ae5f-d7bfd6fdba65",
"Body": "sample string 7",
"ContentTransId": "40e1e6de-c2ba-4cf4-bc4b-98c484631c03",
"MContentTransId": "66e8346c-5516-45e2-be93-aa922db33f9b",
"Title": "sample string 10",
"TitleTransId": "a62acd87-ba9e-4f66-a035-7605162a9fca",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2025-12-06 23:40:39",
"UpdateDateVal": "2025-12-06 23:40:39",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "94663792-6ba2-4f53-93e4-4ca2f698dc58",
"Url": "sample string 17",
"UrlTransId": "becc73fe-dff3-47a6-ae60-fde4cca0e224",
"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": "cab59ca8-e69f-4860-a16a-8fa610e8ee89",
"SeoDesc": "sample string 21",
"SeoDescTransId": "a22f88a4-6ef1-4344-ae3e-c909514d28c1",
"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-12-06 23:40:39",
"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-12-06 23:40:39",
"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-12-06 23:40:39",
"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-12-06 23:40:39",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2025-12-06 23:40:39",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "46380ff0-619c-467a-8f5e-7236d2270e37",
"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": "90030193-4715-4601-a03f-b432b8eb57d4",
"Desc": "sample string 5",
"DescTransId": "1798931d-a744-4a24-ae5f-d7bfd6fdba65",
"Body": "sample string 7",
"ContentTransId": "40e1e6de-c2ba-4cf4-bc4b-98c484631c03",
"MContentTransId": "66e8346c-5516-45e2-be93-aa922db33f9b",
"Title": "sample string 10",
"TitleTransId": "a62acd87-ba9e-4f66-a035-7605162a9fca",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2025-12-06 23:40:39",
"UpdateDateVal": "2025-12-06 23:40:39",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "94663792-6ba2-4f53-93e4-4ca2f698dc58",
"Url": "sample string 17",
"UrlTransId": "becc73fe-dff3-47a6-ae60-fde4cca0e224",
"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": "cab59ca8-e69f-4860-a16a-8fa610e8ee89",
"SeoDesc": "sample string 21",
"SeoDescTransId": "a22f88a4-6ef1-4344-ae3e-c909514d28c1",
"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-12-06 23:40:39",
"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-12-06 23:40:39",
"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-12-06 23:40:39",
"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-12-06 23:40:39",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2025-12-06 23:40:39",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "46380ff0-619c-467a-8f5e-7236d2270e37",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31",
"PreviousId": "sample string 32",
"NextId": "sample string 33"
}
],
"Page": 2,
"PageSize": 3,
"Offset": 3,
"SortName": "sample string 4",
"SortOrder": "sample string 5"
}