create_property
Create property for selected object (or activity) in selected Top Object. You can set value of property (pr_value) or leave it empty. In case of property type list (pr_type), you need to specify prl_name for the name of the list and prle_code for the entry of this list, then pr_value is calculated based on prl_name and prle_code. To create property for activity you need additional parameter a_id – activity id
create_property
(ob_top_id or ob_top_name) to specify Top Object (ob_id or ob_name) to specify child object and pr_name and pr_type
a_id to specify activity and prl_id or prl_name (for property list name) and prle_code for property list entry code (it is required if pr_type=list), pr_postfix, pr_icon_type, pr_icon_color, pr_seq_num, pr_text1, pr_text2, pr_text3, pr_text4, pr_text5
ob_top_name;ob_name;pr_id;ob_id;pr_name;pr_multilang;pr_en_name;pr_dk_name;pr_pl_name;pr_ro_name;pr_value;pr_type;pr_subtype;pr_postfix;pr_seq_num;pr_icon_type;pr_icon_color;pr_text1;pr_text2;pr_text3;pr_text4;pr_text5
ob_top_id – Top Object id, unique
ob_top_name – Top Object name, not unique
ob_id – object id, unique
ob_name – object name, unique across Top Object
pr_id – property id, unique
a_id – activity id for which create property field
pr_multilang – 0/1 use multi language property name
pr_en_name – English property name
pr_dk_name – Danish property name
pr_pl_name – Polish property name
pr_ro_name – Romanian property name
pr_name – property name, unique accross the object or activity
pr_type – property type, allowed values: string, date, decimal, list
pr_subtype – id of property list, if pr_type is list, otherwise empty
prl_id – id of the property list
prl_name – name of the property list
prle_code – code of the entry in property list
pr_value – value of the property, if pr_type is list this is calculated based on prl_id or prl_name and prle_code
pr_postfix – suffix added after property value
pr_seq_num – order id, lowest id are displayed at the top of the list
pr_icon_type – icon used for property, string allowed values are described here https://felgo.com/doc/felgo-icontype/
pr_icon_color – color of the icon, allowed values are: (“#3F77AF”,”#57AA88″,”#E9B56B”,”#CA4A36″,”#676767″,”#854EA2″)
pr_text1… pr_text5 – text fields not used in Catchr application, but can be set and retrieved via REST API