discussions-KMGetCommunityPostByID
Gets the post for a specified post ID and community name.
Pega Knowledge
Implementation Guide
Method: GET
Sample endpoint URL
https://<DomainName>/prweb/api/PegaKMREST/discussions/KMGetCommunityPostByID
Query parameters
Name | Type | Description |
PostId | string | The ID of the post. |
CommunityName | string | The name of the community. |
Response syntax
{
"CategoryID": "",
"CategoryLabel": "",
"CommunitySiteKey": "",
"CreateDateTime": "",
"CreateOperatorName": "",
"Description": "",
"ModeratorBestAnswerID": "",
"ObjectType": "",
"PostID": "",
"PostTitle": "",
"Tags": [
{
"TagName": ""
}
]
}
Sample response
{
"CategoryID": "TAX-6",
"CategoryLabel": "",
"CommunitySiteKey": "PEGAFW-KM-DATA-COMMUNITYPORTAL UPLUS COMMUNITY!PUBLISHED",
"CreateDateTime": "20171024T092505.810 GMT",
"CreateOperatorName": "SARA CONNOR",
"Description": "<p> <span style=\"color: rgb(0, 0, 0); font-family: OpenSans, sans-serif; font-size: 13px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\"> Just curious about CD's, please help.</span> </p> ",
"ModeratorBestAnswerID": "",
"ObjectType": "",
"PostID": "C-1",
"PostTitle": "What's the most high-yield CD that U+ Bank offers?",
"Tags": [
{
"TagName": "cd"
},
{
"TagName": "certificate"
}
]
}
Previous topic downloads-KMDownloadAttachments-{AttachmentKey} Next topic discussions-KMGetCommunityPostByCategory