GET api/Settings/GetFilters?mode={mode}

Getting a list of tags for the Filters panel

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mode

0 - to get the tags of the current user; 1 - to get all available tags.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Result containing a list of tags

Properties
NameDescriptionTypeAdditional information
Tags

List of tags

Collection of Property

None.

TotalCount

Number of elements in the list

integer

None.

Error

Error description

string

None.

Success

Flag of successful operation

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "tags": [
    {
      "id": 1,
      "indexed": true,
      "guid": "c89795c0-0831-4745-90e3-3d916ff9e0ea",
      "locked": true,
      "name": "sample string 5",
      "originName": "sample string 6",
      "readOnly": true,
      "dataType": "sample string 8"
    },
    {
      "id": 1,
      "indexed": true,
      "guid": "c89795c0-0831-4745-90e3-3d916ff9e0ea",
      "locked": true,
      "name": "sample string 5",
      "originName": "sample string 6",
      "readOnly": true,
      "dataType": "sample string 8"
    }
  ],
  "totalCount": 1,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}