add_assignment
Add assignment. You can assign object from the inventory
query
add_assignment
required parameters
(ob_top_id or ob_top_name) to identify top object (oa_ob_top_id or oa_ob_top_name) to identify inventory (oa_ob_id or oa_ob_name) to identify object from inventory
optional parameters
(ob_tid or ob_name) to add assignment to child object, and oa_date, oc_comment, oa_units
response format
oa_id;oa_ob_top_id;oa_ob_top_name;oa_ob_id;oa_ob_name;oa_date;oa_units;oa_comment
parameter reference
oa_id – id of the assignment – unique
oa_ob_top_id – id of the source structure top object
oa_ob_top_name – name of the source structure top object
oa_ob_id – id of assigned object from the source structure
oa_ob_name – name of assigned object from the source structure
oa_date – date of assignment (format yyyy-MM-dd)
oa_units – assigned units (double with dot as decimal separator)
oa_comment – comment added to assignment