Examples of IndividualSatisfactionResponse


Examples of zendeskapi.models.satisfactionratings.IndividualSatisfactionResponse

   * @param satisfactionRating
   * @return IndividualSatisfactionResponse
   * @throws ZendeskApiException
   */
  public IndividualSatisfactionResponse createSatisfactionRating(long ticketId, SatisfactionRating satisfactionRating) throws ZendeskApiException {
    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);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.