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
)
Public Function GetCategoriesInfo (
categoryIds As String()
) As XHRServiceResponseGeneric(Of CategoryListItem())
public:
virtual XHRServiceResponseGeneric<array<CategoryListItem^>^>^ GetCategoriesInfo(
array<String^>^ categoryIds
) sealed
abstract GetCategoriesInfo :
categoryIds : string[] -> XHRServiceResponseGeneric<CategoryListItem[]>
override GetCategoriesInfo :
categoryIds : string[] -> XHRServiceResponseGeneric<CategoryListItem[]>
Parameters
- categoryIds
- Type: SystemString
Array of Ids of Categories
Examples
Sample JSON input
{
"categoryIds": ["CategoryNodes/34", "CategoryNodes/33", "CategoryNodes/66"]
}
Return Value
Type:
XHRServiceResponseGenericCategoryListItemArray of basic information for the given Categories, including Id, Name and Path.
Examples
Sample JSON return
{
"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