Forum Discussion
Suchith
Ace
Hi Prashant,
{ "response": { "status": "error", "error": { "code": 511, "message": "A required query string argument is missing." } } }
I dont see any required parameter on the API documentation. Please let me know what required parameter we need to pass.
Thanks
Parshant
6 years agoBoss
As mentioned in the document "subscription.type" is required for API.
Your API will be like below:
- Suchith6 years agoAce
Parshant Thanks.
The board/subscription API documentation provides info only for global and self subscription. Is it possible to pick user and subscribe them for specific board.- ClaudiusH6 years agoKhoros Alumni (Retired)
You would need to switch context to that user and the issue a "/users/self" API call like to subscribe that user, e.g.
<#assign result = rest("/${target}/id/${id}/subscriptions/users/self/add?subscription.type=email") />
Related Content
- 11 years ago