TaxonomyTreeServicesGetAssociationsToPage Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<CategoryAssociationsInfo> GetAssociationsToPage( GetPageCategorizationsInput data )
Object containing the Id of the Page to get associations information for
{
"data": {
"pageId": "x9"
}
}Collection of information of Category Nodes that are associated with the given Page.
Each item contains "attributes" and "elements" listing. "attributes" has Category Id only. "elements" item is a 3 items array that has Id, Name and Path of the Category Node item.
{
"code": 0,
"error": null,
"message": {
"ids": ["CategoryNodes\/33", "CategoryNodes\/67", "CategoryNodes\/2"],
"info": [{
"attributes": {
"categoryId": "CategoryNodes\/33"
},
"elements": ["CategoryNodes\/33", "Cydippida", "Animalia\/Ctenophora\/Cydippida"]
}, {
"attributes": {
"categoryId": "CategoryNodes\/67"
},
"elements": ["CategoryNodes\/67", "Monera", "Monera"]
}, {
"attributes": {
"categoryId": "CategoryNodes\/2"
},
"elements": ["CategoryNodes\/2", "Fungi", "Fungi"]
}]
}
}