Jump to content


Photo

API: Get all tasks and show opportunity ID

api

  • Please log in to reply
3 replies to this topic

#1 mledwards

mledwards

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts

Posted 18 March 2013 - 02:56 PM

Hi guys,

I'm trying to group API calls for performance.

Can I do an API call for all the tasks but in the results also have the associated Opportunities ID?

Like the owner ID is returned:

[owner] => Array
(
    [id] => 1
    [username] => super
)

Thanks!

Martin



#2 Ivica

Ivica

    Advanced Member

  • Moderators
  • 565 posts

Posted 21 March 2013 - 02:41 PM

Unfortunatelly it is not possible, and you will need to make two API calls.



#3 mledwards

mledwards

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts

Posted 25 March 2013 - 11:16 AM

Hi Ivica,

At the moment I'm doing a tasks API call for every Opportunity, which is really slowing down performance.

Can you think of anything that might help?

Thanks!

Martin



#4 mledwards

mledwards

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts

Posted 15 April 2014 - 08:34 AM

Hi all,

Any ideas if this is possible now, maybe with the advanced search?

Performance is still taking quite a hit by having to get each opportunity's tasks individually. 

Thanks!

Martin







Also tagged with one or more of these keywords: api

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users