使用REST API将帐户添加到目标列表

I am adding Accounts to ESPO accounts with REST API and now we need to add/link that account in target list.

I did code for accounts is,

$toAccount = $this->getEntityManager()->getEntity('Account'); $this->getEntityManager()->saveEntity($toAccount);

I am new to ESPOCRM Please guide on how to add Accounts to targetlist. Thanks in advance...