Todo.ly REST API Method: POST /Projects

Creates a new Project based on the input parameters.

URL:

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

Formats:

xml, json

HTTP Method(s):

POST

Requires Authentication:

true

Parameters:

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

  • Content

Example Parameter input in XML format:

<ProjectObject>
  <Content>My New Project</Content>
  <Icon>4</Icon>
</ProjectObject>

Usage examples:

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

Response:

The response contains the details of the created project

<ProjectObject>
  <Id>1959</Id>
  <Content>My New Project</Content>
  <ItemsCount>0</ItemsCount>
  <Icon>4</Icon>
  <ItemType>2</ItemType>
  <ParentId>0</ParentId>
  <Collapsed>false</Collapsed>
  <ItemOrder>0</ItemOrder>
  <Children />
</ProjectObject>