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": "1f53fb7c-fe60-4f79-b2c4-a5198d2cfea4",
"Desc": "sample string 5",
"DescTransId": "701d824a-82b1-4f91-bce9-2423073d61fc",
"Body": "sample string 7",
"ContentTransId": "7fa02ee3-ae9c-42ae-bdc6-48b92929a3b9",
"MContentTransId": "96c2086d-d443-4ee7-bce9-8ced0881e1aa",
"Title": "sample string 10",
"TitleTransId": "04e51cbe-d2ca-4005-b350-126ac345bfef",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-10-03 13:10:20",
"UpdateDateVal": "2026-10-03 13:10:20",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "3335167f-462d-4252-80e0-a0886f35de53",
"Url": "sample string 17",
"UrlTransId": "6be5f95e-cfc1-4bc4-95b5-1183caef2a32",
"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": "8cf796f2-6383-4a80-bc3a-848d35fa7c76",
"SeoDesc": "sample string 21",
"SeoDescTransId": "b427ba16-b454-4d80-8a2e-af37166de8e9",
"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": "2026-10-03 13:10:20",
"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": "2026-10-03 13:10:20",
"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": "2026-10-03 13:10:20",
"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": "2026-10-03 13:10:20",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-10-03 13:10:20",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "6ba42cff-27dc-4582-a56a-1c7815922331",
"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": "1f53fb7c-fe60-4f79-b2c4-a5198d2cfea4",
"Desc": "sample string 5",
"DescTransId": "701d824a-82b1-4f91-bce9-2423073d61fc",
"Body": "sample string 7",
"ContentTransId": "7fa02ee3-ae9c-42ae-bdc6-48b92929a3b9",
"MContentTransId": "96c2086d-d443-4ee7-bce9-8ced0881e1aa",
"Title": "sample string 10",
"TitleTransId": "04e51cbe-d2ca-4005-b350-126ac345bfef",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-10-03 13:10:20",
"UpdateDateVal": "2026-10-03 13:10:20",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "3335167f-462d-4252-80e0-a0886f35de53",
"Url": "sample string 17",
"UrlTransId": "6be5f95e-cfc1-4bc4-95b5-1183caef2a32",
"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": "8cf796f2-6383-4a80-bc3a-848d35fa7c76",
"SeoDesc": "sample string 21",
"SeoDescTransId": "b427ba16-b454-4d80-8a2e-af37166de8e9",
"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": "2026-10-03 13:10:20",
"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": "2026-10-03 13:10:20",
"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": "2026-10-03 13:10:20",
"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": "2026-10-03 13:10:20",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-10-03 13:10:20",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "6ba42cff-27dc-4582-a56a-1c7815922331",
"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"
}