Using API to get lead activities from specific asset | Community
Skip to main content
August 30, 2017

Using API to get lead activities from specific asset

  • August 30, 2017
  • 2 replies
  • 2122 views

Issue


When using the GET Activities API with a specific list Id in the parameter, the response will get all the specified activities from other assets as well.

This is the endpoint for this article.

 

 


Solution


Instead of using list Id (listId) as a parameter, change that to asset Ids (assetId) in the API call.

The Asset ID (assetId) is the Id of the primary asset for an activity.

Then, the response will narrow down the activities associated to the primary asset by looking up the Id during the call.


This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

August 30, 2017

Well this is interesting...but why is the REST API Documentation not updated to reflect this? 

September 7, 2017

We are still working on that. Thanks!