POST Api/ActionItemCommentsAPI/Update

Request Information

URI Parameters

None.

Body Parameters

ActionItemCommentsDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ActionItemId

integer

Required

Matching regular expression pattern: ^[0-9]*$

Comment

string

Required

Name

string

None.

SubName

string

None.

CreatedBy

integer

Matching regular expression pattern: ^[0-9]*$

CreatedOn

date

Data type: DateTime

UpdatedBy

integer

Matching regular expression pattern: ^[0-9]*$

UpdatedOn

date

Data type: DateTime

IsActive

boolean

Range: inclusive between false and true

IsDeleted

boolean

Range: inclusive between false and true

IsViewed

boolean

None.

ShowToDepartmentAdmin

boolean

None.

ShowToProjectHead

boolean

None.

RoleId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ActionItemId": 2,
  "Comment": "sample string 3",
  "Name": "sample string 4",
  "SubName": "sample string 5",
  "CreatedBy": 6,
  "CreatedOn": "2025-05-25T18:49:38.8616948+04:00",
  "UpdatedBy": 1,
  "UpdatedOn": "2025-05-25T18:49:38.8616948+04:00",
  "IsActive": true,
  "IsDeleted": true,
  "IsViewed": true,
  "ShowToDepartmentAdmin": true,
  "ShowToProjectHead": true,
  "RoleId": "b0141333-980e-4d06-a4b0-f25a34eeea8d"
}

text/html, multipart/form-data

Sample:
{"Id":1,"ActionItemId":2,"Comment":"sample string 3","Name":"sample string 4","SubName":"sample string 5","CreatedBy":6,"CreatedOn":"2025-05-25T18:49:38.8616948+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:49:38.8616948+04:00","IsActive":true,"IsDeleted":true,"IsViewed":true,"ShowToDepartmentAdmin":true,"ShowToProjectHead":true,"RoleId":"b0141333-980e-4d06-a4b0-f25a34eeea8d"}

application/xml, text/xml

Sample:
<ActionItemCommentsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <ActionItemId>2</ActionItemId>
  <Comment>sample string 3</Comment>
  <CreatedBy>6</CreatedBy>
  <CreatedOn>2025-05-25T18:49:38.8616948+04:00</CreatedOn>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <IsViewed>true</IsViewed>
  <Name>sample string 4</Name>
  <RoleId>b0141333-980e-4d06-a4b0-f25a34eeea8d</RoleId>
  <ShowToDepartmentAdmin>true</ShowToDepartmentAdmin>
  <ShowToProjectHead>true</ShowToProjectHead>
  <SubName>sample string 5</SubName>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedOn>2025-05-25T18:49:38.8616948+04:00</UpdatedOn>
</ActionItemCommentsDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ActionItemCommentsDTO'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html, multipart/form-data

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>