Forums

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

Forums Forums Oro Community Activity target API

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

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • 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)

The forum ‘Oro Community’ is closed to new topics and replies.

Back to top