Api Home > ArticleComment > Post

POST api/V3/ArticleComment/Post Adds a new 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": "834d85ee-8342-4e9b-92a2-c2f982f050fc",
  "UserFirstName": "sample string 2",
  "UserLastName": "sample string 3",
  "ArchivedbyUser": "07178075-13f1-4f63-8262-6bb66d39d06a",
  "Comment": "sample string 5",
  "Archived": true,
  "Helpful": true,
  "CreatedDate": "2024-04-19T14:20:29.627Z",
  "ArchivedDate": "2024-04-19T14:20:29.627Z",
  "DateUpdated": "2024-04-19T14:20:29.627Z"
}

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-19T14:20:29.6276673+00:00</ArchivedDate>
  <ArchivedbyUser>07178075-13f1-4f63-8262-6bb66d39d06a</ArchivedbyUser>
  <Comment>sample string 5</Comment>
  <CommentId>1</CommentId>
  <CreatedDate>2024-04-19T14:20:29.6276673+00:00</CreatedDate>
  <DateUpdated>2024-04-19T14:20:29.6276673+00:00</DateUpdated>
  <Helpful>true</Helpful>
  <KnowledgeArticleID>1</KnowledgeArticleID>
  <UserFirstName>sample string 2</UserFirstName>
  <UserID>834d85ee-8342-4e9b-92a2-c2f982f050fc</UserID>
  <UserLastName>sample string 3</UserLastName>
</KAComment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

success: true/false

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>