Click or drag to resize

TaxonomyTreeServicesGetCategoriesInfo Method


Retrieves basic information of Categories by their Ids

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

Parameters

categoryIds
Type: SystemString

Array of Ids of Categories

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

Return Value

Type: XHRServiceResponseGenericCategoryListItem

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

Examples
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