TaxonomyTreeServicesAddAssociationToCategory Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<string[]> AddAssociationToCategory( CategoryAssociationManipulationInput data )
Object containing Ids of Category and Page to create the new association
{ "data": { "categoryId": "CategoryNodes/33", "pageXID": "x9" } }
Object containing the Id and Name of the Page that was just associated with the Category. It is always a two-items array, first item holds the Page Id, second item holds the Page name.
{ "code": 0, "error": null, "message": ["x9", "Terms"] }
If Category or Page doesn't exist, returns error status
All Name and Path information in the array of Category Nodes are URI encoded.
This operation requires current User to have the permission to manage Taxonomy System. If not, returns error status.