Page tree
Skip to end of metadata
Go to start of metadata

Description

Updates the list of custom attributes that are available on the interface. It is used to archive, activate, and create custom attributes. This call affects every custom attribute that is available in your system. It updates all of the attributes that are available for saving user data and reusing it in a different context. If an attribute is not mentioned, it is automatically deactivated. Errors and changes are delivered at the end of the process when all attributes are processed. The update cannot be used in an interactional way. Errors do not stop the update process. The attribute with the error is skipped and the process continues with the next attribute. It is not possible to change the attribute name, type, or enumeration with this method. The results of the merge method are as follows: * New attributes are created if the attribute is listed and did not exist before. * Custom attributes that are not listed are archived. * Custom attributes that are listed and are identical to the ones that already exist have no state change. * Custom attributes that are archived and not listed remain archived. * Custom attributes that have a state other than archived/active generate an error and remain unchanged.

Available from

v1

Request path

POST [REST URL]/meta/mergeAttributeDefinitions

Query Parameters

Parameter

Type

Description

None



Request Body Type

list of Attribute

Example body

[{
"name": "attributename",
"type": "STRING",
"enumerationValues":
[
"value1",
"value2",
"value3"
],
"active": "true"
}]


  • No labels