pub fn add_distinct_call(
config: &str,
params: AddDistinctCallParams,
) -> Result<(String, Value)>Expand description
Add a new distinct call with element list
Creates a new distinct call linking a function to a feature with associated elements (DBOM records). Note: Only one distinct call is allowed per feature.
§Arguments
config- Configuration JSON stringparams- Distinct call parameters (ftype_code, dfunc_code, element_list required)
§Returns
Tuple of (modified_config, new_dfcall_record)
§Errors
Duplicateif a distinct call already exists for this featureNotFoundif function/feature/element codes don’t exist