{
  "opencollection": "1.0.0",
  "info": {
    "name": "PlanRadar's API Documentation Approval Requests V2 Gantt V2 API",
    "version": "2.0"
  },
  "items": [
    {
      "info": {
        "name": "Gantt V2",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieves All Phases for a specific projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/:customer_id/projects/:project_id/gantt_tasks",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "last_sync_date",
                "value": "",
                "type": "query"
              },
              {
                "name": "pagesize",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "search",
                "value": "",
                "type": "query"
              },
              {
                "name": "component_id",
                "value": "",
                "type": "query"
              },
              {
                "name": "hide_closed_tickets",
                "value": "",
                "type": "query"
              },
              {
                "name": "ids",
                "value": "",
                "type": "query",
                "description": "ID's for the need gantt tasks"
              }
            ]
          },
          "docs": "list all the filters"
        },
        {
          "info": {
            "name": "Create New Phase/Task",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/:customer_id/projects/:project_id/gantt_tasks",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create new phase / task"
        },
        {
          "info": {
            "name": "Retrieve Phase/Task",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/:customer_id/projects/:project_id/gantt_tasks/:id",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve phase / task"
        },
        {
          "info": {
            "name": "Update Phase/Task",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v2/:customer_id/projects/:project_id/gantt_tasks/:id",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update phase / task"
        },
        {
          "info": {
            "name": "Delete Phase/Task",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/v2/:customer_id/projects/:project_id/gantt_tasks/:id",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete phase / task"
        },
        {
          "info": {
            "name": "Clone Phase/Task",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/:customer_id/projects/:project_id/gantt_tasks/:id/clone",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Clone phase / task"
        },
        {
          "info": {
            "name": "Attach Ticket to Phase/Task",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/:customer_id/projects/:project_id/gantt_tasks/attach_ticket",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "pagesize",
                "value": "",
                "type": "query",
                "description": "Maximum is 500, default is 100"
              },
              {
                "name": "last_sync_date",
                "value": "",
                "type": "query"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "apply_filter",
                "value": "",
                "type": "query",
                "description": "filterid, based on which the tickets should be filtered"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "keyword, based on which the tickets should be filtered"
              }
            ]
          },
          "docs": "Add ticket to phase / task"
        },
        {
          "info": {
            "name": "Import Gantt Tasks",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/:customer_id/projects/:project_id/gantt_tasks/import",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Import Gantt Tasks"
        },
        {
          "info": {
            "name": "Import Gantt Tasks",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v2/:customer_id/projects/:project_id/gantt_tasks/sync_scheduler",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get the status of scheduler if mpp or any other supported format was imported "
        },
        {
          "info": {
            "name": "Export Gantt Tasks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v2/:customer_id/projects/:project_id/gantt_tasks/export",
            "params": [
              {
                "name": "customer_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Export the Gantt chart for a project (e.g. PDF/XML)."
        }
      ]
    }
  ],
  "bundled": true
}