Api Home > ArticleComment > Patch

PUT api/V3/ArticleComment/Patch Updates existing comment

Request Information

URI Parameters

None.

Body Parameters

Knowledge article comment object

KAComment
NameDescriptionTypeAdditional 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": "a89bbe32-4743-41d3-8ac6-b0bb5e5c662a",
  "UserFirstName": "sample string 2",
  "UserLastName": "sample string 3",
  "ArchivedbyUser": "1c39adda-ce86-4c18-a30a-3d07703ca524",
  "Comment": "sample string 5",
  "Archived": true,
  "Helpful": true,
  "CreatedDate": "2019-12-08T10:34:19.131Z",
  "ArchivedDate": "2019-12-08T10:34:19.131Z",
  "DateUpdated": "2019-12-08T10:34:19.131Z"
}

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>2019-12-08T10:34:19.131053+00:00</ArchivedDate>
  <ArchivedbyUser>1c39adda-ce86-4c18-a30a-3d07703ca524</ArchivedbyUser>
  <Comment>sample string 5</Comment>
  <CommentId>1</CommentId>
  <CreatedDate>2019-12-08T10:34:19.131053+00:00</CreatedDate>
  <DateUpdated>2019-12-08T10:34:19.131053+00:00</DateUpdated>
  <Helpful>true</Helpful>
  <KnowledgeArticleID>1</KnowledgeArticleID>
  <UserFirstName>sample string 2</UserFirstName>
  <UserID>a89bbe32-4743-41d3-8ac6-b0bb5e5c662a</UserID>
  <UserLastName>sample string 3</UserLastName>
</KAComment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Returns true on success

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>