{
  "opencollection": "1.0.0",
  "info": {
    "name": "FactSet Portfolio Reporting Batcher API",
    "version": "0.3.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Jobs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Factset Get Details for the Given Prb Job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/prb/v0/jobs/:type/:name",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "The jobs type"
              },
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The jobs name"
              },
              {
                "name": "attribute",
                "value": "",
                "type": "query",
                "description": "The attribute parameter accepts a list of the given enums, separated by commas. Each of them returns the respective data associated with the job. Runs returns the run history of the job."
              }
            ]
          },
          "docs": "Use this endpoint to fetch the documents, tasks, accounts, and/or runs for the PRB job given in the path. Please note jobs with type PD will not return tasks nor accounts so this will be ignored if given as part of the array of attributes in the request."
        }
      ]
    },
    {
      "info": {
        "name": "Runs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Factset Trigger Prb Jobs",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.factset.com/analytics/prb/v0/runs",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Use this endpoint with with POST method to trigger PRB jobs."
        },
        {
          "info": {
            "name": "Factset Check the Status for a Particular Run Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/analytics/prb/v0/runs/:id/status",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "run id"
              }
            ]
          },
          "docs": "Use this endpoint to check the status of a run using the id from the POST /runs endpoint"
        }
      ]
    }
  ],
  "bundled": true
}