Todo.ly REST API Method: PUT /Projects/Id

Updates the given project based on the input parameters.

URL:

https://todo.ly/api/projects/[id].format

Formats:

xml, json

HTTP Method(s):

PUT, POST.

Requires Authentication:

true

Parameters:

This method requires a ProjectObject as input parameter, although it doesn’t require all the fields of the ProjectObject.
The supplied fields will be updated on the server. For example if the ProjectObject only contains the Icon, then only that field will be updated. It updates the project with the given Id.

Example Parameter input in XML format:

<ProjectObject>  
  <Icon>5</Icon>
</ProjectObject>

Usage examples:

https://todo.ly/api/projects/1959.xml

Response:

The response contains the details of the updated project

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