POST V2/CMS/GetFromContentByCatId
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": "7f988037-2445-4ac8-b166-d90b991538af",
"Desc": "sample string 5",
"DescTransId": "2cc22697-cc43-475a-853b-f34ac223e1a1",
"Body": "sample string 7",
"ContentTransId": "bf32f220-8db0-4a83-97e9-dc1413676982",
"MContentTransId": "9b1db465-b6c1-4a73-be90-70b912387d4f",
"Title": "sample string 10",
"TitleTransId": "e83ed1fa-a31e-44ac-9b43-ad17935d1e05",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-06-25 17:03:07",
"UpdateDateVal": "2026-06-25 17:03:07",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "d05cab0c-eb38-4089-9bef-0e824f2ac861",
"Url": "sample string 17",
"UrlTransId": "dc29d0c8-59b9-4c39-a7df-7570dd896328",
"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": "b0d1b86e-4384-46e5-915e-ff2892aad5cc",
"SeoDesc": "sample string 21",
"SeoDescTransId": "283f5edd-2fba-48c2-976f-ec0441ee1942",
"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-06-25 17:03:07",
"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-06-25 17:03:07",
"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-06-25 17:03:07",
"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-06-25 17:03:07",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-06-25 17:03:07",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "7354322d-f9f8-45ee-be16-0e3699adb92a",
"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": "7f988037-2445-4ac8-b166-d90b991538af",
"Desc": "sample string 5",
"DescTransId": "2cc22697-cc43-475a-853b-f34ac223e1a1",
"Body": "sample string 7",
"ContentTransId": "bf32f220-8db0-4a83-97e9-dc1413676982",
"MContentTransId": "9b1db465-b6c1-4a73-be90-70b912387d4f",
"Title": "sample string 10",
"TitleTransId": "e83ed1fa-a31e-44ac-9b43-ad17935d1e05",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-06-25 17:03:07",
"UpdateDateVal": "2026-06-25 17:03:07",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "d05cab0c-eb38-4089-9bef-0e824f2ac861",
"Url": "sample string 17",
"UrlTransId": "dc29d0c8-59b9-4c39-a7df-7570dd896328",
"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": "b0d1b86e-4384-46e5-915e-ff2892aad5cc",
"SeoDesc": "sample string 21",
"SeoDescTransId": "283f5edd-2fba-48c2-976f-ec0441ee1942",
"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-06-25 17:03:07",
"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-06-25 17:03:07",
"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-06-25 17:03:07",
"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-06-25 17:03:07",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-06-25 17:03:07",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "7354322d-f9f8-45ee-be16-0e3699adb92a",
"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"
}