PUT api/Todos/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Todo| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| IsCompleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"IsCompleted": true
}
application/xml, text/xml
Sample:
<Todo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TodoApi.Models"> <Id>1</Id> <IsCompleted>true</IsCompleted> <Title>sample string 2</Title> </Todo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.