Api Home > ArticleRating > Post

POST api/V3/ArticleRating/Post Add a new user rating on the specified knowledge article.

Request Information

URI Parameters

None.

Body Parameters

The article rating object

KARating
NameDescriptionTypeAdditional information
ArticleId

integer

None.

UserId

globally unique identifier

None.

Rating

integer

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ArticleId": 1,
  "UserId": "c617a2a2-ba79-4ab0-8269-82b242a61c05",
  "Rating": 3,
  "CreatedDate": "2019-12-08T11:12:14.346Z"
}

application/xml, text/xml

Sample:
<KARating xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cireson.ServiceManager.WebConsole.ViewModels">
  <ArticleId>1</ArticleId>
  <CreatedDate>2019-12-08T11:12:14.3460804+00:00</CreatedDate>
  <Rating>3</Rating>
  <UserId>c617a2a2-ba79-4ab0-8269-82b242a61c05</UserId>
</KARating>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Returns true if number of records updated is greater than zero

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>