PUT api/teams/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": "df9f5852-f7f1-4f61-9d94-d6117ce2d9ea", "UserFirstName": "sample string 2", "UserLastName": "sample string 3", "ArchivedbyUser": "1b722b85-e243-4715-ae11-9eca6445acc2", "Comment": "sample string 5", "Archived": true, "Helpful": true, "CreatedDate": "2024-05-08T13:06:54.679Z", "ArchivedDate": "2024-05-08T13:06:54.679Z", "DateUpdated": "2024-05-08T13:06:54.679Z" }
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-05-08T13:06:54.6792749+00:00</ArchivedDate> <ArchivedbyUser>1b722b85-e243-4715-ae11-9eca6445acc2</ArchivedbyUser> <Comment>sample string 5</Comment> <CommentId>1</CommentId> <CreatedDate>2024-05-08T13:06:54.6792749+00:00</CreatedDate> <DateUpdated>2024-05-08T13:06:54.6792749+00:00</DateUpdated> <Helpful>true</Helpful> <KnowledgeArticleID>1</KnowledgeArticleID> <UserFirstName>sample string 2</UserFirstName> <UserID>df9f5852-f7f1-4f61-9d94-d6117ce2d9ea</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>