Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

Forums Oro Community Activity target API

This topic contains 2 replies, has 2 voices, and was last updated by  vytsci1 5 months ago.

  • Creator
    Topic
  • #37786

    vytsci1
    Participant

    Hello, Im new here, could anyone help me with this problem I faced. I have entity and I have note activity associated with it, everything works fine except API, I want to get my entity and all its notes with single API call. Problem is that I need to show dozens of entities with notes through API. And with what I currently know I need to make calls for every record I need notes for. How can I solve this problem? Ive searched everywhere, tried many things, but no solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #37787

    vsoroka
    Moderator

    Hello,

    unfortunately it is not implemented yet.
    By now you can get this data using 2 API calls. The first call to get entities. Then collect IDs of these entities and make the second API call for notes with activityTargets filter.
    Here is an example:

    #37788

    vytsci1
    Participant

    It is actually very SAD :D, ok Ill try to find some workaround this one. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No