asakusuma/SugarCRM-REST-API-Wrapper-Class — pull request #10 by xtrimsky (2012-03-13 17:43:22+00:00)
Title: including a set_relationship

Here is an example of adding a contact to a target list:

$c->set_relationship(
'Contacts',
$contact_id,

'prospect_lists', //$link_field_name
$target_list_id //$related_ids
);