Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
<data>
    <item> <!--create projects-->
      <code>PRJ-101</code>
      <project_category_id>Animation</project_category_id>
      <manager_id>Mary Jane</manager_id>
      <client_id>Acme Consulting</client_id>
      <phase_id>In Planning</phase_id>
      <department<workspace_id>Technical</departmentworkspace_id>
      <summary>Project #1</summary>
      <priority>2</priority>
      <plan_start>2010-11-02T08:00:00</plan_start>
      <deadline>2010-11-04T17:00:00</deadline>
      <Start_up_cost>500</Start_up_cost> <!--Start_up_cost is the formula key of the custom field>
      <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>
      <workspace_id>3</department_id>
      <summary>Project #2</summary>
      <priority>1</priority>
      <plan_start>2010-11-02T08:00:00</plan_start>
      <deadline>2010-11-04T17:00:00</deadline>
      <budget>200000</budget>
    </item>
</data>

...

Code Block
[
  {
    "project_category_id" : "Animation"},
    "manager_id" : "Mary Jane",
    "client_id" : "Acme Consulting",
    "phase_id" : "In Planning",
    "department_idworkspace" : "Technical",
    "summary" : "Project #1",
    "priority" : "2",
    "plan_start" : "2010-11-02T08:00:00",
    "deadline" : "2010-11-04T17:00:00",
    "Start_up_plan: : "500",
    "budget" : "100000",
  }
  {
    "project_category_id" : "101"},
    ...
  }   
]