POST api/IndexedTagValues/ChangeParent
Moving a tag value
Request Information
URI Parameters
None.
Body Parameters
Parameters of the moving operation
ChangeParentData| Name | Description | Type | Additional information |
|---|---|---|---|
| Tag |
Tag ID |
integer |
None. |
| NewParent |
Parent value ID |
integer |
None. |
| Id |
Value ID |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"tag": 1,
"newParent": 2,
"id": 3
}
Response Information
Resource Description
Result containing the value of the indexed tag
ObjResultOfIndexedTagValueWeb| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | IndexedTagValueWeb |
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": {
"text": "sample string 1",
"ancestors": "sample string 2",
"id": 3,
"isSelected": true,
"isDefaultValue": true,
"hasTagLinks": true,
"tagId": 7,
"isApproved": true,
"rawValue": {},
"tagName": "sample string 10",
"itemsCount": 11,
"location": "sample string 12",
"hasChilds": true,
"count": 14
},
"error": "sample string 1",
"success": true,
"errorCode": 3
}
Parameter Information
data
Parameters of the moving operation
| Property | Description |
|---|---|
| Tag (Int64) |
Tag ID |
| NewParent (Int64) |
Parent value ID |
| Id (Int64) |
Value ID |