public ActionResult GetActiveSessionTimesRequest(GetActiveSessionTimesModel model)
        {
            var request = getActiveSessionTimes(model);
            var response = appointmentService.GetActiveSessionTimes(request);

            @ViewBag.Request_JSON = JsonConvert.SerializeObject(request, Formatting.Indented, new JsonConverter[] { new StringEnumConverter() });
            @ViewBag.Response_JSON = JsonConvert.SerializeObject(response, Formatting.Indented, new JsonConverter[] { new StringEnumConverter() });

            @ViewBag.Request_SOAP = SoapSerializer.SerializeToSoap<GetActiveSessionTimesRequest>(request);
            @ViewBag.Response_SOAP = SoapSerializer.SerializeToSoap<GetActiveSessionTimesResult>(response);

            return View();
        }
        /**********************************************GetActiveSessionTimes*****************************************************/
        private AppointmentService.GetActiveSessionTimesRequest getActiveSessionTimes(GetActiveSessionTimesModel model)
        {
            var request = APISettings.getBaseAppointmentRequest<GetActiveSessionTimesRequest>(model);

            request.ScheduleType = model.ScheduleType;
            request.SessionTypeIDs = model.SessionTypeIDs;
            request.StartTime = model.StartTime;
            request.EndTime = model.EndTime;

            return request;
        }