* @param forumSubscription
* @return IndividualForumSubcriptionResponse
* @throws ZendeskApiException
*/
public IndividualForumSubcriptionResponse createForumSubscription(ForumSubscription forumSubscription) throws ZendeskApiException {
IndividualForumSubcriptionResponse forumSubcriptionToCreate = new IndividualForumSubcriptionResponse();
forumSubcriptionToCreate.setForumSubscription(forumSubscription);
try {
return genericPost("forum_subscriptions.json", forumSubcriptionToCreate, IndividualForumSubcriptionResponse.class);
} catch (Exception e) {
throw new ZendeskApiException("Creation of forum subscription failed", e);
}