GET api/TodoList/GetTodoList/{id}

Documentation for 'GetTodoList'.

Request Information

Parameters

NameDescriptionAdditional information
id
Documentation for 'id'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "todoListId": 1,
  "userId": "sample string 2",
  "title": "sample string 3",
  "todos": [
    {
      "todoItemId": 1,
      "title": "sample string 2",
      "isDone": true,
      "todoListId": 4
    },
    {
      "todoItemId": 1,
      "title": "sample string 2",
      "isDone": true,
      "todoListId": 4
    },
    {
      "todoItemId": 1,
      "title": "sample string 2",
      "isDone": true,
      "todoListId": 4
    }
  ]
}

application/xml, text/xml

Sample:
<TodoListDto xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TodoListId>1</TodoListId>
  <UserId>sample string 2</UserId>
  <Title>sample string 3</Title>
  <Todos>
    <TodoItemDto>
      <TodoItemId>1</TodoItemId>
      <Title>sample string 2</Title>
      <IsDone>true</IsDone>
      <TodoListId>4</TodoListId>
    </TodoItemDto>
    <TodoItemDto>
      <TodoItemId>1</TodoItemId>
      <Title>sample string 2</Title>
      <IsDone>true</IsDone>
      <TodoListId>4</TodoListId>
    </TodoItemDto>
    <TodoItemDto>
      <TodoItemId>1</TodoItemId>
      <Title>sample string 2</Title>
      <IsDone>true</IsDone>
      <TodoListId>4</TodoListId>
    </TodoItemDto>
  </Todos>
</TodoListDto>