Shared Resource: Project Object Operations
This article lists the commands that are available for various project objects (Tasks, Milestones, Discussions, etc).
{context}/copy-to-project #
This command copies a parent object to a specific project. copy_to_project_id can be the ID of the current project, in which case activeCollab will simply duplicate the parent object in the same project.
Method: POST
Request example:
1 2
copy_to_project_id=2 submitted=submitted
Response:
1 2 3 4 5 6 7
<task> <id>32</id> <name> <![CDATA[Anoter example]]> </name> ... </task>
{context}/move-to-project #
This command moves the parent object to another project.
Method: POST
Request example:
1 2
move_to_project_id=2 submitted=submitted
Response:
1 2 3 4 5 6 7
<task> <id>1</id> <name> <![CDATA[Example Task]]> </name> ... </task>