Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.45 KB

CreateAttribute.md

File metadata and controls

25 lines (18 loc) · 1.45 KB

CreateAttribute

Properties

Name Type Description Notes
value String Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' [optional]
isRecurring Boolean Type of the attribute. Use only if the attribute's category is 'calculated' or 'global' [optional]
enumeration List<CreateAttributeEnumeration> List of values and labels that the attribute can take. Use only if the attribute's category is "category". For example, [{"value":1, "label":"male"}, {"value":2, "label":"female"}] [optional]
type TypeEnum Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'boolean' is only available if the category is 'normal' attribute, type 'id' is only available if the category is 'transactional' attribute & type 'category' is only available if the category is 'category' attribute ) [optional]

Enum: TypeEnum

Name Value
TEXT "text"
DATE "date"
FLOAT "float"
BOOLEAN "boolean"
ID "id"
CATEGORY "category"