POST api/ToDoList/AddTask
Request Information
URI Parameters
None.
Body Parameters
TaskModel| Name | Description | Type | Additional information |
|---|---|---|---|
| taskName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"taskName": "sample string 1"
}
application/xml, text/xml
Sample:
<ToDoListController.TaskModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CinimaServer.Api"> <taskName>sample string 1</taskName> </ToDoListController.TaskModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/javascript, application/javascript, application/json-p
Sample:
Sample not available.