Click or drag to resize

TaxonomyTreeServicesGetCategoriesInfo Method


Retrieves basic information of Categories by their Ids

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntax
public XHRServiceResponseGeneric<CategoryListItem[]> GetCategoriesInfo(
	string[] categoryIds
)

Parameters

categoryIds  String

Array of Ids of Categories

Example
Sample JSON input
JavaScript
{
    "categoryIds": ["CategoryNodes/34", "CategoryNodes/33", "CategoryNodes/66"]
}

Return Value

XHRServiceResponseGenericCategoryListItem

Array of basic information for the given Categories, including Id, Name and Path.

Example
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "name": "Cestida",
        "id": "CategoryNodes\/34",
        "path": "Animalia\/Ctenophora\/Cestida"
    }, {
        "name": "Cydippida",
        "id": "CategoryNodes\/33",
        "path": "Animalia\/Ctenophora\/Cydippida"
    }, {
        "name": "Monera",
        "id": "CategoryNodes\/67",
        "path": "Monera"
    }]
}
Remarks

All non-existing Categories will be bypassed.

See Also