Todo.ly REST API Method: POST /Items

Creates a new item based on the input parameters.

URL:

https://todo.ly/api/items.format

Formats:

xml, json

HTTP Method(s):

POST

Requires Authentication:

true

Parameters:

This method requires an ItemObject as input parameter, although it doesn’t require all the fields of the ItemObject, only the followings:

  • Content

Example Parameter input in XML format:

<ItemObject>    
    <Content>New Item</Content>    
</ItemObject>    

Usage examples:

https://todo.ly/api/items.xml

Response:

The response contains the details of the created item

  <ItemObject>
    <Id>1033</Id>
    <Content>New Item</Content>
    <ItemType>1</ItemType>
    <Checked>false</Checked>
    <ProjectId>192</ProjectId>
    <ParentId>0</ParentId>
    <Path />
    <Collapsed>false</Collapsed>
    <DateString />
    <DateStringPriority>0</DateStringPriority>
    <DueDate />
    <ItemOrder>0</ItemOrder>
    <Priority>4</Priority>
    <Children />
  </ItemObject>