{
  "opencollection": "1.0.0",
  "info": {
    "name": "Oracle Primavera P6 EPPM REST API",
    "version": "26.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List projects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/p6ws/rest/v1/projects",
            "params": [
              {
                "name": "Fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return"
              },
              {
                "name": "Filter",
                "value": "",
                "type": "query",
                "description": "RSQL filter expression"
              },
              {
                "name": "OrderBy",
                "value": "",
                "type": "query",
                "description": "Field to sort by"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Pagination offset"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum records to return"
              }
            ]
          },
          "docs": "Returns a collection of projects accessible to the authenticated user, with optional field filtering."
        },
        {
          "info": {
            "name": "Create a project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/p6ws/rest/v1/projects",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new project in the P6 EPPM system."
        },
        {
          "info": {
            "name": "Get a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/p6ws/rest/v1/projects/:objectId",
            "params": [
              {
                "name": "objectId",
                "value": "",
                "type": "path",
                "description": "Unique numeric ObjectId"
              },
              {
                "name": "Fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to return"
              }
            ]
          },
          "docs": "Returns a single project by its ObjectId."
        },
        {
          "info": {
            "name": "Update a project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}/p6ws/rest/v1/projects/:objectId",
            "params": [
              {
                "name": "objectId",
                "value": "",
                "type": "path",
                "description": "Unique numeric ObjectId"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates fields on an existing project."
        },
        {
          "info": {
            "name": "Delete a project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}/p6ws/rest/v1/projects/:objectId",
            "params": [
              {
                "name": "objectId",
                "value": "",
                "type": "path",
                "description": "Unique numeric ObjectId"
              }
            ]
          },
          "docs": "Permanently deletes a project and all its child objects."
        }
      ]
    },
    {
      "info": {
        "name": "Activities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List activities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/p6ws/rest/v1/activities",
            "params": [
              {
                "name": "Fields",
                "value": "",
                "type": "query"
              },
              {
                "name": "Filter",
                "value": "",
                "type": "query",
                "description": "Filter by project or WBS; e.g. ProjectObjectId eq 12345"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns activities with scheduling data including planned dates, durations, and relationships."
        },
        {
          "info": {
            "name": "Create an activity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/p6ws/rest/v1/activities",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new activity within a project."
        },
        {
          "info": {
            "name": "Get an activity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/p6ws/rest/v1/activities/:objectId",
            "params": [
              {
                "name": "objectId",
                "value": "",
                "type": "path",
                "description": "Unique numeric ObjectId"
              },
              {
                "name": "Fields",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns details for a single activity."
        },
        {
          "info": {
            "name": "Update an activity",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{host}/p6ws/rest/v1/activities/:objectId",
            "params": [
              {
                "name": "objectId",
                "value": "",
                "type": "path",
                "description": "Unique numeric ObjectId"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates scheduling fields on an activity."
        }
      ]
    },
    {
      "info": {
        "name": "WBS",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List WBS elements",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/p6ws/rest/v1/wbss",
            "params": [
              {
                "name": "Fields",
                "value": "",
                "type": "query"
              },
              {
                "name": "Filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns Work Breakdown Structure elements for projects."
        }
      ]
    },
    {
      "info": {
        "name": "Resources",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List resources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/p6ws/rest/v1/resources",
            "params": [
              {
                "name": "Fields",
                "value": "",
                "type": "query"
              },
              {
                "name": "Filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns labor, non-labor, and material resources."
        }
      ]
    },
    {
      "info": {
        "name": "ResourceAssignments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List resource assignments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/p6ws/rest/v1/resourceassignments",
            "params": [
              {
                "name": "Fields",
                "value": "",
                "type": "query"
              },
              {
                "name": "Filter",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns resource-to-activity assignments with planned and actual units."
        }
      ]
    },
    {
      "info": {
        "name": "Baselines",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List baselines",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/p6ws/rest/v1/baselines",
            "params": [
              {
                "name": "Fields",
                "value": "",
                "type": "query"
              },
              {
                "name": "Filter",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns project baselines including planned dates and costs."
        }
      ]
    }
  ],
  "bundled": true
}