Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

discussions-KMGetCommunityPostByID

Updated on January 19, 2022

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

NameTypeDescription
PostIdstringThe ID of the post.
CommunityNamestringThe 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"
        }
    ]
}

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us