Add Tag ======= Add an existing tag to a file or folder. Request ------- :: POST https://test-uni.cloudplan.biz/api/search/add_tag { "tag_id": ... //id of the tag "ff_id": ... //(optional)id of the file or folder to tag "docclass_id": ... //(optional)id of the docclass to tag "wf_id": ... //(optional)id of the workflow to tag "val_int": 0 //(optional) for tags of type "val_int" this will be the assigned value "val_str": "" //(optional) for tags of type "val_str" this will be the assigned value "val_foat": 0.0 //(optional) for tags of type "val_float" this will be the assigned value "is_auto_tag": false //(optional, default false) set this tag as auto-tag for the folder any file/folder created or modified directly inside this folder will receive the given tag and keep it until it is manually removed "is_recursive_auto_tag": false //(optoinal, default false) same as "is_auto_tag" but any file/folder in any subfolder regardless of depth also receive the given tag } Reply ----- :: { "result": true/false "reason": ... } Error Codes ----------- :: tag_not_found tag_not_from_your_organisation can_not_be_both_str_and_int empty_val_str empty_val_int tag_requires_no_value