View

Get Views. Views can have filters pre-applied to them when created in the UI. Only filters that are marked as supply value later can be modified via the API. These filters and their properties are returned as optionalParameters.

Swagger

Swagger

Params

nameParameter typeData TypeValuesDescription
queryQuerystringreportstring search against view name
isPrivateQuerybooleantrueReturns only private view
limitQueryinteger20limits the number of views returned
skipQueryinteger20set the starting range for the returned values

Requests

All Views

GET {{host}}/api/rest/v4/data/rows/view HTTP/1.1

Query

GET {{host}}/api/rest/v4/data/rows/view?query=Companies HTTP/1.1

Private

GET {{host}}/api/rest/v4/data/rows/view?query=Companies&isprivate=true HTTP/1.1

Responses

HTTP/1.1 200 OK
 
{
  "totalRecords": 11,
  "rows": [
    {
      "id": 1,
      "name": "Companies - All Targets",
      "primaryLists": [
        {
          "id": 2014,
          "name": "Company",
          "entryListId": 0
        }
      ],
      "optionalParameters": [
        {
          "columnId": 8,
          "columnName": "Watchlist?",
          "defaultValue": [
            1105
          ]
        }
      ]
    },
    {
      "id": 2,
      "name": "Companies - Non Target",
      "primaryLists": [
        {
          "id": 2014,
          "name": "Company",
          "entryListId": 0
        }
      ],
      "optionalParameters": []
    },
    {
      "id": 3,
      "name": "Investors",
      "primaryLists": [
        {
          "id": 2014,
          "name": "Company",
          "entryListId": 0
        }
      ],
      "optionalParameters": []
    },
  ...
  ]
}