TaxonomyTreeServicesSetCategorySynonyms Method
|
Updates the Synonyms listing under specified locale for a Category
Namespace: IngeniuxCMServiceAssembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.492
Syntaxpublic XHRServiceResponseGeneric<bool> SetCategorySynonyms(
SetCategorySynonymsInput data
)
Public Function SetCategorySynonyms (
data As SetCategorySynonymsInput
) As XHRServiceResponseGeneric(Of Boolean)
public:
virtual XHRServiceResponseGeneric<bool>^ SetCategorySynonyms(
SetCategorySynonymsInput^ data
) sealed
abstract SetCategorySynonyms :
data : SetCategorySynonymsInput -> XHRServiceResponseGeneric<bool>
override SetCategorySynonyms :
data : SetCategorySynonymsInput -> XHRServiceResponseGeneric<bool> Parameters
- data SetCategorySynonymsInput
Object containing Category Id, environmental Locale, and list of the Synonyms under that Locale
Example
Sample JSON input
{
"data": {
"categoryId": "CategoryNodes/3",
"locale": "en-us",
"synonyms": ["Animals", "Creatures that moves"]
}
}
Return Value
XHRServiceResponseGenericBoolean
True if update successful.
Example
Sample JSON return
{
"code": 0,
"error": null,
"message": true
}
RemarksIf Category doesn't exist, returns error status.
If Locale not specified, default to "en-us".
This operation requires current User to have the permission to manager Taxonomy System. If not, returns error status.
See Also