Creates projects
create-projects
data (Required). It is an array of project
fields. For example, in case the data format is XML, you should
post something like this:
<data>
<item> <!-- create projects -->
<code>PRJ-101</code>
<project_category_id>100</project_category_id>
<manager_id>101</manager_id>
<client_id>200</client_id>
<phase_id>2</phase_id>
<summary>Project #1</summary>
<priority>2</priority>
<plan_start>2008-09-02T08:00:00</plan_start>
<deadline>2008-09-04T17:00:00</deadline>
<budget>100000</budget>
</item>
<item>
<code>PRJ-102</code>
<project_category_id>100</project_category_id>
<manager_id>101</manager_id>
<client_id>201</client_id>
<phase_id>2</phase_id>
<summary>Project #2</summary>
<priority>1</priority>
<plan_start>2008-09-02T08:00:00</plan_start>
<deadline>2008-09-04T17:00:00</deadline>
<budget>200000</budget>
</item>
</data>In case of JSON, you should submit an array of objects with the same properties.
Here are the details of the fields:
project_category_id (Required). Integer. ID of
the project category.
summary (Required). A short description
of the project.
plan_start (Required). Date. The planned
start date of this project.
deadline (Required). Date. The panned
finish date of this project.
manager_id (Required). Integer. ID of the
project manager user.
client_id (Required). Integer. ID of the
client.
code (Optional). A unique code for the
project.
priority (Optional). Integer between 1
(Very High) and 5 (Very Low)
detail (Optional). A detailed description
for this project.
phase_id (Optional). Number. The id of
the project phase.
budget (Optional). Number. The budget for
this project.
Nothing