POST api/Comment

Request Information

URI Parameters

None.

Body Parameters

CommentModel
NameDescriptionTypeAdditional information
CommentId

integer

None.

CompanyAccountId

integer

None.

ProjectId

integer

None.

TaskId

integer

None.

CommentContent

string

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

CreatedAt

date

None.

ModifiedAt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CommentId": 1,
  "CompanyAccountId": 2,
  "ProjectId": 3,
  "TaskId": 4,
  "CommentContent": "sample string 5",
  "CreatedBy": 6,
  "ModifiedBy": 7,
  "CreatedAt": "2020-11-28T17:24:54.338394+00:00",
  "ModifiedAt": "2020-11-28T17:24:54.338394+00:00"
}

application/xml, text/xml

Sample:
<CommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cuewel.Business.Model">
  <CommentContent>sample string 5</CommentContent>
  <CommentId>1</CommentId>
  <CompanyAccountId>2</CompanyAccountId>
  <CreatedAt>2020-11-28T17:24:54.338394+00:00</CreatedAt>
  <CreatedBy>6</CreatedBy>
  <ModifiedAt>2020-11-28T17:24:54.338394+00:00</ModifiedAt>
  <ModifiedBy>7</ModifiedBy>
  <ProjectId>3</ProjectId>
  <TaskId>4</TaskId>
</CommentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.