public static IRestResponse SaveAppointment(Appointment ap) { IRestResponse response = null; try { response = ServiceRestClient.ExecuteReturnPostRequest(ap, "appointments"); if (response.Content != null) { return(response); } } catch (Exception e) { } return(response); }