IndividualSatisfactionResponse individualSatisfactionResponse = new IndividualSatisfactionResponse();
individualSatisfactionResponse.setSatisfactionRating(satisfactionRating);
try {
return genericPost("tickets/" + ticketId + "/satisfaction_rating.json", satisfactionRating, IndividualSatisfactionResponse.class);
} catch (Exception e) {
throw new ZendeskApiException("Creating satisfaction rating " + satisfactionRating.getComment() + " faile", e);
}
}