TaxonomyTreeServicesSetAssociationsToPage Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<PageCategorizationSetInfo> SetAssociationsToPage( SetPageCategorizationInput data )
Object containing the Page Id and the array of Ids for the Categories to associate with the Page
{
"data": {
"categories": ["CategoryNodes/33", "CategoryNodes/67", "CategoryNodes/2", "CategoryNodes/66", "CategoryNodes/1"],
"pageId": "x9"
}
}Array of Id of the Categories that are currently associated with the given Page
{
"code": 0,
"error": null,
"message": {
"associatedCategories": ["CategoryNodes\/33", "CategoryNodes\/67", "CategoryNodes\/2"]
}
}If Page doesn't exist, returns error status.
This operation requires current User to have the permission to manager Taxonomy System. If not, returns error status.