function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SebastianBraunSebastianBraun 

Bookmark FeedItem via SOAP API

Hi Everyone,

 

is there a possibility to bookmark a FeedItem via the SOAP-API?

 

Thanks in advance

 

Sebastian

SebastianBraunSebastianBraun

Hi,

 

thanks for your Reply. In the SOAP-API I just found "EntitySubscription" but i looks like I can only subscribe to another User and not to FeedItems.

 

Greetings.

alibzafaralibzafar

Try this 

 

   <sObjects xsi:type="EntitySubscription">
           <ParentId>${#TestCase#ParentId}</ParentId>
		 <SubscriberId>${#TestCase#SubscriberId}</SubscriberId>

  

In ParentId pass your FeedItemId and in SubscriberId pass the userId. 

 

Thanks 

SebastianBraunSebastianBraun

Hi,

 

thanks for your reply, but i've already tryied this. 

 

A call like this results in this Error:

 

Parent ID: id value of incorrect type: xxxxxxxx FIELD_INTEGRITY_EXCEPTION

 

If i set the Id of another user as the parentId, everything works.

 

Greetings

 

Sebastian

SuperfellSuperfell

It wont' help you anyway, EntitySubscription is what you're following, not what you've bookmarked.