POST Api/ActionItemCommentsAPI/Create
Request Information
URI Parameters
None.
Body Parameters
ActionItemCommentsDTOName | Description | Type | Additional 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:45:26.0950218+04:00", "UpdatedBy": 1, "UpdatedOn": "2025-05-25T18:45:26.0950218+04:00", "IsActive": true, "IsDeleted": true, "IsViewed": true, "ShowToDepartmentAdmin": true, "ShowToProjectHead": true, "RoleId": "0ee07e72-d240-4799-8a3f-5381aa0cd846" }
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:45:26.0950218+04:00","UpdatedBy":1,"UpdatedOn":"2025-05-25T18:45:26.0950218+04:00","IsActive":true,"IsDeleted":true,"IsViewed":true,"ShowToDepartmentAdmin":true,"ShowToProjectHead":true,"RoleId":"0ee07e72-d240-4799-8a3f-5381aa0cd846"}
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:45:26.0950218+04:00</CreatedOn> <Id>1</Id> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <IsViewed>true</IsViewed> <Name>sample string 4</Name> <RoleId>0ee07e72-d240-4799-8a3f-5381aa0cd846</RoleId> <ShowToDepartmentAdmin>true</ShowToDepartmentAdmin> <ShowToProjectHead>true</ShowToProjectHead> <SubName>sample string 5</SubName> <UpdatedBy>1</UpdatedBy> <UpdatedOn>2025-05-25T18:45:26.0950218+04:00</UpdatedOn> </ActionItemCommentsDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse 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>