Get dictionary terms by parent terms

POST https://{{host}}/nuxeo/site/automation/Athento.VocabularyGetChildrenOperation/

Get terms of a dictionary through parent terms.

Permissions

The user will only be able to get the terms from the dictionaries of their teams.

Mandatory data

This web service requires at least:

  • "params" -> "vocabularyName"

  • "params" -> "parentValue"

Params

vocabularyName

Name of the dictionary of the terms. Property name of the dictionary.

parentValue

Value of the parent term of the terms to be obtained. More than one value of the parent terms can be defined, separating the values by comma.

Request Body

{"params"=>{"vocabularyName"=>"dictionary1", "parentValue"=>"parent1,parent2"}}

RESPONSES

status: OK

{"entity-type":"list","value":[{"id":"Term 1.1","label":"Term 1.1"}]}