{
  "opencollection": "1.0.0",
  "info": {
    "name": "Factset Analytics Datastore About Level2 API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Level2",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Factset Returns the ID for the requested data.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.factset.com/level2/files/create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Data available from past 6 years to previous day."
        },
        {
          "info": {
            "name": "Factset Returns the status of the ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/level2/files/status",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "id returned by files create endpoint to poll and collect status of the query"
              }
            ]
          },
          "docs": "Need to plug-in the id get from /create endpoint into /status endpoint"
        },
        {
          "info": {
            "name": "Factset Returns the tick history files requested in the /create endpoint",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.factset.com/level2/files/get",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "id returned by files create endpoint to poll and collect results of the query"
              },
              {
                "name": "_paginationLimit",
                "value": "",
                "type": "query",
                "description": "Specifies the maximum number of results to return per response page"
              },
              {
                "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": "Returns the files from tickhistory endpoint"
        }
      ]
    }
  ],
  "bundled": true
}