discussions-KMGetUserCommunityPost
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
Name | Type | Description |
UserID | string | The 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?"
}
]
}
Previous topic discussions-KMGetCommunityPostByCategory Next topic Testing and deploying application changes