Skip to main content


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

discussions-KMGetUserCommunityPost

Updated on September 14, 2021

Gets all the community posts for a specified operator ID.

Pega Knowledge Implementation Guide

Method: GET

Sample endpoint URL

https://<DomainName>/prweb/api/PegaKMREST/discussions/KMGETUserCommunityPost

Query Parameters

NameTypeDescription
UserIDstringThe ID of the Operator whose posts you want to retrieve.

Response syntax

{
    "posts": [
        {
            "categoryid": "",
            "categoryname": "",
            "communityname": "",
            "memberemail": "",
            "memberid": "",
            "membername": "",
            "postbody": "",
            "postid": "",
            "posttitle": ""
        } 
    ]
}

Sample response

{
    "posts": [

        {
            "categoryid": "TAX-5",
            "categoryname": "Retail Banking",
            "communityname": "Uplus Community",
            "memberemail": "",
            "memberid": "CONNOR",
            "membername": "Sara Connor",
            "postbody": "<p> Time to start planning for college savings, and I'm interested in learning about college savings.  Any good sites that talk about 529 plans? Just had our first child!</p> \n\n<p> <img alt=\"\" height=\"100\" src=\"../datacontent/Image/rteImages/new+",
            "postid": "C-9",
            "posttitle": "Looking for good information on college savings plans"
        },

        {
            "categoryid": "TAX-2",
            "categoryname": "Customer Service",
            "communityname": "Uplus Community",
            "memberemail": "",
            "memberid": "CONNOR",
            "membername": "Sara Connor",
            "postbody": "<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-inden+",
            "postid": "C-6",
            "posttitle": "How do I change my contact details?"
        }
    ]
}

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