POST V2/CMS/GetFromContentByCatIdV2
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": "1d094b3e-530b-447d-8e7d-0ec10e700f6c",
"Desc": "sample string 5",
"DescTransId": "35010543-54a9-41ba-b29f-b80ae326d4f9",
"Body": "sample string 7",
"ContentTransId": "063652e1-4831-4793-a5bc-b3dc842918b1",
"MContentTransId": "cd992246-be21-46c3-bc8f-2802bf41c0c6",
"Title": "sample string 10",
"TitleTransId": "ab845198-f341-4fb1-b6d0-762444cc322a",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2025-12-13 12:55:51",
"UpdateDateVal": "2025-12-13 12:55:51",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "e3560eeb-ddd1-4d3e-a82a-7e3be966fcb9",
"Url": "sample string 17",
"UrlTransId": "ccad20a7-4376-40a8-8a2f-5ec86e0959f3",
"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": "940bc259-bcac-4d5f-b860-6a8c3ab06a4a",
"SeoDesc": "sample string 21",
"SeoDescTransId": "a650cd8f-dff3-4876-91a1-9a03bd9fd33f",
"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-13 12:55:51",
"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-13 12:55:51",
"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-13 12:55:51",
"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-13 12:55:51",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2025-12-13 12:55:51",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "ad850699-ad48-4072-b550-f4f11ee6ee08",
"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": "1d094b3e-530b-447d-8e7d-0ec10e700f6c",
"Desc": "sample string 5",
"DescTransId": "35010543-54a9-41ba-b29f-b80ae326d4f9",
"Body": "sample string 7",
"ContentTransId": "063652e1-4831-4793-a5bc-b3dc842918b1",
"MContentTransId": "cd992246-be21-46c3-bc8f-2802bf41c0c6",
"Title": "sample string 10",
"TitleTransId": "ab845198-f341-4fb1-b6d0-762444cc322a",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2025-12-13 12:55:51",
"UpdateDateVal": "2025-12-13 12:55:51",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "e3560eeb-ddd1-4d3e-a82a-7e3be966fcb9",
"Url": "sample string 17",
"UrlTransId": "ccad20a7-4376-40a8-8a2f-5ec86e0959f3",
"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": "940bc259-bcac-4d5f-b860-6a8c3ab06a4a",
"SeoDesc": "sample string 21",
"SeoDescTransId": "a650cd8f-dff3-4876-91a1-9a03bd9fd33f",
"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-13 12:55:51",
"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-13 12:55:51",
"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-13 12:55:51",
"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-13 12:55:51",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2025-12-13 12:55:51",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "ad850699-ad48-4072-b550-f4f11ee6ee08",
"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"
}