Available metadata operations
ADD
Type: ADD
Description: add a metadata value to the descriptor indicated in the iecode field.
Example:
DELETE
Type: DELETE
Description: it deletes the value associated to a descriptor by its iecode. In case it is a multi-value descriptor, we will also have to specify the idValueMetadata.
Example for a single value descriptor:
Example for a multi-value descriptor:
UPDATE
Type: UPDATE
Description: it updates the descriptor referenced by its iecode (in case it is a multi-value descriptor, we must also add idValueMetadata) with the field value.
Example for a single value descriptor:
Example for a multi-value descriptor:
ADD IF IT DOES NOT EXIST
Type: ADDIFNOTEXISTS
Description: it adds the indicated value to the descriptor in the field value, if and only if said descriptor has no value associated to it.
Example:
DELETE IF IT EXISTS
Type: DELETEIFEXISTS
Description: it deletes the value associated to a descriptor by its iecode, if and only if said descriptor has a value associated to it. In case of a multi-value descriptor, we will also have to specify the idValueMetadata.
Example:
Example for the multi-value descriptor:
UPDATE OR ADD
Type: UPDATEORADD
Description: it updates the value of the field value on the descriptor indicated in the field iecode. In case the referenced descriptor has no value, the operation will become an ADD operation. If it is a multi-value descriptor, we will have to specify a value in the idValueMetadata field, in order to update the descriptor value.
Example:
Example for a multi-value descriptor:
DELETE ALL
Type: DELETEALL
Description: delete all the values associated to a descriptor by the iecode.
Example:
Last updated