PUT api/teams/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": "ee68cb07-0843-4816-a2de-b01ae7028a71", "Rating": 3, "CreatedDate": "2024-04-23T18:05:35.605Z" }
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-23T18:05:35.605475+00:00</CreatedDate> <Rating>3</Rating> <UserId>ee68cb07-0843-4816-a2de-b01ae7028a71</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>