GET api/TodoList/{id}
Documentation for 'GetTodoList'.
Request Information
Parameters
Name | Description | Additional 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:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmberTest.Models"> <Title>sample string 3</Title> <TodoListId>1</TodoListId> <Todos> <TodoItemDto> <IsDone>true</IsDone> <Title>sample string 2</Title> <TodoItemId>1</TodoItemId> <TodoListId>4</TodoListId> </TodoItemDto> <TodoItemDto> <IsDone>true</IsDone> <Title>sample string 2</Title> <TodoItemId>1</TodoItemId> <TodoListId>4</TodoListId> </TodoItemDto> <TodoItemDto> <IsDone>true</IsDone> <Title>sample string 2</Title> <TodoItemId>1</TodoItemId> <TodoListId>4</TodoListId> </TodoItemDto> </Todos> <UserId>sample string 2</UserId> </TodoListDto>