PUT api/V3/ArticleRating/Put Update user's rating of the specified knowledge article.
Request Information
URI Parameters
None.
Body Parameters
The article rating object
KARatingName | Description | Type | Additional 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": "cdaade13-b78f-492d-bb89-52bf29bc4e33", "Rating": 3, "CreatedDate": "2024-04-20T07:56:02.623Z" }
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>2024-04-20T07:56:02.6239998+00:00</CreatedDate> <Rating>3</Rating> <UserId>cdaade13-b78f-492d-bb89-52bf29bc4e33</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
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>