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. |
|
PreviousId | string |
None. |
|
NextId | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Key": "sample string 2", "Author": "sample string 3", "AuthorTransId": "0144d858-5614-47c7-a587-ff97c12c0b21", "Desc": "sample string 5", "DescTransId": "da6743b7-8248-4421-997a-f6e96f03ff83", "Body": "sample string 7", "ContentTransId": "cae1a896-c215-4f20-90e2-3f42e4f97ee5", "MContentTransId": "7f8aaa58-f75d-4f77-a28f-2e79caa78b54", "Title": "sample string 10", "TitleTransId": "5851fd32-e1c7-4867-9931-c725e0e65235", "ImagePath": "sample string 12", "CreateDate": "sample string 13", "UpdateDate": "sample string 14", "CreateDateVal": "2024-11-09 03:30:42", "UpdateDateVal": "2024-11-09 03:30:42", "CatId": 15, "Cover": "sample string 16", "CoverId": "e8bcd04d-b4d9-4bd6-ab02-7e765738f660", "Url": "sample string 17", "UrlTransId": "8c839bac-1603-4b09-9835-878c456e6fb3", "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": "835229e2-a46e-432b-85a1-b5f800fbcb8c", "SeoDesc": "sample string 21", "SeoDescTransId": "e6464ea2-59d0-4a8a-86de-195a532a83bd", "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": "2024-11-09 03:30:42", "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": "2024-11-09 03:30:42", "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": "2024-11-09 03:30:42", "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": "2024-11-09 03:30:42", "CreateDateString": "sample string 8", "Name": "sample string 9" } ] } ], "ContentDateTime": "2024-11-09 03:30:42", "IsTop": true, "IsOpenWindows": true, "UrlTypeTransId": "63571ab2-9bbd-4d59-8d75-f6231b33196d", "IsMobile": true, "WeekNum": "sample string 28", "ContentDateTimeStr": "sample string 29", "Parentid": 30, "CatKey": "sample string 31", "PreviousId": "sample string 32", "NextId": "sample string 33" }