activateArticle
- Home
- Blogs & Articles
- UgcArticle
- activateArticle
activateArticle
Activates this article if it is in an ‘inactive’ state. Also activates this article’s current version_id.
Parameters
Name | Description |
articleID required | ID of article to work with. |
userID required | User ID that’s performing the action. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcArticle?action=activateArticle&articleID=267355&userID=229928503&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "service":"ugcArticle", "action":"activateArticle", "code":1, "message":"Article Successfully Activated", "item":true } |
Service Information
Service | ugcArticle |
Method | activateArticle |
Type | REST |
Response Types | JSON, XML |