TaxonomyTreeServicesGetTaxonomyLookup Method

Ingeniux CMS Web Services API

Searches for Categories with initial characters in their names

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<string[][]> GetTaxonomyLookup(
	string search,
	string locale,
	string pageId = "",
	string pageSchemaName = ""
)

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
pageSchemaName (Optional)
Type: SystemString
Optional criteria - Friendly name 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

Reference