GET V2/CMS/GetContentByKey?key={key}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CMSContentInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Key | string |
None. |
|
| Author | string |
None. |
|
| AuthorTransId | globally unique identifier |
None. |
|
| Desc | string |
None. |
|
| DescTransId | globally unique identifier |
None. |
|
| Body | string |
None. |
|
| ContentTransId | globally unique identifier |
None. |
|
| MContentTransId | globally unique identifier |
None. |
|
| Title | string |
None. |
|
| TitleTransId | globally unique identifier |
None. |
|
| ImagePath | string |
None. |
|
| CreateDate | string |
None. |
|
| UpdateDate | string |
None. |
|
| CreateDateVal | date |
None. |
|
| UpdateDateVal | date |
None. |
|
| CatId | integer |
None. |
|
| Cover | string |
None. |
|
| CoverId | globally unique identifier |
None. |
|
| Url | string |
None. |
|
| UrlTransId | globally unique identifier |
None. |
|
| Category | CMSCategory |
None. |
|
| SeoKeyword | string |
None. |
|
| SeoKeyTransId | globally unique identifier |
None. |
|
| SeoDesc | string |
None. |
|
| SeoDescTransId | globally unique identifier |
None. |
|
| Status | integer |
None. |
|
| CmsControl | Collection of CMSDynamicControl |
None. |
|
| ContentDateTime | date |
None. |
|
| IsTop | boolean |
None. |
|
| IsOpenWindows | boolean |
None. |
|
| UrlTypeTransId | globally unique identifier |
None. |
|
| IsMobile | boolean |
None. |
|
| WeekNum | string |
None. |
|
| ContentDateTimeStr | string |
None. |
|
| Parentid | integer |
None. |
|
| CatKey | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Key": "sample string 2",
"Author": "sample string 3",
"AuthorTransId": "05ab3fd0-e2f3-4bd3-8057-a58f90f7ddd8",
"Desc": "sample string 5",
"DescTransId": "da4467c7-cdc7-4a6e-bc30-fffcd2d834e1",
"Body": "sample string 7",
"ContentTransId": "dae8943d-e04b-422b-a7ef-bb1b4db85fc2",
"MContentTransId": "c0974965-b9bb-41fc-942e-e71c72a74f65",
"Title": "sample string 10",
"TitleTransId": "2afcf32f-ae1e-47f8-8c97-8e6cdae38a37",
"ImagePath": "sample string 12",
"CreateDate": "sample string 13",
"UpdateDate": "sample string 14",
"CreateDateVal": "2026-09-04 15:47:59",
"UpdateDateVal": "2026-09-04 15:47:59",
"CatId": 15,
"Cover": "sample string 16",
"CoverId": "2b0618f0-a3f1-4242-94cc-4e0235fca62d",
"Url": "sample string 17",
"UrlTransId": "58830aaf-a994-43ab-97bc-bd79a163993f",
"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": "05938ff0-f3a1-499d-baec-ba98390728f3",
"SeoDesc": "sample string 21",
"SeoDescTransId": "9103c960-c20c-4e14-a4b4-0db601230bcd",
"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-09-04 15:47:59",
"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-09-04 15:47:59",
"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-09-04 15:47:59",
"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-09-04 15:47:59",
"CreateDateString": "sample string 8",
"Name": "sample string 9"
}
]
}
],
"ContentDateTime": "2026-09-04 15:47:59",
"IsTop": true,
"IsOpenWindows": true,
"UrlTypeTransId": "04036116-63dc-4f35-8b5e-7d9a494de0a1",
"IsMobile": true,
"WeekNum": "sample string 28",
"ContentDateTimeStr": "sample string 29",
"Parentid": 30,
"CatKey": "sample string 31"
}