Create a new asset attribute
Create a new asset attribute definition. Requires "Manage asset management schema" system access right.
Request body
Unique attribute name. Must match the pattern ^[A-Za-z$][A-Za-z0-9$]*$. Immutable after creation.
Human-readable display name.
Attribute data type. Accepts the symbolic name (or, for backward compatibility, the numeric code) on input; always returned as the symbolic name.
Whether a value for this attribute is mandatory on assets.
Whether the attribute value must be unique across all assets.
Whether the attribute is hidden in the UI.
NXSL script used to automatically populate the attribute value.
Minimum value (for numeric types) or minimum length (for strings). 0 means unset.
Maximum value (for numeric types) or maximum length (for strings). 0 means unset.
System type binding for the attribute. Accepts the symbolic name (or the numeric code) on input; always returned as the symbolic name.
For the Enum data type, the map of allowed values to their display names.
Response
Asset attribute created successfully.
Unique attribute name. Must match the pattern ^[A-Za-z$][A-Za-z0-9$]*$. Immutable after creation.
Human-readable display name.
Attribute data type. Accepts the symbolic name (or, for backward compatibility, the numeric code) on input; always returned as the symbolic name.
Whether a value for this attribute is mandatory on assets.
Whether the attribute value must be unique across all assets.
Whether the attribute is hidden in the UI.
NXSL script used to automatically populate the attribute value.
Minimum value (for numeric types) or minimum length (for strings). 0 means unset.
Maximum value (for numeric types) or maximum length (for strings). 0 means unset.
System type binding for the attribute. Accepts the symbolic name (or the numeric code) on input; always returned as the symbolic name.
For the Enum data type, the map of allowed values to their display names.