POST api/AddComment
Request Information
URI Parameters
None.
Body Parameters
AddComment| Name | Description | Type | Additional information |
|---|---|---|---|
| User_ID | integer |
None. |
|
| Task_ID | integer |
None. |
|
| Comment | string |
None. |
|
| Action | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"User_ID": 1,
"Task_ID": 2,
"Comment": "sample string 3",
"Action": "sample string 4"
}
application/xml, text/xml
Sample:
<AddComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PayrollApp.Models"> <Action>sample string 4</Action> <Comment>sample string 3</Comment> <Task_ID>2</Task_ID> <User_ID>1</User_ID> </AddComment>
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.