SugarCRM attitude for getting contacts from active opportunities

I am working on sugarCRM, I need to get all contacts from active opportunities. I can link contacts with single post capabilities using the below url

https://xxxxxxxx.trial.sugarcrm.eu/rest/v10/Opportunities/5ae1907a-9408-178f-87d6-523cc7d679b6/link/contacts

      

But I must contact him for all active opportunities. Can anyone help me please .... Thanks in advance

+3


source to share


1 answer


you go to the right, the url will provide:

https://xxxxxxxx.trial.sugarcrm.eu/rest/v10/Opportunities/5ae1907a-9408-178f-87d6-523cc7d679b6/link/contacts

      

It will provide all the entry associated with these capabilities.

But you want all contacts active opportunities



Similarly, you can apply a filter.

For more help check this link

2. Now after that you will get an array on Opportunities, so use loop get get Opportunities id and click on your url.

https://xxxxxxxx.trial.sugarcrm.eu/rest/v10/Opportunities/5ae1907a-9408-178f-87d6-523cc7d679b6/link/contacts

      

You can make Dynamic according to your needs. Hope this helps you.

+3


source







All Articles