POST api/IndexedTagValues/CreateCustomTag
Creating a custom tag
Request Information
URI Parameters
None.
Body Parameters
Custom Tag parameters
CustomTag| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Tag name |
string |
None. |
| Type |
Data type. String (0), Double (1), Integer (2), DateTime (3), Currency (4). |
integer |
None. |
| MultiplyValues |
Multiple values can be assigned to the same file (for example, Keywords, Categories). |
boolean |
None. |
| Hierarchy |
Tag values can be hierarchical (Keywords, Categories) |
boolean |
None. |
| AllowSynonyms |
Synonyms are allowed |
boolean |
None. |
| LimitedNumber |
Tag has a limited number of values that can be assigned to multiple files |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"type": 2,
"multiplyValues": true,
"hierarchy": true,
"allowSynonyms": true,
"limitedNumber": true
}
Response Information
Resource Description
Result containing the flag of successful operation
ObjResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | boolean |
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:
{
"data": true,
"error": "sample string 2",
"success": true,
"errorCode": 4
}
Parameter Information
tag
Custom Tag Parameters
| Property | Description |
|---|---|
| Name (String) |
Tag name |
| Type (Int32) |
Data type. String (0), Double (1), Integer (2), DateTime (3), Currency (4). |
| MultiplyValues (Boolean) |
Multiple values can be assigned to the same file (for example, Keywords, Categories). |
| Hierarchy (Boolean) |
Tag values can be hierarchical (Keywords, Categories) |
| AllowSynonyms (Boolean) |
Synonyms are allowed |
| LimitedNumber (Boolean) |
Tag has a limited number of values that can be assigned to multiple files |