POST TaskComment/Create
Request Information
URI Parameters
None.
Body Parameters
CommentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| TaskId | integer |
None. |
|
| File | string |
None. |
|
| Comment | string |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| UserName | string |
None. |
|
| CreatedOn | date |
None. |
|
| RoleName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"TaskId": 2,
"File": "sample string 3",
"Comment": "sample string 4",
"CreatedBy": 1,
"ModifiedBy": 1,
"UserName": "sample string 5",
"CreatedOn": "2025-12-07T05:22:50.1723731+05:30",
"RoleName": "sample string 6"
}
application/xml, text/xml
Sample:
<CommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JKG.Models.Models"> <Comment>sample string 4</Comment> <CreatedBy>1</CreatedBy> <CreatedOn>2025-12-07T05:22:50.1723731+05:30</CreatedOn> <File>sample string 3</File> <ID>1</ID> <ModifiedBy>1</ModifiedBy> <RoleName>sample string 6</RoleName> <TaskId>2</TaskId> <UserName>sample string 5</UserName> </CommentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.