CASE CHG-122797-19-302441
They were implemented in the API de ASMS four new endpoints for the Service Management that allow you to configure, query and delete Additional dependent fields directly from the API, without the need to access the management console. Previously, this configuration was only possible from the ASMS Administrator, limiting integration and automation processes that require dynamic dependency management between additional fields.
The four available endpoints are:
- View eligible fields:
GET {host}/api/v9/additionalsfields/dependents/list/{itemType}/{modelId}— allows you to get the additional fields of a model that can act as a parent field (List, CatalogList, CheckBox) or as a child field, along with their configuration status (hasDependencies). - Configure dependencies:
POST {host}/api/v9/additionalsfields/dependents/load— allows you to create or update dependency rules between additional fields. It supports multiple dependencies in a single request, independent per-item processing, automatic upsert, and auto-correction of inconsistent combinations of visibility, editability, and enforceability. - Resolve dependencies:
POST {host}/api/v9/additionalsfields/dependents/resolve— given a parent field and the value selected by the user, it returns the child fields that are activated with its behavior (visible, editable, mandatory) and its available filtered values. The value of the parent field can be identified by ID, key, or description. - Delete dependencies:
DELETE {host}/api/v9/additionalsfields/dependents/delete— allows you to delete existing dependencies. Removal is cascading (includes associated filtered values) and supports multiple dependencies in a single request.
Among the available capabilities are: support for parent field type List, CatalogList and CheckBox; Configuring dependency-filtered values (filteredValueIds); automatic key inheritance from CatalogList fields to ShortText fields (inheritValues); and pagination of results with totalItems on all endpoints.
⚐ Note: Endpoints are documented in the Manual de APIs en ASMS/asms-api with full description of parameters.