Forum Discussion
joy_lim
Have a look at this similar discussion
https://lithosphere.lithium.com/t5/Developer-Discussion/Query-does-not-return-data-for-all-users/m-p/435922#M13659
It can resolve your problem.
VikasB, I think I need to rephrase my question....
My Goal: Find all users subscribed to a message
My Authorization: My user has an admin role.
What I did:
* updated subscription settings to make myself automatically subscribed whenever I post or reply to a message
* created message id: 744
* invoked this:
curl -X GET \ https://<hostname>/restapi/vc/messages/id/744/subscriptions/global/type/email \ -H 'li-api-session-key:liApiSessionKeyFromSessionLogin'
** I also tried other types, bookmark and float
* and got this as a response (for each of the types):
<response status="success"> <subscription type="subscription" null="true"/> </response>
So the question is:
Why doesn't the REST service below show any users subscribed to the message even my notification settings is configured to "Notify me when I post, reply, submit a review, or comment?"
/vc/messages/id/<messageId>/subscriptions/global/type/(email|bookmark|float)
Related Content
- 10 months ago
- 4 years ago
- 4 years ago
- 5 years ago
- 4 years ago