save_object

Save object. You have to specify Top Object (ob_top_id or ob_top_name) and object (ob_id or ob_name) and also any of optional parameters.

query
save_object
required parameters
(ob_top_id or ob_top_name) to specify Top Object and (ob_id or ob_name) to specify child object
optional parameters
new_ob_name, ob_desc, ob_image, ob_lat, ob_lon, ob_zoom, ob_seq_num, ob_label,ob_bookmark,ob_note,ob_barcode (ob_parent_id,ob_parent_name, new_ob_top_id or new_ob_top_name) - last four parameters to change object parent and/or move object to different Top Object, ob_text1, ob_text2, ob_text3, ob_text4, ob_text5,ob_view_type,ob_main_funct,ob_funct,ob_modules
response format
ob_top_id;ob_top_name;ob_id;ob_name;ob_desc;ob_image;ob_label;ob_bookmark;ob_note;ob_barcode;ob_lat;ob_lon;ob_seq_num;ob_parent_id,ob_parent_name,ob_text1,ob_text2,ob_text3,ob_text4,ob_text5
parameter reference

ob_top_id – Top Object id, unique

ob_top_name – Top Object name, not unique

new_ob_top_id – Top Object id, where to move this object

new_ob_top_name – Top Object name, where to move this object

ob_id – object id, unique

ob_name – object name, unique across Top Object

new_ob_name – new name, set to change object name, must be unique

ob_desc – object description, not unique

ob_image – icon image used for object must be in format directory_name/icon_name, allowed values are described here: LINK_TO_HELP_PAGE_WITH_ICON_LIST

ob_label – label set for objects, label can be 0 to 5 comma separated, eg: 0,4,5 (first and last two)

ob_bookmark – overlay image on object icon

ob_note – Note attached to object

ob_barcode – barcode assigned to this object

ob_lat – object latitude set on map

ob_lon – object longitude set on map

ob_seq_num – order id, lowest order are displayed at the top of the list

ob_parent_id – id of parent object, if 0 – top level object, if not zero this is ob_id of parent object

ob_parent_name – name of parent object, if set this is ob_name of the parent

ob_text1… ob_text5 – not used in Catchr application, but can be set and retrieved via REST API

ob_view_type – grid-1, list-2

ob_main_funct – main functions of top object – array 0,1,2,3  “,” is url encoded as %2C – full array 0%2C1%2C2%2C3

ob_funct – functions available for object – array 0,1,2,3 – Labels, Bookmarks, Barcode, Comments

ob_modules – modules available for object – array 0,1,2,3,4,5,6,7 – Follow Me, Location Editor, Photo, Activities, Duplicate/Template, Assignment, Events, Reports