Project Group commands let you organise manage project groups from an external application.
The ability to work with project groups through the API was added in activeCollab 1.1.4 and is not available in older versions.
Lists all available project groups in your activeCollab.
Method: GET.
Example response:
<project_groups>
<project_group>
<id>1</id>
<name>
<![CDATA[Default]]>
</name>
</project_group>
<project_group>
<id>2</id>
<name>
<![CDATA[First Group]]>
</name>
</project_group>
</project_groups>__
Creates a new project group. The name of the group needs to be unique.
Method: POST.
Request example:
submitted=submitted project_group[name] = Development
Response:
<project_group>
<id>4</id>
<name>
<![CDATA[Development]]>
</name>
</project_group>
Displays group details, including all projects that belong to a group.
Method: GET.
<project_group>
<id>2</id>
<name>
<![CDATA[First Group]]>
</name>
<projects>
<project>
<id>1</id>
<name>
<![CDATA[First Project]]>
</name>
<overview>
<![CDATA[<p>This is overview of the first project</p>]]>
</overview>
<status>
<![CDATA[active]]>
</status>
<permalink>...</permalink>
<leader_id>15</leader_id>
<company_id>16</company_id>
<group_id>2</group_id>
</project>
</projects>
</project_group>
This command updates the existing project group name.
Method: POST.
Request example:
submitted=submitted project_group[name] = Update group name
Response:
<project_group>
<id>2</id>
<name>
<![CDATA[Update group name]]>
</name>
</project_group>
Removes a project group from the database. If successful, the system will return a HTTP status 200 OK message.
Method: POST.
Be aware that only empty project groups can be deleted.
Request example:
submitted=submitted