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
CMSContentInfoName | 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": "59e1f778-1920-4fad-adf1-3582f341e4fc", "Desc": "sample string 5", "DescTransId": "318a4abd-4ea9-4b54-8bfb-ae7043b57f4d", "Body": "sample string 7", "ContentTransId": "b70cf1d6-31c6-4494-839d-9369e6b90b03", "MContentTransId": "555eebbb-5598-416c-b1db-5dc697b38394", "Title": "sample string 10", "TitleTransId": "6b7dd162-2fd8-4dbd-991a-3158a1bf1f0e", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2025-04-04 14:41:37", "UpdateDateVal": "2025-04-04 14:41:37", "CatId": 15, "Cover": "sample string 16", "CoverId": "febca401-dd8d-4677-9782-acf3ea5056e1", "Url": "sample string 17", "UrlTransId": "7ec18e56-0523-445c-9429-90a899d1677c", "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": "607f8b84-08c6-4316-aa6d-72ffd2d5c6f8", "SeoDesc": "sample string 21", "SeoDescTransId": "1543d353-f155-4add-8ac0-8e00ad86324a", "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-04-04 14:41:37", "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-04-04 14:41:37", "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-04-04 14:41:37", "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-04-04 14:41:37", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2025-04-04 14:41:37", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "7fd6d25f-b2c3-48b0-ae82-a5e622e7b14e", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31" }