Click or drag to resize

TaxonomyTreeServicesGetTaxonomyLookup Method


Searches for Categories with initial characters in their names

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<string[][]> GetTaxonomyLookup(
	string search,
	string locale,
	string pageId = "",
	string pageSchemaId = ""
)

Parameters

search
Type: SystemString
Initial characters in Category names
locale
Type: SystemString
Environmental locale. Only name of Categories under these locales are searched.
pageId (Optional)
Type: SystemString
Optional criteria - Id of the Page that Categories are associated with
pageSchemaId (Optional)
Type: SystemString
Optional criteria - Id of the Schema that allows this Category to be Root category in categorization process

Return Value

Type: XHRServiceResponseGenericString

Array of Category Id, Name, and Path, which names matches the initial letters in search text, case-insensitive.

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [["Monera : Monera", "CategoryNodes\/67", "Monera"]]
}
See Also