POST api/Todo/PostTodoItem

Documentation for 'PostTodoItem'.

Request Information

Parameters

NameDescriptionAdditional information
todoItemDto
Documentation for '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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TodoItemId>1</TodoItemId>
  <Title>sample string 2</Title>
  <IsDone>true</IsDone>
  <TodoListId>4</TodoListId>
</TodoItemDto>

application/x-www-form-urlencoded

Sample:

Sample not available.