GET api/Settings/GetFilters?mode={mode}
Getting a list of tags for the Filters panel
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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": "9fbc2553-64bd-4f1a-936f-058ae683d39b",
"supportFts": true,
"locked": true,
"name": "sample string 6",
"originName": "sample string 7",
"readOnly": true,
"dataType": "sample string 9"
},
{
"id": 1,
"indexed": true,
"guid": "9fbc2553-64bd-4f1a-936f-058ae683d39b",
"supportFts": true,
"locked": true,
"name": "sample string 6",
"originName": "sample string 7",
"readOnly": true,
"dataType": "sample string 9"
}
],
"totalCount": 1,
"error": "sample string 2",
"success": true,
"errorCode": 4
}