ns_log Error "im_rest_project_task_tree_delete: Delete failed because we did not find project_id in JSON data: $var_hash_list"
doc_return 400 "text/plain""{\"success\": false, \"message\": \"Delete failed because we did not find project_id in JSON data: [im_quotejson $var_hash_list]\"}"
doc_return 400 "application/json""{\"success\": false, \"message\": \"Delete failed because we did not find project_id in JSON data: [im_quotejson $var_hash_list]\"}"
if {[info exists var_hash(parent_id)]}{ set parent_id $var_hash(parent_id)}
if {"" == $parent_id}{
ns_log Error "im_rest_project_task_tree_create: Create failed, no parent_id specified for new task in post data: $var_hash_list"
doc_return 400 "text/plain""{\"success\": false, \"message\": \"Create failed, no parent_id specified for new task in post data: [im_quotejson $var_hash_list]\"}"
doc_return 400 "application/json""{\"success\": false, \"message\": \"Create failed, no parent_id specified for new task in post data: [im_quotejson $var_hash_list]\"}"