Using API to get lead activities from specific asset

A document by on behalf of 67f6c8316f09bc0c06ea9bc2e5964a123985dd30 on Jun 14, 2017Last modified by Mike Reynolds on Jun 16, 2017
Version 4Show Document
  • View in full screen mode

Issue Description
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.


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


assetIds 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.