Click or drag to resize

TaxonomyTreeServicesMove Method


Moves a Category Node from one location to another

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<CategoryInfo[]> Move(
	CategoryMoveInput data
)

Parameters

data
Type: CategoryMoveInput

Instruction of the Move action

Examples
Sample JSON input
JavaScript
{
    "data": {
        "child": {
            "widgetId": "tta__CategoryNodes/33",
            "objectId": "tta__CategoryNodes/33",
            "index": 1,
            "idPrefix": "tta",
            "baseId": "CategoryNodes/33"
        },
        "newParent": {
            "widgetId": "tta__CategoryNodes/2",
            "objectId": "tta__CategoryNodes/2",
            "index": 1,
            "idPrefix": "tta",
            "baseId": "CategoryNodes/2"
        }
    },
    "pubTarget": "PublishingTargets/1"
}

Return Value

Type: XHRServiceResponseGenericCategoryInfo

Array of all sibling Categories Nodes of the newly moved node in alphabetic order.

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "objectId": "tta__CategoryNodes\/34",
        "widgetId": "tta__CategoryNodes\/34",
        "isFolder": false,
        "props": {
            "associatedPages": null,
            "creationLocale": "en-us",
            "depth": 3,
            "description": "",
            "everyoneName": "Everyone",
            "externalId": "",
            "id": "CategoryNodes\/34",
            "idPrefix": "tta",
            "originalDescription": "",
            "originalTitle": "Cestida",
            "originalTypeName": "Class",
            "path": "Animalia/Ctenophora/Cestida",
            "permissions": [{
                "name": "Everyone",
                "id": "0",
                "accessLevel": 2
            }],
            "permissionsInherited": true,
            "synonyms": [],
            "translated": true,
            "typeName": "Class",
            "visibility": 1
        },
        "title": "Cestida"
    }]
}
Remarks

All Name and Path information in the array of Category Nodes are URI encoded.

This operation requires current User to have the permission to manage Taxonomy System. If not, returns error status.

See Also