GET api/TodoList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

System.Collections.Generic.IEnumerable`1[TodoListService.Models.TodoItem]
NameDescriptionTypeAdditional information
Title

System.String

None.

Owner

System.String

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Title": "sample string 1",
    "Owner": "sample string 2"
  },
  {
    "Title": "sample string 1",
    "Owner": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTodoItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TodoListService.Models">
  <TodoItem>
    <Owner>sample string 2</Owner>
    <Title>sample string 1</Title>
  </TodoItem>
  <TodoItem>
    <Owner>sample string 2</Owner>
    <Title>sample string 1</Title>
  </TodoItem>
</ArrayOfTodoItem>