Click or drag to resize

TaxonomyTreeServicesClone Method


Copies a Category Node and place it under specified target Category Node

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<CategoryInfo> Clone(
	CategoryCopyInput data
)

Parameters

data
Type: CategoryCopyInput

Instructions of the Copy action

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

Return Value

Type: XHRServiceResponseGenericCategoryInfo

Details of newly created Category Node

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