PUT api/Todo/{id}

Documentation pour 'PutTodoItem'.

Request Information

Parameters

NameDescriptionAdditional information
id
Documentation pour 'id'.

Define this parameter in the request URI.

todoItemDto
Documentation pour 'todoItemDto'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "todoItemId": 1,
  "title": "sample string 2",
  "isDone": true,
  "todoListId": 4
}

application/xml, text/xml

Sample:
<TodoItemDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/icalendar.Models">
  <IsDone>true</IsDone>
  <Title>sample string 2</Title>
  <TodoItemId>1</TodoItemId>
  <TodoListId>4</TodoListId>
</TodoItemDto>

application/x-www-form-urlencoded

Sample:

Sample not available.