articles-KMCreateArticleSuggestion
Creates an article suggestion in the Content candidates work basket.
Pega Knowledge
Implementation Guide
Method: POST
Sample endpoint URL
https://<DomainName>/prweb/api/PegaKMREST/articles/KMCreateArticleSuggestion
Query parameters
Name | Type | Description |
articletitle | string | The title of the article. |
articleabstract | string | The abstract for the article. |
categoryid | string | The Category ID; only one category is allowed. |
articlebody | string | The article body (HTML or plain text). |
tags | string | Comma separated tag names. |
Response syntax
{
"ArticleAbstract":"",
"ArticleTitle":"",
"KMContentCandidateCategoryID":"",
"KMContentCandidateCategoryLabel":"",
"KMContentSource":"",
"success":[
{
"message":""
}
]
}
Sample response
{
"ArticleAbstract":"Describe how rest APIs can be used"
,"ArticleTitle":"How to use REST APIs?"
,"KMContentCandidateCategoryID":"TAX-9"
,"KMContentCandidateCategoryLabel":"General Q & A"
,"KMContentSource":"Refer PegaKMREST service package for details"
,"success":[
{
"message":"Article Suggestion successfully created"
}
]
}
Previous topic search-KMGetArticlesAndPosts Next topic downloads-KMDownloadAttachments-{AttachmentKey}