Forum Discussion
Suchith
7 years agoAce
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
7 years agoBoss
As mentioned in the document "subscription.type" is required for API.
Your API will be like below:
- Suchith7 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.- ClaudiusH7 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") />