I'm writing a simple contacts enhancer. It allows to  choose multiple contacts and delete them with a single click.<div>I want expand it's functionality to move the selected contacts to another addressbook but it seems there are no API call for that.</div>
<div><br></div><div>The following code produces an error:</div><div><div><span class="Apple-tab-span" style="white-space:pre">      </span>$card = OC_Contacts_App::getContactObject( intval($id) );</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>$card['addressbookid'] = $newBook;</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>OC_Contacts_VCard::edit( intval($id), $card);</div></div><div><br></div><div>Is there  any straightaway API call for the contact adressbookid update?</div>