{
  "opencollection": "1.0.0",
  "info": {
    "name": "Factset PA Engine API",
    "version": "3.14.1"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Accounts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Factset Get Accounts and Sub-directories in a Directory",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/lookups/v3/accounts/:path",
            "params": [
              {
                "name": "path",
                "value": "",
                "type": "path",
                "description": "The directory to get the accounts and sub-directories in"
              }
            ]
          },
          "docs": "This endpoint looks up all ACCT and ACTM files and sub-directories in a given directory."
        }
      ]
    },
    {
      "info": {
        "name": "Analytics",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Factset Get Pa Columns",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/columns",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "Column name"
              },
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "Column category"
              },
              {
                "name": "directory",
                "value": "",
                "type": "query",
                "description": "The directory to get the columns in"
              }
            ]
          },
          "docs": "This endpoint lists all the PA columns that can be applied to a calculation."
        },
        {
          "info": {
            "name": "Factset Get Pa Column Settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/columns/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for a column"
              }
            ]
          },
          "docs": "This endpoint returns the default settings of a PA column."
        },
        {
          "info": {
            "name": "Factset Get Pa Column Statistics",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/columnstatistics"
          },
          "docs": "This endpoint lists all the column statistics that can be applied to a PA column."
        },
        {
          "info": {
            "name": "Factset Get Pa Components",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/components",
            "params": [
              {
                "name": "document",
                "value": "",
                "type": "query",
                "description": "Document Name"
              }
            ]
          },
          "docs": "This endpoint returns the list of PA components in a given PA document."
        },
        {
          "info": {
            "name": "Factset Get Pa Component by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/components/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for a PA component"
              }
            ]
          },
          "docs": "This endpoint returns the default settings of a PA component."
        },
        {
          "info": {
            "name": "Factset Get Currencies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/lookups/v3/currencies"
          },
          "docs": "This endpoint lists all the currencies that can be applied to any calculation."
        },
        {
          "info": {
            "name": "Factset Convert Pa Dates to Absolute Format",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/dates",
            "params": [
              {
                "name": "startdate",
                "value": "",
                "type": "query",
                "description": "Start Date"
              },
              {
                "name": "enddate",
                "value": "",
                "type": "query",
                "description": "End Date"
              },
              {
                "name": "componentid",
                "value": "",
                "type": "query",
                "description": "Component Id"
              },
              {
                "name": "account",
                "value": "",
                "type": "query",
                "description": "Account ( Account Name ending with .ACCT or .ACTM )"
              }
            ]
          },
          "docs": "This endpoint converts the given start and end dates in FactSet date format to yyyymmdd format for a PA calculation. For more information on FactSet date format, please refer to the PA Engine API documentation under the 'API Documentation' section in the developer portal."
        },
        {
          "info": {
            "name": "Factset Get Pa3 Documents and Sub-directories in a Directory",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/documents/:path",
            "params": [
              {
                "name": "path",
                "value": "",
                "type": "path",
                "description": "The directory to get the documents and sub-directories in"
              }
            ]
          },
          "docs": "This endpoint looks up all PA3 documents and sub-directories in a given directory."
        },
        {
          "info": {
            "name": "Factset Get Pa Frequencies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/frequencies"
          },
          "docs": "This endpoint lists all the frequencies that can be applied to a PA calculation."
        },
        {
          "info": {
            "name": "Factset Get Pa Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/groups"
          },
          "docs": "This endpoint lists all the PA groups that can be applied to a PA calculation."
        },
        {
          "info": {
            "name": "Factset Get Pa Grouping Frequencies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/grouping-frequencies"
          },
          "docs": "This endpoint lists all the PA grouping frequencies that can be applied to a PA calculation."
        },
        {
          "info": {
            "name": "Factset Get Linked Pa Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/linked-templates",
            "params": [
              {
                "name": "directory",
                "value": "",
                "type": "query",
                "description": "Get linked PA templates in path."
              },
              {
                "name": "documentDirectory",
                "value": "",
                "type": "query",
                "description": "Get linked PA templates for documents in document path"
              },
              {
                "name": "documentName",
                "value": "",
                "type": "query",
                "description": "Get linked PA templates for documents by document name"
              }
            ]
          },
          "docs": "This endpoint returns the list of linked PA templates in given path."
        },
        {
          "info": {
            "name": "Factset Create a Linked Pa Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.factset.com/analytics/engines/pa/v3/linked-templates",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint creates a template from an **existing portfolio analysis tile**, allowing the user to replicate and fetch reports settings.\r\n\r\nRemarks:\r\n\r\n*   Mandatory fields are required to be passed in POST requests and Optional fields are not necessary. \r\n    If no mandatory fields are passed, then we can use the template as a component and skip the component creation.\r\n    \r\n*   Mandatory, optional and locked fields can be  \"accounts\", \"benchmarks\", \"groups\", \"columns\", \"datasources\", \"dates\""
        },
        {
          "info": {
            "name": "Factset Get Linked Pa Template by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/linked-templates/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for a linked PA template"
              }
            ]
          },
          "docs": "This endpoint fetches the linked PA template settings."
        },
        {
          "info": {
            "name": "Factset Update a Linked Pa Template",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.factset.com/analytics/engines/pa/v3/linked-templates/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for a linked PA template"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint allows the user to change the request body and description from an existing template.\r\n\r\nRemarks:\r\n\r\n*   Mandatory fields are required to be passed in POST requests and Optional fields are not necessary. \r\n    If no mandatory fields are passed, then we can use the template as a component and skip the component creation.\r\n    \r\n*   Mandatory, optional and locked fields can be  \"accounts\", \"benchmarks\", \"groups\", \"columns\", \"datasources\", \"dates\", \"currencyisocode\" and \"componentdeta"
        },
        {
          "info": {
            "name": "Factset Delete a Linked Pa Template.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.factset.com/analytics/engines/pa/v3/linked-templates/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for a linked PA template"
              }
            ]
          },
          "docs": "This endpoint deletes an existing linked PA template."
        },
        {
          "info": {
            "name": "Factset Get All Calculations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/calculations",
            "params": [
              {
                "name": "pageNumber",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "This endpoints returns all calculation requests."
        },
        {
          "info": {
            "name": "Factset Create and Run Pa Calculation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.factset.com/analytics/engines/pa/v3/calculations",
            "headers": [
              {
                "name": "X-FactSet-Api-Long-Running-Deadline",
                "value": ""
              },
              {
                "name": "Cache-Control",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint runs the PA calculation specified in the POST body parameters.\r\nIt can take one or more calculation units as input.\r\n\r\nRemarks:\r\n\r\n*\tAny settings in POST body will act as a one-time override over the settings saved in the PA template.\r\n\r\n*   Account identifiers must have .ACCT or .ACTM extension or BENCH: prefix. Holdings mode can be optionally set for every account. \r\n    Possible values for holdings mode are B&H (Buy and Hold), TBR (Transaction based returns), OMS (Order Manageme"
        },
        {
          "info": {
            "name": "Factset Get Pa Calculation Parameters by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/calculations/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "from url, provided from the location header in the Create and Run PA calculation endpoint"
              }
            ]
          },
          "docs": "This is the endpoint that returns the calculation parameters passed for a calculation."
        },
        {
          "info": {
            "name": "Factset Create or Update Pa Calculation and Run It.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.factset.com/analytics/engines/pa/v3/calculations/:id",
            "headers": [
              {
                "name": "X-FactSet-Api-Long-Running-Deadline",
                "value": ""
              },
              {
                "name": "Cache-Control",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "from url, provided from the location header in the Create and Run PA calculation endpoint"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint updates and run the PA calculation specified in the PUT body parameters. This also allows creating new PA calculations with custom ids.\r\nIt can take one or more calculation units as input.\r\n\r\nRemarks:\r\n\r\n*\tAny settings in PUT body will act as a one-time override over the settings saved in the PA template.\r\n\r\n*   Account identifiers must have .ACCT or .ACTM extension or BENCH: prefix. Holdings mode can be optionally set for every account. \r\n    Possible values for holdings mode are "
        },
        {
          "info": {
            "name": "Factset Cancel Pa Calculation by Id",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.factset.com/analytics/engines/pa/v3/calculations/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "from url, provided from the location header in the Create and Run PA calculation endpoint"
              }
            ]
          },
          "docs": "This is the endpoint to cancel a previously submitted calculation."
        },
        {
          "info": {
            "name": "Factset Get Pa Calculation Status by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/calculations/:id/status",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "from url, provided from the location header in the Create and Run PA calculation endpoint"
              }
            ]
          },
          "docs": "This is the endpoint to check on the progress of a previously requested calculation.\r\nIf the calculation has finished computing, the location header will point to the result url.\r\nOtherwise, the calculation is still running and the X-FactSet-Api-PickUp-Progress header will contain a progress percentage."
        },
        {
          "info": {
            "name": "Factset Get Pa Calculation Result by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/calculations/:id/units/:unitId/result",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "from url, provided from the location header in the Get PA calculation status by id endpoint"
              },
              {
                "name": "unitId",
                "value": "",
                "type": "path",
                "description": "from url, provided from the location header in the Get PA calculation status by id endpoint"
              }
            ]
          },
          "docs": "This is the endpoint to get the result of a previously requested calculation.\r\nIf the calculation has finished computing, the body of the response will contain the requested document in JSON."
        },
        {
          "info": {
            "name": "Factset Get Pa Pricing Sources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/pricing-sources",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "PA pricing sources name"
              },
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "PA pricing sources category"
              },
              {
                "name": "directory",
                "value": "",
                "type": "query",
                "description": "The directory to get the PA pricing sources in"
              }
            ]
          },
          "docs": "This endpoint lists all the PA pricing sources that can be applied to a PA calculation."
        },
        {
          "info": {
            "name": "Factset Get Templated Pa Components in Path",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/templated-components",
            "params": [
              {
                "name": "directory",
                "value": "",
                "type": "query",
                "description": "Get templated PA components in path"
              }
            ]
          },
          "docs": "This endpoint returns the list of templated PA components in path."
        },
        {
          "info": {
            "name": "Factset Create Templated Pa Component",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.factset.com/analytics/engines/pa/v3/templated-components",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint creates new component based off of linked PA template or unlinked PA template.\r\n\r\nRemarks:\r\n\r\n*   Any settings in the POST body will act as a one-time override over the settings saved in the PA template.\r\n\r\n*   Account identifiers must have .ACCT or .ACTM extension or BENCH: prefix. Holdings mode can be optionally set for every account. \r\n    Possible values for holdings mode are B&H (Buy and Hold), TBR (Transaction based returns), OMS (Order Management System), \r\n    VLT (Vaulted "
        },
        {
          "info": {
            "name": "Factset Get Templated Pa Component by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/templated-components/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for a templated PA component"
              }
            ]
          },
          "docs": "This endpoint fetches the templated PA component settings."
        },
        {
          "info": {
            "name": "Factset Update Templated Pa Component",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.factset.com/analytics/engines/pa/v3/templated-components/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for a templated PA component"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint allows the user to change the request body from an existing templated PA component.\r\n\r\nRemarks:\r\n\r\n*   Any settings in the POST body will act as a one-time override over the settings saved in the PA template.\r\n\r\n*   Account identifiers must have .ACCT or .ACTM extension or BENCH: prefix. Holdings mode can be optionally set for every account. \r\n    Possible values for holdings mode are B&H (Buy and Hold), TBR (Transaction based returns), OMS (Order Management System), \r\n    VLT (Vau"
        },
        {
          "info": {
            "name": "Factset Delete Templated Pa Component",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.factset.com/analytics/engines/pa/v3/templated-components/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for a templated PA component"
              }
            ]
          },
          "docs": "This endpoint deletes an existing templated PA component"
        },
        {
          "info": {
            "name": "Factset Get Unlinked Pa Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/unlinked-templates",
            "params": [
              {
                "name": "directory",
                "value": "",
                "type": "query",
                "description": "Get unlinked PA templates in path."
              },
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "Get unlinked PA templates by category."
              }
            ]
          },
          "docs": "This endpoint returns the list of unlinked PA templates."
        },
        {
          "info": {
            "name": "Factset Create Unlinked Pa Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.factset.com/analytics/engines/pa/v3/unlinked-templates",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint creates a template which is not linked to any specific PA3 tile. \r\n\r\nRemarks:\r\n\r\n*   Mandatory fields are required to be passed in POST requests and Optional fields are not necessary. \r\n    If no mandatory fields are passed, then we can use the template as a component and skip the component creation.\r\n    \r\n*   Mandatory, optional and locked fields can be  \"accounts\", \"benchmarks\", \"groups\", \"columns\", \"datasources\", \"dates\", \"currencyisocode\" and \"componentdetail\".\r\n\r\n*   We canno"
        },
        {
          "info": {
            "name": "Factset Get Unlinked Pa Template Details by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/unlinked-templates/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for an unlinked PA template"
              }
            ]
          },
          "docs": "This endpoint fetches the template settings."
        },
        {
          "info": {
            "name": "Factset Update Unlinked Pa Template",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.factset.com/analytics/engines/pa/v3/unlinked-templates/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for an unlinked PA template"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint updates an existing unlinked PA template.\r\n\r\nRemarks:\r\n            \r\n*   Mandatory fields are required to be passed in POST requests and Optional fields are not necessary. \r\n    If no mandatory fields are passed, then we can use the template as a component and skip the component creation.\r\n    \r\n*   Mandatory, optional and locked fields can be  \"accounts\", \"benchmarks\", \"groups\", \"columns\", \"datasources\", \"dates\", \"currencyisocode\" and \"componentdetail\".\r\n\r\n*   We cannot override t"
        },
        {
          "info": {
            "name": "Factset Delete Unlinked Pa Template",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.factset.com/analytics/engines/pa/v3/unlinked-templates/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for an unlinked PA template"
              }
            ]
          },
          "docs": "This endpoint deletes an existing unliked PA template."
        },
        {
          "info": {
            "name": "Factset Get Default Unlinked Pa Template Types.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/unlinked-templates/template-types"
          },
          "docs": "This endpoint fetches default unlinked PA template types."
        },
        {
          "info": {
            "name": "Factset Get Unlinked Pa Template Type Details by Id.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/engines/pa/v3/unlinked-templates/template-types/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique identifier for an unlinked PA template type"
              }
            ]
          },
          "docs": "This endpoint fetches the unlinked PA template type details."
        }
      ]
    }
  ],
  "bundled": true
}