PUT api/V3/ArticleComment/Patch Updates existing comment
Request Information
URI Parameters
None.
Body Parameters
Knowledge article comment object
KACommentName | Description | Type | Additional information |
---|---|---|---|
CommentId | integer |
None. |
|
KnowledgeArticleID | integer |
None. |
|
UserID | globally unique identifier |
None. |
|
UserFirstName | string |
None. |
|
UserLastName | string |
None. |
|
ArchivedbyUser | globally unique identifier |
None. |
|
Comment | string |
None. |
|
Archived | boolean |
None. |
|
Helpful | boolean |
None. |
|
CreatedDate | date |
None. |
|
ArchivedDate | date |
None. |
|
DateUpdated | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "CommentId": 1, "KnowledgeArticleID": 1, "UserID": "51c5bbef-d60e-4cb1-a2da-5caaa020e015", "UserFirstName": "sample string 2", "UserLastName": "sample string 3", "ArchivedbyUser": "8e4ed7b2-07ad-416d-829b-857c24b4cb4f", "Comment": "sample string 5", "Archived": true, "Helpful": true, "CreatedDate": "2024-04-20T11:29:18.365Z", "ArchivedDate": "2024-04-20T11:29:18.365Z", "DateUpdated": "2024-04-20T11:29:18.365Z" }
application/xml, text/xml
Sample:
<KAComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cireson.ServiceManager.WebConsole.ViewModels"> <Archived>true</Archived> <ArchivedDate>2024-04-20T11:29:18.3656981+00:00</ArchivedDate> <ArchivedbyUser>8e4ed7b2-07ad-416d-829b-857c24b4cb4f</ArchivedbyUser> <Comment>sample string 5</Comment> <CommentId>1</CommentId> <CreatedDate>2024-04-20T11:29:18.3656981+00:00</CreatedDate> <DateUpdated>2024-04-20T11:29:18.3656981+00:00</DateUpdated> <Helpful>true</Helpful> <KnowledgeArticleID>1</KnowledgeArticleID> <UserFirstName>sample string 2</UserFirstName> <UserID>51c5bbef-d60e-4cb1-a2da-5caaa020e015</UserID> <UserLastName>sample string 3</UserLastName> </KAComment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Returns true on success
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>