{
  "opencollection": "1.0.0",
  "info": {
    "name": "Factset Analytics Datastore About Asynch API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Asynch",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Factset Returns the jobID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/asynch/streetaccount/v1/request-files",
            "params": [
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "Date from which data is required. Should be YYYY-MM-DDTHH:MM:SSZ format"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "The date until which the data is to be fetched. Should be YYYY-MM-DDTHH:MM:SSZ format"
              }
            ]
          },
          "docs": "Give the startDate and endDate parameters as request parameters in the /request-files endpoint, it returns the jobID. startDate and endDate should be in YYYY-MM-DDTHH:MM:SSZ format\n\nThis API only supports adhoc requests to retrieve historical files and does not support real-time       files and if you interested in require real-time push should consider the other three methods         (pushed via SFTP, to QNT account, or your Azure Storage). Per API request able to query till 2 years of data"
        },
        {
          "info": {
            "name": "Factset Returns the status and percentDone of the requested jobID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/asynch/streetaccount/v1/check-status",
            "params": [
              {
                "name": "jobID",
                "value": "",
                "type": "query",
                "description": "jobID returned by the request-files endpoint to know the status and percentDone"
              },
              {
                "name": "_paginationLimit",
                "value": "",
                "type": "query",
                "description": "Specifies the maximum number of results to return per result"
              },
              {
                "name": "_paginationOffset",
                "value": "",
                "type": "query",
                "description": "Specifies the starting point for pagination. This parameter is used to identify the   beginning of next set of results"
              }
            ]
          },
          "docs": "Need to plug-in the jobID got from /request-files into /check-status endpoint"
        },
        {
          "info": {
            "name": "Factset Returns the SA XML files for the specified daterange",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/asynch/streetaccount/v1/get-files",
            "params": [
              {
                "name": "jobID",
                "value": "",
                "type": "query",
                "description": "jobID returned by the request-files endpoint to collect the results of the query"
              },
              {
                "name": "_paginationLimit",
                "value": "",
                "type": "query",
                "description": "Specifies the maximum number of results to return per result"
              },
              {
                "name": "_paginationOffset",
                "value": "",
                "type": "query",
                "description": "Specifies the starting point for pagination. This parameter is used to identify the   beginning of next set of results"
              }
            ]
          },
          "docs": "Need to plug-in the jobID got from /request-files into /check-status endpoint"
        },
        {
          "info": {
            "name": "Factset Returns the jobID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/asynch/news/v1/request-files",
            "params": [
              {
                "name": "startDate",
                "value": "",
                "type": "query",
                "description": "Date from which data is required. Should be YYYY-MM-DDTHH:MM:SSZ format"
              },
              {
                "name": "endDate",
                "value": "",
                "type": "query",
                "description": "The date until which the data is to be fetched. Should be YYYY-MM-DDTHH:MM:SSZ format"
              },
              {
                "name": "source",
                "value": "",
                "type": "query",
                "description": "This parameter filters the results based on the source of the filings document"
              }
            ]
          },
          "docs": "Give the startDate,endDate and source parameters as request parameters in the /request-files endpoint, it returns the jobID. startDate and endDate should be in YYYY-MM-DDTHH:MM:SSZ format\nThis API only supports adhoc requests to retrieve historical files"
        },
        {
          "info": {
            "name": "Factset Returns the status and percentDone of the requested jobID and source",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/asynch/news/v1/check-status",
            "params": [
              {
                "name": "jobID",
                "value": "",
                "type": "query",
                "description": "jobID returned by the request-files endpoint to know the status and percentDone"
              },
              {
                "name": "source",
                "value": "",
                "type": "query",
                "description": "This parameter filters the results based on the source of the filings document"
              },
              {
                "name": "_paginationLimit",
                "value": "",
                "type": "query",
                "description": "Specifies the maximum number of results to return per result"
              },
              {
                "name": "_paginationOffset",
                "value": "",
                "type": "query",
                "description": "Specifies the starting point for pagination. This parameter is used to identify the   beginning of next set of results"
              }
            ]
          },
          "docs": "Need to plug-in the jobID got from /request-files into /check-status endpoint"
        },
        {
          "info": {
            "name": "Factset Returns the news filings for the specified daterange and source",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/asynch/news/v1/get-files",
            "params": [
              {
                "name": "jobID",
                "value": "",
                "type": "query",
                "description": "jobID returned by the request-files endpoint to collect the results of the query"
              },
              {
                "name": "source",
                "value": "",
                "type": "query",
                "description": "This parameter filters the results based on the source of the filings document"
              },
              {
                "name": "_paginationLimit",
                "value": "",
                "type": "query",
                "description": "Specifies the maximum number of results to return per result"
              },
              {
                "name": "_paginationOffset",
                "value": "",
                "type": "query",
                "description": "Specifies the starting point for pagination. This parameter is used to identify the   beginning of next set of results"
              }
            ]
          },
          "docs": "Need to plug-in the source and jobID got from /request-files into /get-files endpoint"
        }
      ]
    }
  ],
  "bundled": true
}