GET api/IndexedTagValues/GetIndexedTags?mode={mode}

Get a list of Catalog Tags

Request Information

URI Parameters

NameDescriptionTypeAdditional information
mode

A source to get the Tags: 0 - default tags; 1 - all catalog tags; 2 tags in the filter panel

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of Catalog Tags

IndexedTags
NameDescriptionTypeAdditional information
Tags

Collection of IndexedTag

None.

TotalCount

Total number of items in the list

integer

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "tags": [
    {
      "isAllowAssign": true,
      "maxHierarchy": 2,
      "strongHierarchy": true,
      "isMultiplyValues": true,
      "allowSearch": true,
      "customTag": "sample string 6",
      "id": 7,
      "indexed": true,
      "guid": "2e106380-7b59-4398-b9c9-168b8351109a",
      "locked": true,
      "name": "sample string 11",
      "originName": "sample string 12",
      "readOnly": true,
      "dataType": "sample string 14"
    },
    {
      "isAllowAssign": true,
      "maxHierarchy": 2,
      "strongHierarchy": true,
      "isMultiplyValues": true,
      "allowSearch": true,
      "customTag": "sample string 6",
      "id": 7,
      "indexed": true,
      "guid": "2e106380-7b59-4398-b9c9-168b8351109a",
      "locked": true,
      "name": "sample string 11",
      "originName": "sample string 12",
      "readOnly": true,
      "dataType": "sample string 14"
    }
  ],
  "totalCount": 1,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}