POST api/TodoList

Request Information

URI Parameters

None.

Body Parameters

TodoListService.Models.TodoItem
NameDescriptionTypeAdditional information
Title

System.String

None.

Owner

System.String

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.