{"swagger":"2.0","info":{"version":"v1","title":"Api"},"host":"api.zenoti.com","schemes":["http"],"paths":{"/api/Appointments":{"get":{"tags":["AppointmentsApi"],"summary":"To get the list of appointments based on dates. For non-manager/non-owner roles only their appointments are returned.","description":"Requires either Therapist role or Add, Edit or Readonly permission on Appointments object","operationId":"AppointmentsApi_GetAppointments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.status","in":"query","required":false,"type":"string","enum":["NoShow","Cancelled","New","Closed","Checkin","Confirm","Break","NotSpecified"]}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetAppointmentsResponse"}}},"deprecated":false}},"/api/Appointments/Search":{"get":{"tags":["AppointmentsApi"],"summary":"To get the list of appointments based on dates.  For non-manager/non-owner roles only their appointments are returned.","description":"Requires either Therapist role or Add, Edit or Readonly permission on Appointments object","operationId":"AppointmentsApi_SearchAppointments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.searchValue","in":"query","required":false,"type":"string"},{"name":"request.guestId","in":"query","required":false,"type":"string"},{"name":"request.pageNum","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.pageSize","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SearchAppointmentsResponse"}}},"deprecated":false}},"/api/Appointments/{AppointmentGroupId}":{"get":{"tags":["AppointmentsApi"],"summary":"To Get the Appointment Details for the appointment group id","description":"Requires either Therapist role or Add, Edit or Readonly permission on Appointments object","operationId":"AppointmentsApi_GetAppointmentGroup","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"AppointmentGroupId","in":"path","description":"AppointmentGroupId(Guid)","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetAppointmentGroupResponse"}}},"deprecated":false}},"/api/Appointments/{AppointmentGroupId}/Invoice":{"get":{"tags":["AppointmentsApi"],"summary":"To Get the Appointment Details for the appointmentgroupId","description":"Requires either Therapist role or Add, Edit or Readonly permission on Appointments object","operationId":"AppointmentsApi_GetInvoiceFromAppointmentGroup","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"AppointmentGroupId","in":"path","description":"AppointmentGroupid(Guid)","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetAppointmentGroupResponse"}}},"deprecated":false}},"/api/Appointments/SetStatus":{"post":{"tags":["AppointmentsApi"],"summary":"To change the status of the appointment.","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"AppointmentsApi_SetAppointmentStatus","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"AppointmentGroupId(Guid)\r\n             <para>Returned status values:\r\n             New = 0,\r\n             Checkin = 1,\r\n             UndoCheckin = 2,\r\n             Confirm = 3</para>","required":true,"schema":{"$ref":"#/definitions/SetAppointmentStatusRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetAppointmentStatusResponse"}}},"deprecated":false}},"/api/Appointments/{AppointmentGroupId}/SetProgress":{"post":{"tags":["AppointmentsApi"],"summary":"To change the progress of an appointment","operationId":"AppointmentsApi_SetAppointmentProgress","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"AppointmentGroupId","in":"path","description":"Appointment GroupId for which the start is to be applied.","required":true,"type":"string"},{"name":"request","in":"body","description":"Parameters for the action to complete.","required":true,"schema":{"$ref":"#/definitions/SetAppointmentProgressRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetAppointmentProgressResponse"}}},"deprecated":false}},"/api/Appointments/NoShow":{"post":{"tags":["AppointmentsApi"],"summary":"To set the status of the appointment to no show.","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"AppointmentsApi_MarkAppointmentNoShow","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"AppointmentGroupId(Guid)","required":true,"schema":{"$ref":"#/definitions/MarkAppointmentNoShowRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/MarkAppointmentNoShowResponse"}}},"deprecated":false}},"/api/Appointments/Cancel":{"post":{"tags":["AppointmentsApi"],"summary":"To set the status of the appointment to cancelled.","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"AppointmentsApi_CancelAppointment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"AppointmentGroupId(Guid)","required":true,"schema":{"$ref":"#/definitions/CancelAppointmentRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CancelAppointmentResponse"}}},"deprecated":false}},"/api/Appointments/Add":{"post":{"tags":["AppointmentsApi"],"summary":"To update the appointmentGroup details","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"AppointmentsApi_AddAppointmentGroup","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"Appointment Group Details with the services to be updated.","required":true,"schema":{"$ref":"#/definitions/AddAppointmentGroupRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddAppointmentGroupResponse"}}},"deprecated":false}},"/api/Appointments/Update":{"post":{"tags":["AppointmentsApi"],"summary":"To update the appointmentGroup details","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"AppointmentsApi_UpdateAppointmentGroup","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"Appointment Group Details with the services to be updated.","required":true,"schema":{"$ref":"#/definitions/UpdateAppointmentGroupRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UpdateAppointmentGroupResponse"}}},"deprecated":false}},"/api/Appointments/Rebook":{"post":{"tags":["AppointmentsApi"],"summary":"To rebook Appointments","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"AppointmentsApi_RebookAppointment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"Rebook Appointments Request parameters","required":true,"schema":{"$ref":"#/definitions/RebookAppointmentRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RebookAppointmentResponse"}}},"deprecated":false}},"/api/Appointments/AvailableTimes":{"post":{"tags":["AppointmentsApi"],"summary":"To get the available time slots for the services and the Therapists","description":"Requires either Therapist role or Add, Edit or Readonly permission on Appointments object","operationId":"AppointmentsApi_GetAvailableSlots","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"Appointment group details with the services and the therapist mapping that need to be checked for","required":true,"schema":{"$ref":"#/definitions/GetAvailableSlotsRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetAvailableSlotsResponse"}}},"deprecated":false}},"/api/v2.0/Appointments/AvailableTimes":{"post":{"tags":["AppointmentsApi"],"operationId":"AppointmentsApi_GetAvailableSlotsV2","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/GetAvailableSlotsV2Request"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetAvailableSlotsV2Response"}}},"deprecated":false}},"/api/Appointments/ReserveSlots":{"post":{"tags":["AppointmentsApi"],"operationId":"AppointmentsApi_ReserveSlots","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/ReserveSlotsRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ReserveSlotsResponse"}}},"deprecated":false}},"/api/Appointments/ConfirmReservation":{"post":{"tags":["AppointmentsApi"],"operationId":"AppointmentsApi_ConfirmReservation","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/ConfirmReservationRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ConfirmReservationResponse"}}},"deprecated":false}},"/api/Appointments/Month/{Year}/{Month}":{"get":{"tags":["AppointmentsApi"],"summary":"To get monthly dates with bool value if the appointments are present for each date.","description":"Requires either Therapist role or Add, Edit or Readonly permission on Appointments object","operationId":"AppointmentsApi_GetMonthlyAppointmentDates","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"Year","in":"path","required":true,"type":"string"},{"name":"Month","in":"path","required":true,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.year","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.month","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetMonthlyAppointmentsDatesResponse"}}},"deprecated":false}},"/api/Appointments/{AppointmentId}/CustomData":{"get":{"tags":["AppointmentsApi"],"summary":"Gets the appointment's service custom data","description":"Requires either View or Edit permission on ServiceCustomData object","operationId":"AppointmentsApi_GetAppointmentCustomData","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"AppointmentId","in":"path","description":"Appointment Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetAppointmentCustomDataResponse"}}},"deprecated":false}},"/api/Appointments/{AppointmentFieldValue}/CustomDataImage":{"get":{"tags":["AppointmentsApi"],"summary":"Uploads service custom data image for a given field. The file name\r\n            should be of the format [field id].[extension] of image","operationId":"AppointmentsApi_GetCustomDataImage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"AppointmentFieldValue","in":"path","description":"Custom data field value when field is of type Image","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCustomDataImageResponse"}}},"deprecated":false}},"/api/Appointments/CustomData":{"post":{"tags":["AppointmentsApi"],"summary":"Sets the appointments custom data","description":"Requires Edit permission on ServiceCustomData object","operationId":"AppointmentsApi_SetAppointmentCustomData","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request object with Appointment Id and custom fields to be set","required":true,"schema":{"$ref":"#/definitions/SetAppointmentCustomDataRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetAppointmentCustomDataResponse"}}},"deprecated":false}},"/api/Appointments/{AppointmentFieldId}/CustomDataImage":{"post":{"tags":["AppointmentsApi"],"summary":"Uploads service custom data image for a given field. The file name\r\n            should be of the format [field id].[extension] of image","operationId":"AppointmentsApi_UploadCustomDataImage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"AppointmentFieldId","in":"path","description":"Service custom data field Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UploadCustomDataImageResponse"}}},"deprecated":false}},"/api/Appointments/AddNotes":{"post":{"tags":["AppointmentsApi"],"summary":"Sets the appointment notes","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"AppointmentsApi_SetAppointmentNotes","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The Invoice Id for the appointment","required":true,"schema":{"$ref":"#/definitions/SetAppointmentNotesRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetAppointmentNotesResponse"}}},"deprecated":false}},"/api/Appointments/AddFeedback":{"post":{"tags":["AppointmentsApi"],"summary":"Sets the appointment feedback","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"AppointmentsApi_SetAppointmentFeedback","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"parameters for the appointment feedback save","required":true,"schema":{"$ref":"#/definitions/SetAppointmentFeedbackRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetAppointmentFeedbackResponse"}}},"deprecated":false}},"/api/Appointments/Admin/Sessions":{"get":{"tags":["AppointmentsApi"],"summary":"URL: /api/Appointments/Admin/Sessions    GET \r\n            Gets the guests class registrations. This API should  be invoked by an employee to see a guest's registrations","operationId":"AppointmentsApi_GetUserRegistrationsAdmin","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.userId","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetUserRegistrationsAdminResponse"}}},"deprecated":false},"post":{"tags":["AppointmentsApi"],"operationId":"AppointmentsApi_SetAdminTrainingRegistration","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/SetTrainingRegistrationRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetTrainingRegistrationResponse"}}},"deprecated":false}},"/api/Appointments/Sessions":{"get":{"tags":["AppointmentsApi"],"summary":"URL: /api/Appointments/Sessions   GEt \r\n            Gets the guests class registrations","operationId":"AppointmentsApi_GetUserRegistrations","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.userId","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetUserRegistrationsResponse"}}},"deprecated":false},"post":{"tags":["AppointmentsApi"],"operationId":"AppointmentsApi_SetTrainingRegistration","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"SessionId","in":"query","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetTrainingRegistrationResponse"}}},"deprecated":false}},"/api/Appointments/Admin/Sessions/{RegistrationId}":{"delete":{"tags":["AppointmentsApi"],"summary":"URL: /api/Appointments/Admin/Sessions/{RegistrationId}    DELETE \r\n            Admin API to cancel a registration of any user in the organization","operationId":"AppointmentsApi_CancelTrainingRegistration","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"RegistrationId","in":"path","description":"RegistrationId - Number - Id of the registration which should be cancelled","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CancelTrainingRegistrationResponse"}}},"deprecated":false}},"/api/Appointments/Sessions/{RegistrationId}":{"delete":{"tags":["AppointmentsApi"],"summary":"URL: /api/Appointments/Sessions/{RegistrationId}    DELETE \r\n            Cancels a guest registration, this API should be invoked by a logged-in guest","operationId":"AppointmentsApi_CancelTrainingRegistrationAdmin","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"RegistrationId","in":"path","description":"RegistrationId - Number - Id of the registration which should be cancelled","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CancelTrainingRegistrationResponse"}}},"deprecated":false}},"/api/Appointments/{AppointmentId}/AddOnService":{"post":{"tags":["AppointmentsApi"],"summary":"For adding an addon service to the appointment","operationId":"AppointmentsApi_AddAddOnService","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"AppointmentId","in":"path","description":"AppointmentId for which thhe add on service is to be added","required":true,"type":"string"},{"name":"request","in":"body","description":"other parameters needed to make the call.","required":true,"schema":{"$ref":"#/definitions/AddOnServiceRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddOnServiceResponse"}}},"deprecated":false}},"/api/Appointments/{AppointmentId}/AddOnService/{AddOnAppointmentId}":{"delete":{"tags":["AppointmentsApi"],"summary":"For deleting the addon servicee to the appointmnt.","operationId":"AppointmentsApi_RemoveAddOnService","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"AppointmentId","in":"path","description":"","required":true,"type":"string"},{"name":"AddOnAppointmentId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RemoveAddOnServiceResponse"}}},"deprecated":false}},"/BI/ZenotiMetricCategories":{"get":{"tags":["BiApi"],"summary":"get zenoti metric categories","operationId":"BiApi_GetZenotiMetricCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ZenotiMetricCategoryShortDTO"}}}},"deprecated":false}},"/BI/ZenotiMetrics/{categoryId}":{"get":{"tags":["BiApi"],"summary":"get zenoti metrics for a given category","operationId":"BiApi_GetZenotiMetrics","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"categoryId","in":"path","description":"ZenotiMetricCategoryId","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ZenotiMetricShortDTO"}}}},"deprecated":false}},"/BI/ZenotiMetrics":{"get":{"tags":["BiApi"],"summary":"get an exhaustive list of all custom metrics grouped by their category","operationId":"BiApi_GetAllZenotiMetrics","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ZenotiMetricCategoryFullDTO"}}}},"deprecated":false}},"/BI/ZenotiMetric/{zenotiMetricId}":{"get":{"tags":["BiApi"],"summary":"get zenoti metric details by id","operationId":"BiApi_GetZenotiMetric","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"zenotiMetricId","in":"path","description":"Zenoti metric id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ZenotiMetricDTO"}}},"deprecated":false}},"/BI/ZenotiFilters/{zenotiMetricId}":{"get":{"tags":["BiApi"],"summary":"get zenoti filters for a given zenoti metric id","operationId":"BiApi_GetZenotiFilters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"zenotiMetricId","in":"path","description":"Zenoti metric id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ZenotiFilterShortDTO"}}}},"deprecated":false}},"/BI/ZenotiFilterValues/{zenotiFilterId}":{"get":{"tags":["BiApi"],"summary":"get zenoti filter values for a given zenoti filter","operationId":"BiApi_GetZenotiFilterValues","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"zenotiFilterId","in":"path","description":"zenoti filter id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ZenotiFilterValuesDTO"}}},"deprecated":false}},"/BI/ZenotiReportRows":{"get":{"tags":["BiApi"],"summary":"get a list of available report rows","operationId":"BiApi_GetZenotiReportRows","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ZenotiReportRowDTO"}}}},"deprecated":false}},"/BI/ZenotiReportColumns":{"get":{"tags":["BiApi"],"summary":"get a list of available report columns","operationId":"BiApi_GetZenotiReportColumns","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ZenotiReportColumnDTO"}}}},"deprecated":false}},"/BI/ZenotiReportRowsAll":{"get":{"tags":["BiApi"],"summary":"get a list of zenoti report rows within their categories","operationId":"BiApi_GetAllZenotiReportRows","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ZenotiGroupByDTO"}}}},"deprecated":false}},"/BI/ZenotiReportParameters":{"get":{"tags":["BiApi"],"summary":"get a list of zenoti report parameters","operationId":"BiApi_GetZenotiReportParameters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ZenotiReportParameterDTO"}}}},"deprecated":false}},"/BI/CustomMetricCategories":{"get":{"tags":["BiApi"],"summary":"get a list of custom metric categories","operationId":"BiApi_GetCustomMetricCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CustomMetricCategoryShortDTO"}}}},"deprecated":false}},"/BI/GetCustomMetricsForSelectedGroupBY/{GroupbyId}":{"get":{"tags":["BiApi"],"summary":"get a list of all the custom metrics within their categories","operationId":"BiApi_GetCustomMetricsForSelectedGroupBY","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GroupbyId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CustomMetricCategoryFullDTO"}}}},"deprecated":false}},"/BI/CustomMetrics":{"get":{"tags":["BiApi"],"operationId":"BiApi_GetAllCustomMetrics","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CustomMetricCategoryFullDTO"}}}},"deprecated":false}},"/BI/CustomMetrics/{customMetricCategoryId}":{"get":{"tags":["BiApi"],"summary":"get a list of custom metrics for the given custom metric category","operationId":"BiApi_GetCustomMetrics","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customMetricCategoryId","in":"path","description":"custom metric category id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CustomMetricShortDTO"}}}},"deprecated":false}},"/BI/CustomMetric/{customMetricId}":{"get":{"tags":["BiApi"],"summary":"get custom metric details for a given custom metric id","operationId":"BiApi_GetCustomMetric","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customMetricId","in":"path","description":"custom metric id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CustomMetricDTO"}}},"deprecated":false},"delete":{"tags":["BiApi"],"summary":"delete a custom metric, provide the custom metric id","operationId":"BiApi_DeleteCustomMetric","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customMetricId","in":"path","description":"custom metric id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/BI/CustomReports":{"get":{"tags":["BiApi"],"summary":"get a list of all existing custom reports","operationId":"BiApi_GetCustomReports","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CustomReportShortDTO"}}}},"deprecated":false}},"/BI/CustomReport/{customReportId}":{"get":{"tags":["BiApi"],"summary":"get custom report details by custom report id","operationId":"BiApi_GetCustomReportByCustomReportId","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customReportId","in":"path","description":"","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CustomReportDTO"}}},"deprecated":false},"delete":{"tags":["BiApi"],"summary":"delete a custom report, provide a custom report id","operationId":"BiApi_DeleteCustomReport","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customReportId","in":"path","description":"","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/BI/GetGroupByForSelectedReport/{customReportId}":{"get":{"tags":["BiApi"],"operationId":"BiApi_GetGroupByForSelectedReport","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customReportId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ZenotiGroupByAttributes"}}}},"deprecated":false}},"/BI/CustomMetricFilters/{customMetricId}":{"get":{"tags":["BiApi"],"operationId":"BiApi_GetFiltersAndValuesByCustomMetricId","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customMetricId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CustomMetricDetails"}}},"deprecated":false}},"/BI/CustomMetric":{"put":{"tags":["BiApi"],"summary":"create a new custom metric, provide the details with/without filter values","operationId":"BiApi_CreateCustomMetric","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customMetricDTO","in":"body","description":"new custom metric details","required":true,"schema":{"$ref":"#/definitions/CustomMetricDTO"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false},"post":{"tags":["BiApi"],"summary":"update a custom metric, provide the details with/without filter values","operationId":"BiApi_UpdateCustomMetric","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customMetricDTO","in":"body","description":"update custom metric details","required":true,"schema":{"$ref":"#/definitions/CustomMetricDTO"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/BI/CustomReportData/{customReportId}":{"post":{"tags":["BiApi"],"summary":"get data for a custom report, provide the custom report id","operationId":"BiApi_GetCustomReportData","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customReportParameterValueDTOs","in":"body","description":"parameter values","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/CustomReportParameterValueDTO"}}},{"name":"customReportId","in":"path","description":"custom report id","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/BI/CustomReportColumnProperties/{CustomreportId}":{"get":{"tags":["BiApi"],"operationId":"BiApi_CustomReportColumnProperties","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CustomreportId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TransactionalDimFactAttrInfo"}}}},"deprecated":false}},"/BI/CustomReportsData/{organizationId}/{centerId}":{"post":{"tags":["BiApi"],"summary":"","operationId":"BiApi_GetCustomReportsData","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customReportParamterValueDTOs","in":"body","description":"","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/CustomReportParameterValueDTO"}}},{"name":"organizationId","in":"path","description":"","required":true,"type":"string"},{"name":"centerId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/BI/CustomMetricDrillDown/{NoofRows}":{"post":{"tags":["BiApi"],"summary":"get data for a drill down report for a custom metric data","operationId":"BiApi_GetCustomMetricDrilldownData","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customMetricDrillDownDTO","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/CustomMetricDrillDownDTO"}},{"name":"NoofRows","in":"path","description":"Number of Rows to return","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/BI/GetReportFilterData/{ReportFilterId}":{"get":{"tags":["BiApi"],"operationId":"BiApi_GetReportFilterData","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ReportFilterId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/BI/GetFiltersForReport/{CustomReportId}":{"get":{"tags":["BiApi"],"operationId":"BiApi_GetFiltersForReport","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CustomReportId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ZenotiFilterShortDTO"}}}},"deprecated":false}},"/BI/ReportFilters":{"get":{"tags":["BiApi"],"operationId":"BiApi_GetReportFilters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ZenotiFilterShortDTO"}}}},"deprecated":false}},"/BI/CustomReport":{"put":{"tags":["BiApi"],"summary":"create a custom report, provide customReportDTO","operationId":"BiApi_CreateCustomReport","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customReportDTO","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/CustomReportDTO"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false},"post":{"tags":["BiApi"],"summary":"update custom report details, provide custom report dto","operationId":"BiApi_UpdateCustomReport","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customReportDTO","in":"body","description":"","required":true,"schema":{"$ref":"#/definitions/CustomReportDTO"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/BI/CustomReportOrder":{"post":{"tags":["BiApi"],"operationId":"BiApi_UpdateCustomReportOrder","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"crShortDTOList","in":"body","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/CustomReportShortDTO"}}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/BI/DrilldownColumns/{zenotiMetricId}":{"get":{"tags":["BiApi"],"operationId":"BiApi_GetDrilldownColumns","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"zenotiMetricId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/DrilldownColumnsFull"}}}},"deprecated":false}},"/BI/TransactionalReports":{"get":{"tags":["BiApi"],"operationId":"BiApi_GetTransactionalReports","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TransactionalReportShortDTO"}}}},"deprecated":false}},"/BI/SubjectAreas":{"get":{"tags":["BiApi"],"operationId":"BiApi_GetSubjectAreas","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/SubjectAreasDTO"}}}},"deprecated":false}},"/BI/TransactionalReport":{"put":{"tags":["BiApi"],"operationId":"BiApi_CreateTransactionalReport","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"txnReportDTO","in":"body","required":true,"schema":{"$ref":"#/definitions/TransactionalReportsDTO"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false},"post":{"tags":["BiApi"],"operationId":"BiApi_UpdateTransactionalReport","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"txnReportDTO","in":"body","required":true,"schema":{"$ref":"#/definitions/TransactionalReportsDTO"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/BI/FactDimColumns/{iFactId}":{"get":{"tags":["BiApi"],"operationId":"BiApi_GetFactDimColumnsByFactId","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"iFactId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TransactionalColumnsFull"}}}},"deprecated":false}},"/BI/TransactionalReport/{customReportId}":{"get":{"tags":["BiApi"],"operationId":"BiApi_EditTransactionalReport","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customReportId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/TransactionalReportsDTO"}}},"deprecated":false},"delete":{"tags":["BiApi"],"operationId":"BiApi_DeleteTransactionalReport","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"customReportId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/api/Centers":{"get":{"tags":["CentersApi"],"summary":"Api to fetch the allowed centers to the current logged in user.","operationId":"CentersApi_GetCenters","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCentersResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}":{"get":{"tags":["CentersApi"],"summary":"Gets the details of center associated with the id","operationId":"CentersApi_GetCenterDetails","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCenterDetailsResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}/Settings":{"get":{"tags":["CentersApi"],"summary":"Gets center's settings","operationId":"CentersApi_GetCenterSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"Center Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCenterSettingsResponse"}}},"deprecated":false}},"/api/Centers/LinkStripeAccount":{"get":{"tags":["CentersApi"],"summary":"Web hook to link Stripe Account to Zenoti","operationId":"CentersApi_LinkStripeAccount","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/api/Centers/CreateStripeAccount":{"post":{"tags":["CentersApi"],"summary":"Creates new stripe account for the center with given email address","operationId":"CentersApi_CreateStripeAccount","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The email address and other details for stripe account","required":true,"schema":{"$ref":"#/definitions/CreateStripeAccountRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreateStripeAccountResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}/GuestSettings":{"get":{"tags":["CentersApi"],"summary":"Gets the guest settings for center","operationId":"CentersApi_GetGuestSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"The center Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCenterGuestSettingsResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}/InvoiceSettings":{"get":{"tags":["CentersApi"],"summary":"Gets invoice related settings","operationId":"CentersApi_GetInvoiceSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"The center Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCenterInvoiceSettingsResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}/StripeSettings":{"get":{"tags":["CentersApi"],"summary":"Gets Stripe settings of center","operationId":"CentersApi_GetStripeSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"The center Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetStripeSettingsResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}/GeneralSettings":{"get":{"tags":["CentersApi"],"summary":"Gets general settings of center","operationId":"CentersApi_GetGeneralSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"The center Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCenterGeneralSettingsResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}/AppointmentSettings":{"get":{"tags":["CentersApi"],"summary":"Gets the appointment related settings for the center","operationId":"CentersApi_GetAppointmentSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"The center Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCenterAppointmentSettingsResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}/DisplayTerminalSettings":{"get":{"tags":["CentersApi"],"summary":"Gets Display Terminal settings of specified center","operationId":"CentersApi_GetDisplayTerminalSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"The center Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetDisplayTerminalSettingsResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}/TaxGroups":{"get":{"tags":["CentersApi"],"summary":"Gets The list of Tax Groups","operationId":"CentersApi_GetTaxGroups","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"Center Id for fetching the tax groups","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetTaxGroupsResponse"}}},"deprecated":false}},"/api/Centers/CreatePayworksAccount":{"post":{"tags":["CentersApi"],"summary":"Creates payworks account for the center. This requires center to already have a Stripe account.","operationId":"CentersApi_CreatePayworksAccount","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The center for which Payworks need to be enabled","required":true,"schema":{"$ref":"#/definitions/CreatePayworksAccountRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreatePayworksAccountResponse"}}},"deprecated":false}},"/api/Centers/PayworksReader":{"post":{"tags":["CentersApi"],"summary":"Registers the specified payworks card reader to the merchant account. After this step, the card reader\r\n            is good to start taking card transactions for the center.","operationId":"CentersApi_AddPayworksReader","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The card reader details for the Payworks merchant","required":true,"schema":{"$ref":"#/definitions/AddPayworksReaderRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddPayworksReaderResponse"}}},"deprecated":false}},"/api/Centers/Geofence":{"post":{"tags":["CentersApi"],"summary":"Saves the geo fence around the given location so that App can be accessed only within this location","operationId":"CentersApi_SetupGeofence","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The geo fence location details","required":true,"schema":{"$ref":"#/definitions/SetupGeofenceRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetupGeofenceResponse"}}},"deprecated":false}},"/api/Centers/DisplayTerminalSettings":{"post":{"tags":["CentersApi"],"summary":"Saves the Display Terminal settings","operationId":"CentersApi_SetDisplayTerminalSettings","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The settings such as advestisement Url, etc. Only fields that are sent are actually saved.","required":true,"schema":{"$ref":"#/definitions/SetDisplayTerminalSettingsRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetDisplayTerminalSettingsResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}/Instructors":{"get":{"tags":["CentersApi"],"summary":"URL: /api/Centers/{CenterId}/Instructors   GET \r\n            Gets the list of instructors available at the center including whether they are associated with any class or not","operationId":"CentersApi_GetInstructors","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"GUID    Center Id of the center whose instructors need to be returned","required":true,"type":"string"},{"name":"request.classId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetInstructorsResponse"}}},"deprecated":false}},"/api/Centers/Admin/{CenterId}/Instructors":{"get":{"tags":["CentersApi"],"summary":"URL: /api/Centers/Admin/{CenterId}/Instructors   GET \r\n            Gets the list of instructors for Admin available at the center including whether they are associated with any class or not","operationId":"CentersApi_GetInstructorsforAdmin","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"GUID    Center Id of the center whose instructors need to be returned","required":true,"type":"string"},{"name":"request.classId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetInstructorsforAdminResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}/Rooms":{"get":{"tags":["CentersApi"],"summary":"URL: /api/Centers/{CenterId}/Rooms   GET \r\n            Gets the list of rooms available at the center including whether they are associated with the class or not","operationId":"CentersApi_GetRooms","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"GUID    Center Id of the center whose rooms need to be returned","required":true,"type":"string"},{"name":"request.classId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetRoomsResponse"}}},"deprecated":false}},"/api/Centers/Admin/{CenterId}/Rooms":{"get":{"tags":["CentersApi"],"summary":"URL: /api/Centers/Admin/{CenterId}/Rooms   GET \r\n            Gets the list of rooms available at the center including whether they are associated with the class or not for an Admin User","operationId":"CentersApi_GetRoomsforAdmin","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"GUID    Center Id of the center whose rooms need to be returned","required":true,"type":"string"},{"name":"request.classId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetRoomsResponse"}}},"deprecated":false}},"/api/Centers/TrainingCenters":{"get":{"tags":["CentersApi"],"summary":"URL: /api/Centers/TrainingCenters    GET \r\n            Gets the list of centers based on the view (org/zone/center) along with the class associations","operationId":"CentersApi_GetCentersList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.zoneId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.classId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCentersListResponse"}}},"deprecated":false}},"/api/Centers/{CenterId}/Copy":{"post":{"tags":["CentersApi"],"summary":"To Copy one Center properties to other Centers","description":"Use this api to copy properties from center to center\r\n             <br /><b>Groups</b>        &gt;&gt; General = 1, Services = 2, Products = 4, Jobs = 8, Packages = 16, Memberships = 32, Campaigns = 64, TaxGroups = 128\r\n             <br /><b>Mode</b>          &gt;&gt; Shallow Copy = 1, Deep Copy = 2\r\n             <br /><b>Level</b>         &gt;&gt; LeftOnly = 1, AllLeft =2 , SyncLeft=3\r\n             <br /><b>ToCenterIds</b> &gt;&gt; List of centerId ids\r\n             <br /><br /><b>Sample JSON</b><br /> {\r\n             <br /> \"Mode\": 2,\r\n             <br /> \"Level\": 2,\r\n             <br /> \"Groups\": 3, -- General and Services\r\n             <br /> \"ToCenterIds\": [\r\n             <br /> \"080a8d2f-8d3b-41ae-a689-bbf41db34be6\",\"fff0e369-e816-4ce2-9873-298ecb8bb3be\"\r\n             <br /> ]\r\n             <br /> }","operationId":"CentersApi_CopyCenter","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"CenterId from which you want to copy properties","required":true,"type":"string"},{"name":"request","in":"body","description":"Pameters to Copy","required":true,"schema":{"$ref":"#/definitions/CopyCenterRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CopyCenterResponse"}}},"deprecated":false}},"/api/CentersApi/GetNotSupportedCardTypes":{"get":{"tags":["CentersApi"],"operationId":"CentersApi_GetNotSupportedCardTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"notSupportedCardTypeMask","in":"query","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"enum":["Visa","MasterCard","Maestro","Amex","DinersClub","Discover","Beam","DebitCard","NetsNets","VisaElectron","Other"],"type":"string"}}}},"deprecated":false}},"/api/v2.0/CentersApi/GetNotSupportedCardTypes":{"get":{"tags":["CentersApi"],"operationId":"CentersApi_GetNotSupportedCardTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"notSupportedCardTypeMask","in":"query","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"enum":["Visa","MasterCard","Maestro","Amex","DinersClub","Discover","Beam","DebitCard","NetsNets","VisaElectron","Other"],"type":"string"}}}},"deprecated":false}},"/api/Client/Currencies":{"get":{"tags":["ClientApi"],"summary":"Get all currencies supported in the system","operationId":"ClientApi_GetCurrencies","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CurrencyModel"}}}},"deprecated":false}},"/api/Client/TimeZones":{"get":{"tags":["ClientApi"],"summary":"Get all timezones supported in the system","operationId":"ClientApi_GetTimeZones","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/TimeZoneModel"}}}},"deprecated":false}},"/api/Client/Languages":{"get":{"tags":["ClientApi"],"summary":"Get all languages supported in the system","operationId":"ClientApi_GetLanguages","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/LanguageModel"}}}},"deprecated":false}},"/api/Client/Countries":{"get":{"tags":["ClientApi"],"summary":"Get all countries available in the system","operationId":"ClientApi_GetCountries","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CountryModel"}}}},"deprecated":false}},"/api/Client/Countries/{CountryId}/States":{"get":{"tags":["ClientApi"],"summary":"Get all states available for the given country in the system","operationId":"ClientApi_GetStates","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CountryId","in":"path","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/StateModel"}}}},"deprecated":false}},"/api/Client/Cultures":{"get":{"tags":["ClientApi"],"summary":"Get all cultures supported in the system","operationId":"ClientApi_GetCultures","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CultureModel"}}}},"deprecated":false}},"/api/Client/PushNotification":{"post":{"tags":["ClientApi"],"summary":"To save the user device tokens for the push notifications","operationId":"ClientApi_RegisterPushNotification","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"contains the request to save the device token","required":true,"schema":{"$ref":"#/definitions/RegisterPushNotificationRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RegisterPushNotificationResponse"}}},"deprecated":false}},"/api/Client/Ping":{"get":{"tags":["ClientApi"],"operationId":"ClientApi_Ping","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"string"}}},"deprecated":false}},"/api/ClientApi/GetAppSettings":{"get":{"tags":["ClientApi"],"summary":"Get the initial settings required by the Mobile POS App","operationId":"ClientApi_GetAppSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.oSType","in":"query","required":false,"type":"string","enum":["Windows","iOS","Android","Unknown"]},{"name":"request.deviceType","in":"query","required":false,"type":"string","enum":["Desktop","Laptop","Phone","Tablet","Unknown"]},{"name":"request.oSVersion","in":"query","required":false,"type":"string"},{"name":"request.appVersion","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AppInitialSettings"}}},"deprecated":false}},"/api/v2.0/ClientApi/GetAppSettings":{"get":{"tags":["ClientApi"],"summary":"Get the initial settings required by the Mobile POS App","operationId":"ClientApi_GetAppSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.oSType","in":"query","required":false,"type":"string","enum":["Windows","iOS","Android","Unknown"]},{"name":"request.deviceType","in":"query","required":false,"type":"string","enum":["Desktop","Laptop","Phone","Tablet","Unknown"]},{"name":"request.oSVersion","in":"query","required":false,"type":"string"},{"name":"request.appVersion","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AppInitialSettings"}}},"deprecated":false}},"/api/Discounts":{"get":{"tags":["DiscountsApi"],"summary":"Gets all available campaigns in the system","operationId":"DiscountsApi_GetDiscounts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.guestId","in":"query","required":false,"type":"string"},{"name":"request.appointmentDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.invoiceId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetDiscountsResponse"}}},"deprecated":false}},"/api/Employees/{EmployeeId}":{"get":{"tags":["EmployeesApi"],"summary":"Gets the Details of the employee","operationId":"EmployeesApi_GetEmployee","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"EmployeeId","in":"path","description":"Employee id of the employee to get the details from","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetEmployeeResponse"}}},"deprecated":false},"post":{"tags":["EmployeesApi"],"summary":"Api to update the employee Object","operationId":"EmployeesApi_UpdateEmployee","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"EmployeeId","in":"path","description":"EmployeeId for which to save","required":true,"type":"string"},{"name":"request","in":"body","description":"Paameters to fetch the employee object","required":true,"schema":{"$ref":"#/definitions/UpdateEmployeeDetailRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UpdateEmployeeDetailResponse"}}},"deprecated":false}},"/api/Employees/Admin/{EmployeeId}":{"get":{"tags":["EmployeesApi"],"summary":"Gets the Details of the employee","operationId":"EmployeesApi_GetEmployeeDetail","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"EmployeeId","in":"path","description":"Employee id of the employee to get the details from","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetEmployeeDetailResponse"}}},"deprecated":false}},"/api/Employees/{EmployeeId}/Roles":{"get":{"tags":["EmployeesApi"],"summary":"Gets the roles of the employee","operationId":"EmployeesApi_GetEmployeeRoles","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"EmployeeId","in":"path","required":true,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.employeeId","in":"query","required":false,"type":"string"},{"name":"request.returnPermissions","in":"query","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetEmployeeRolesResponse"}}},"deprecated":false}},"/api/Employees/Therapists":{"get":{"tags":["EmployeesApi"],"summary":"Gets the available therapists for a specified time, service and center","operationId":"EmployeesApi_GetTherapists","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.appointmentId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.serviceId","in":"query","required":false,"type":"string"},{"name":"request.startTime","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endTime","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.searchValue","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetTherapistsResponse"}}},"deprecated":false}},"/api/Employees":{"get":{"tags":["EmployeesApi"],"summary":"Gets the employees in the center on a specified date","operationId":"EmployeesApi_GetEmployees","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.date","in":"query","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetEmployeesResponse"}}},"deprecated":false},"post":{"tags":["EmployeesApi"],"summary":"Api to add a new employee.","operationId":"EmployeesApi_AddEmployee","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"Parameters to create new employee","required":true,"schema":{"$ref":"#/definitions/AddEmployeeDetailRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddEmployeeDetailResponse"}}},"deprecated":false}},"/api/Employees/Admin":{"get":{"tags":["EmployeesApi"],"summary":"Gets the employees in the center on a specified date","operationId":"EmployeesApi_GetEmployees","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.date","in":"query","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetEmployeesResponse"}}},"deprecated":false}},"/api/Employees/Jobs":{"get":{"tags":["EmployeesApi"],"summary":"Gets the Jobs","operationId":"EmployeesApi_GetJobs","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetJobsResponse"}}},"deprecated":false}},"/api/Employees/Jobs/{JobId}/Designations":{"get":{"tags":["EmployeesApi"],"summary":"Gets the Designation for a job","operationId":"EmployeesApi_GetDesignation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"JobId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetDesignationResponse"}}},"deprecated":false}},"/api/Employees/{EmployeeId}/ProfilePicture":{"get":{"tags":["EmployeesApi"],"summary":"Gets the employee's profile picture and returns url to the file","operationId":"EmployeesApi_GetProfilePicture","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"EmployeeId","in":"path","description":"Employee Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetProfilePictureResponse"}}},"deprecated":false},"post":{"tags":["EmployeesApi"],"summary":"Uploads the employee's profile picture and returns path to the file","operationId":"EmployeesApi_UploadProfilePicture","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"EmployeeId","in":"path","description":"Employee Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UploadProfilePictureResponse"}}},"deprecated":false}},"/api/Employees/{EmployeeId}/Notifications":{"get":{"tags":["EmployeesApi"],"summary":"Api to Get the notifications for an Employee","operationId":"EmployeesApi_GetNotifications","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"EmployeeId","in":"path","description":"Employee for which the notificaitons are to be sent","required":true,"type":"string"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetNotificationsResponse"}}},"deprecated":false}},"/api/Employees/CheckIn":{"post":{"tags":["EmployeesApi"],"summary":"Checkins the employee in the center on right now","operationId":"EmployeesApi_CheckInEmployee","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CheckInEmployeeResponse"}}},"deprecated":false}},"/api/Employees/CheckOut":{"post":{"tags":["EmployeesApi"],"summary":"Checkouts the employee in the center on right now","operationId":"EmployeesApi_CheckOutEmployee","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CheckOutEmployeeResponse"}}},"deprecated":false}},"/api/Employees/AssignCashRegister":{"post":{"tags":["EmployeesApi"],"summary":"Assigns the cash register to logged in employee for operation. If the force parameter is not set,\r\n            an error is returned if the register is in use by someone else.","operationId":"EmployeesApi_AssignCashRegister","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The cash register id.","required":true,"schema":{"$ref":"#/definitions/AssignCashRegisterRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AssignCashRegisterResponse"}}},"deprecated":false}},"/api/Employees/Commissions/{CenterId}":{"get":{"tags":["EmployeesApi"],"summary":"Get split commissions for the given dates based on either sales or collections","operationId":"EmployeesApi_GetCommission","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"CenterId for which to get the split commissions","required":true,"type":"string"},{"name":"request.centerId","in":"query","description":"Center for which the Split Commission are to be retrieved. This parameter is mandatory.","required":false,"type":"string"},{"name":"request.startDate","in":"query","description":"The date from which the api has to retrieve the data. By default considers the current date.","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","description":"The date till which the api has to retrieve the data. By default considers the current date.","required":false,"type":"string","format":"date-time"},{"name":"request.reportType","in":"query","description":"default 1, can have one of the two values - 1 ‘Sale based’, 2 ‘Collections based’","required":false,"type":"integer","format":"int32"},{"name":"request.employeeType","in":"query","description":"default 1, can have one of the three values - 1 ‘All’, 2 ‘Employees’, 3 ‘Consultants’","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCommissionResponse"}}},"deprecated":false}},"/api/Employees/Tips/{CenterId}":{"get":{"tags":["EmployeesApi"],"summary":"Get split commissions for the given dates based on either sales or collections or closing","operationId":"EmployeesApi_GetTips","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","description":"CenterId for which to get the split tips","required":true,"type":"string"},{"name":"request.centerId","in":"query","description":"Center for which the Split Tips are to be retrieved. This parameter is mandatory.","required":false,"type":"string"},{"name":"request.startDate","in":"query","description":"The date from which the api has to retrieve the data. By default considers the current date.","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","description":"The date till which the api has to retrieve the data. By default considers the current date.","required":false,"type":"string","format":"date-time"},{"name":"request.reportType","in":"query","description":"default 1, can have one of the two values - 1 ‘Based on collections’, 2 ‘Based on sales’, 3 'Based on closing'","required":false,"type":"integer","format":"int32"},{"name":"request.status","in":"query","description":"default 1, can have one of the three values - 1 ‘Open’, 2 ‘Closed’, 3 ‘All’","required":false,"type":"integer","format":"int32"},{"name":"request.employeeId","in":"query","description":"Employee for which the Split Tips are to be retrieved. This parameter is optional.","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetTipsResponse"}}},"deprecated":false}},"/api/Employees/CheckScheduleConflicts":{"get":{"tags":["EmployeesApi"],"summary":"URL: api/Employees/CheckScheduleConflicts    GET \r\n            Checks for Instructor and Room Conflicts while creating/updating schedule(s).","operationId":"EmployeesApi_CheckInstructorandRoomConflicts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.scheduleIds","in":"query","required":false,"type":"string"},{"name":"request.startTime","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endTime","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.instructorId","in":"query","required":false,"type":"string"},{"name":"request.roomId","in":"query","required":false,"type":"string"},{"name":"request.isRecurring","in":"query","required":false,"type":"boolean"},{"name":"request.classDuration","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.recurrenceStartTime","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.recurrenceEndTime","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.recurrenceType","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.frequency","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.numOccurrences","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.weekDays","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CheckConflictsResponse"}}},"deprecated":false}},"/api/Employees/{EmployeeId}/Copy":{"post":{"tags":["EmployeesApi"],"summary":"To Copy one Employee properties to other Employees","description":"Use this api to copy properties from employee to employee\r\n             <br /><b>Groups</b>        &gt;&gt; General = 1, Roles = 2, Services = 4, Service_and_ServiceCommissions = 8, ProductCommissions = 16, MembershipCommissions = 32, Commissions = 64\r\n             <br /><b>Level</b>         &gt;&gt; Shallow Copy = 1, Deep Copy = 2\r\n             <br /><b>Mode</b>          &gt;&gt; LeftOnly = 1, AllLeft =2 , SyncLeft=3\r\n             <br /><b>ToEmployeeIds</b> &gt;&gt; List of employee ids\r\n             <br /><br /><b>Sample JSON</b><br /> {\r\n             <br /> \"Mode\": 2,\r\n             <br /> \"Level\": 2,\r\n             <br /> \"Groups\": 3, -- General and Roles\r\n             <br /> \"ToEmployeeIds\": [\r\n             <br /> \"080a8d2f-8d3b-41ae-a689-bbf41db34be6\",\"fff0e369-e816-4ce2-9873-298ecb8bb3be\"\r\n             <br /> ]\r\n             <br /> }","operationId":"EmployeesApi_CopyEmployee","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"EmployeeId","in":"path","description":"EmployeeId from which you want to copy properties","required":true,"type":"string"},{"name":"request","in":"body","description":"Pameters to Copy","required":true,"schema":{"$ref":"#/definitions/CopyEmployeeRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CopyEmployeeResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}":{"get":{"tags":["GuestsApi"],"summary":"Get guest details","operationId":"GuestsApi_GetGuest","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","description":"The guest Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetGuestResponse"}}},"deprecated":false}},"/api/Guests/Search":{"get":{"tags":["GuestsApi"],"summary":"Search guests in or across centers based on passed string","operationId":"GuestsApi_SearchGuests","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.searchValue","in":"query","required":false,"type":"string"},{"name":"request.count","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SearchGuestsResponse"}}},"deprecated":false}},"/api/Guests/Add":{"post":{"tags":["GuestsApi"],"summary":"Adds a new guest in the system for the specified center","operationId":"GuestsApi_AddGuest","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The center for which guest has to be created and basic guest details","required":true,"schema":{"$ref":"#/definitions/AddGuestRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddGuestResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/Memberships":{"get":{"tags":["GuestsApi"],"summary":"Get List Of memberships the user has bought","operationId":"GuestsApi_GetMemberships","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","required":true,"type":"string"},{"name":"request.guestId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.invoiceId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetUserMembershipsResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/Packages":{"get":{"tags":["GuestsApi"],"summary":"Get List Of memberships the user has bought","operationId":"GuestsApi_GetPackages","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","required":true,"type":"string"},{"name":"request.guestId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.invoiceId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetUserPackagesResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/CreditCardsOnFile":{"get":{"tags":["GuestsApi"],"summary":"Gets the credit cards on file for a guest","operationId":"GuestsApi_GetCreditCardsOnFile","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","required":true,"type":"string"},{"name":"request.guestId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCreditCardsOnFileResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/RemoveCreditCardOnFile/{PaymentAccountId}":{"delete":{"tags":["GuestsApi"],"summary":"Removes the credit card on file for a user.","operationId":"GuestsApi_RemoveCreditCardOnFile","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","description":"The guest id for which the card needs to be removed.","required":true,"type":"string"},{"name":"PaymentAccountId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RemoveCreditCardOnFileResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/IssuesAndNotifications":{"get":{"tags":["GuestsApi"],"summary":"Get List Of Issues and notification for the user","operationId":"GuestsApi_GetIssuesAndNotifications","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","required":true,"type":"string"},{"name":"request.guestId","in":"query","required":false,"type":"string"},{"name":"request.pageSize","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.pageNum","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.option","in":"query","required":false,"type":"string","enum":["Issues","Notification"]}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetIssuesAndNotificationsResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/LoyaltyPrograms":{"get":{"tags":["GuestsApi"],"summary":"Get List Of loyalty Points for the user","operationId":"GuestsApi_GetLoyaltyPrograms","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","required":true,"type":"string"},{"name":"request.guestId","in":"query","required":false,"type":"string"},{"name":"request.invoiceId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetLoyaltyProgramsResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/CustomData":{"get":{"tags":["GuestsApi"],"summary":"Gets the custom data for guest","description":"Requires View or Edit permission on GuestCustomData object","operationId":"GuestsApi_GetGuestCustomData","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","description":"The Id for guest","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetGuestCustomDataResponse"}}},"deprecated":false}},"/api/Guests/CustomData":{"post":{"tags":["GuestsApi"],"summary":"Sets the guest's custom data","description":"Requires Edit permission on GuestCustomData object","operationId":"GuestsApi_SetGuestCustomData","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request object with Guest Id and custom fields to be set","required":true,"schema":{"$ref":"#/definitions/SetGuestCustomDataRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetGuestCustomDataResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/Checkin":{"get":{"tags":["GuestsApi"],"summary":"URL: api/Guests/{GuestId}/Checkin    GET\r\n            This API checks if the user can \"sign in\" to a center\r\n            if Guest Visit tracking is not enabled at the center, this API returns an error\r\n            if the guest has signed-in in the past X minutes, where X is defined at the center level, this API returns the string \"Signed-in\"\r\n            if the guest has not purchased any membership which includes the \"Visits\" benefit, the API returns error\r\n            in all other cases the API returns the string \"Sign In\"","operationId":"GuestsApi_GetGuestCheckin","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","description":"","required":true,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetGuestCheckinResponse"}}},"deprecated":false},"post":{"tags":["GuestsApi"],"summary":"URL: api/Guests/{GuestId}/Checkin    POST\r\n            This API is used in self-checkin by a guest and does the following:\r\n            if request.IsCheckinToCenter = true, it marks this as a visit to the center by the guest\r\n            if request.SessionIds is not null, it signs-in the guest to the sessions identified by the SessionIds string\r\n            if request.AppointmentGroupIds is not null, it signs-in the guest to the appointments (services) identified by the AppointmentGroupIds string","operationId":"GuestsApi_CheckinToCenter","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","description":"","required":true,"type":"string"},{"name":"request","in":"body","description":"CheckinToCenterRequest object which contains\r\n            CenterId of the center where the guest should be signed in should be passed\r\n            IsCheckinToCenter - bool - if true guest will be marked as visiting a center\r\n            SessionIds - string - comma separated string of SessionIds to which the guest should be signed-in\r\n            AppointmentGroupIds - string - comma separated string of AppointmentGroupIds to which the guest should be signed-in","required":true,"schema":{"$ref":"#/definitions/CheckinToCenterRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CheckinToCenterResponse"}}},"deprecated":false}},"/api/Guests/Admin/{GuestId}/Checkin":{"get":{"tags":["GuestsApi"],"summary":"URL: api/Guests/Admin/{GuestId}/Checkin    GET\r\n            This API checks if the user can \"sign in\" to a center\r\n            if Guest Visit tracking is not enabled at the center, this API returns an error\r\n            if the guest has signed-in in the past X minutes, where X is defined at the center level, this API returns the string \"Signed-in\"\r\n            if the guest has not purchased any membership which includes the \"Visits\" benefit, the API returns error\r\n            in all other cases the API returns the string \"Sign In\"","operationId":"GuestsApi_GetGuestCheckinForAdmin","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","description":"","required":true,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetGuestCheckinResponse"}}},"deprecated":false}},"/api/Guests/{GuestCode}/Guests":{"get":{"tags":["GuestsApi"],"summary":"URL: api/Guests/{GuestCode}/Guests    GET\r\n            This API gets the basic details of a user based on UserCode or Membership Code of the user","operationId":"GuestsApi_GetGuestDetailsByCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestCode","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetGuestDetailsByCodeResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/Notes":{"get":{"tags":["GuestsApi"],"summary":"Api to get the checkin and appointment notes of the guests.","operationId":"GuestsApi_GetNotes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","description":"Guest Id for which th notes is to be sent","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetNotesResponse"}}},"deprecated":false},"post":{"tags":["GuestsApi"],"summary":"Adds notes for a guest","operationId":"GuestsApi_AddNotes","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","description":"The Guest Id","required":true,"type":"string"},{"name":"request","in":"body","description":"request containing the note details including type of note, text and whether it is an alert or a private note","required":true,"schema":{"$ref":"#/definitions/AddNotesRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddNotesResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/Notes/{NoteId}":{"delete":{"tags":["GuestsApi"],"summary":"Removes a guest note","operationId":"GuestsApi_RemoveNotes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","description":"Guest Id","required":true,"type":"string"},{"name":"NoteId","in":"path","description":"Note Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RemoveNotesResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/UpcomingAppointments":{"get":{"tags":["GuestsApi"],"summary":"To get the list of future bookings for a guest.","description":"Requires the guest to be authenticated or the role to have guest appointments view","operationId":"GuestsApi_UpcomingAppointments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","description":"GuestId","required":true,"type":"string"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetUpcomingAppointmentsResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/PastAppointments":{"get":{"tags":["GuestsApi"],"summary":"To get the list of past bookings for a guest.","description":"Requires the guest to be authenticated or the role to have guest appointments view","operationId":"GuestsApi_PastAppointments","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","required":true,"type":"string"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetPastAppointmentsResponse"}}},"deprecated":false}},"/api/Guests/Login":{"post":{"tags":["GuestsApi"],"summary":"Autorizes guest and respons with basic guest details and web session id","operationId":"GuestsApi_Login","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"Username and password","required":true,"schema":{"$ref":"#/definitions/GetLoginRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetLoginResponse"}}},"deprecated":false}},"/api/Guests/ForgotPassword":{"post":{"tags":["GuestsApi"],"summary":"Fires the forgot password notification for the given email/phone/username","operationId":"GuestsApi_ForgotPassword","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"Send either Phone/Email/Username in the request","required":true,"schema":{"$ref":"#/definitions/GetForgotPasswordRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetForgotPasswordResponse"}}},"deprecated":false}},"/api/Guests/Logout":{"post":{"tags":["GuestsApi"],"summary":"Logs out the current guest, given the websession id","operationId":"GuestsApi_Logout","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"request contains the websession id to be expired","required":true,"schema":{"$ref":"#/definitions/GetLogoutRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetLogoutResponse"}}},"deprecated":false}},"/api/Guests/SendOtp":{"post":{"tags":["GuestsApi"],"summary":"Sends OTP to the given email/phone","operationId":"GuestsApi_SendOtp","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"EMail or phone","required":true,"schema":{"$ref":"#/definitions/GetSendOtpRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetSendOtpResponse"}}},"deprecated":false}},"/api/Guests/VerifyOtp":{"post":{"tags":["GuestsApi"],"operationId":"GuestsApi_VerifyOtp","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/GetVerifyOtpRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetVerifyOtpResponse"}}},"deprecated":false}},"/api/Guests/{GuestId}/Points":{"get":{"tags":["GuestsApi"],"summary":"Gets the list of LP Tier of a guest","operationId":"GuestsApi_Points","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"GuestId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetPointsResponse"}}},"deprecated":false}},"/api/ImportExport/{Import}/{ImportType}":{"post":{"tags":["ImportExportApi"],"summary":"Queue a file for import","operationId":"ImportExportApi_SubmitImportByImportType","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"Import","in":"path","description":"","required":true,"type":"string"},{"name":"ImportType","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ImportUploadResult"}}},"deprecated":false}},"/api/ImportExport/Import/Status":{"get":{"tags":["ImportExportApi"],"summary":"Get the status of all the imports submitted by the current user","operationId":"ImportExportApi_GetImportStatus","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetImportStatusResponse"}}},"deprecated":false}},"/api/ImportExport/Import/{ImportId}/Status":{"get":{"tags":["ImportExportApi"],"summary":"Get the status of imports submitted by the current user for a given import id","operationId":"ImportExportApi_GetImportStatusByImportId","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ImportId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetImportStatusByImportIdResponse"}}},"deprecated":false}},"/api/ImportExport/Import/{ImportId}/CancelImport":{"put":{"tags":["ImportExportApi"],"summary":"Cancel an import that was queued by the current user","operationId":"ImportExportApi_CancelImport","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ImportId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StopImportResponse"}}},"deprecated":false}},"/api/ImportExport/Import/{ImportId}/Logs":{"get":{"tags":["ImportExportApi"],"summary":"Download log file for the given import id if it is processed","operationId":"ImportExportApi_GetLogFile","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ImportId","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/api/Inventory/PurchaseOrders/{CenterId}":{"get":{"tags":["InventoryApi"],"summary":"","operationId":"InventoryApi_GetInvoiceItems","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","required":true,"type":"string"},{"name":"request.centerId","in":"query","description":"Center for which the Purchase Orders are retrieved. This parameter is mandatory.","required":false,"type":"string"},{"name":"request.startDate","in":"query","description":"The date from which the api has to retrieve the data. By default considers the current date.","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","description":"The date till which the api has to retrieve the data. By default considers the current date.","required":false,"type":"string","format":"date-time"},{"name":"request.showDeliveryDetails","in":"query","description":"default ‘false’, returns only PO details. When this is true, PO includes the details of delivery as well.","required":false,"type":"boolean"},{"name":"request.dateCriteria","in":"query","description":"default 2, can have one of the three values - 1 ‘raised’, 2 ‘completed’, 3 ‘delivered’","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetPurchaseOrderResponse"}}},"deprecated":false}},"/api/Invoices/{InvoiceId}":{"get":{"tags":["InvoicesApi"],"summary":"To Get the Appointment Details for the Invoice Id","description":"Requires either Therapist role or Add, Edit or Readonly permission on Appointments object","operationId":"InvoicesApi_GetInvoice","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"InvoiceId","in":"path","description":"InvoiceId(Guid)","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetAppointmentGroupResponse"}}},"deprecated":false}},"/api/Invoices/Checkout":{"post":{"tags":["InvoicesApi"],"summary":"Checkout the guest and get ready for payment on invoice","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_Checkout","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The invoice id","required":true,"schema":{"$ref":"#/definitions/CheckoutRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CheckoutResponse"}}},"deprecated":false}},"/api/Invoices/ApplyDiscount":{"post":{"tags":["InvoicesApi"],"summary":"Applies a campaign or a manual discount amount on the invoice","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_ApplyDiscount","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The amount to discount or the campaign to apply","required":true,"schema":{"$ref":"#/definitions/ApplyDiscountRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ApplyDiscountResponse"}}},"deprecated":false}},"/api/Invoices/InitiatePaymentCreditCard":{"post":{"tags":["InvoicesApi"],"summary":"Initiates credit card payment. Returns order id and gateway settings","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_InitiatePaymentCreditCard","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The invoice id, amount and tip amount","required":true,"schema":{"$ref":"#/definitions/InitiatePaymentCreditCardRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/InitiatePaymentCreditCardResponse"}}},"deprecated":false}},"/api/Invoices/AddPayment":{"post":{"tags":["InvoicesApi"],"summary":"Adds a payment to the invoice via a specified payment mode","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_AddPayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The payment that is being added","required":true,"schema":{"$ref":"#/definitions/AddPaymentRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddPaymentResponse"}}},"deprecated":false}},"/api/Invoices/{InvoiceId}/AddCashPayment":{"post":{"tags":["InvoicesApi"],"summary":"Adds a payment to the invoice via a specified payment mode","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_AddCashPayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"InvoiceId","in":"path","required":true,"type":"string"},{"name":"request","in":"body","description":"The payment that is being added","required":true,"schema":{"$ref":"#/definitions/AddCashPaymentRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddCashPaymentResponse"}}},"deprecated":false}},"/api/Invoices/{InvoiceId}/AddCustomPayment":{"post":{"tags":["InvoicesApi"],"summary":"Adds a payment to the invoice via a specified payment mode","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_AddCustomPayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"InvoiceId","in":"path","required":true,"type":"string"},{"name":"request","in":"body","description":"The payment that is being added","required":true,"schema":{"$ref":"#/definitions/AddCustomPaymentRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddCustomPaymentResponse"}}},"deprecated":false}},"/api/Invoices/AddPaymentCreditCard":{"post":{"tags":["InvoicesApi"],"summary":"Adds a credit card payment to the invoice. The payment is received by the App\r\n             and forwarded to the API","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_AddPaymentCreditCard","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"data","in":"body","description":"The raw gateway response from payment provider","required":true,"schema":{"$ref":"#/definitions/AddPaymentCreditCardRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddPaymentCreditCardResponse"}}},"deprecated":false}},"/api/Invoices/AddPaymentSavedCard":{"post":{"tags":["InvoicesApi"],"summary":"Charges a credit card on file with the appropriate amount and returns updated invoice","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_AddPaymentSavedCard","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The card id to charge along with invoice and amount","required":true,"schema":{"$ref":"#/definitions/AddPaymentSavedCardRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddPaymentSavedCardResponse"}}},"deprecated":false}},"/api/Invoices/Refund":{"post":{"tags":["InvoicesApi"],"summary":"Refund items in an invoice, choosing the payment modes for refund.\r\n             For each mode, the maximum amount that can be refunded is limited by the original charge","description":"Requires either Add, Edit or ServiceRefund permission on Appointments object","operationId":"InvoicesApi_Refund","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The refund request containing refund items, amount and mode for refund","required":true,"schema":{"$ref":"#/definitions/RefundRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RefundResponse"}}},"deprecated":false}},"/api/Invoices/PayworksWebHook":{"post":{"tags":["InvoicesApi"],"summary":"Payworks  web hook to receive transaction success or failure events","operationId":"InvoicesApi_PayworksWebHook","consumes":["application/json","text/json","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"data","in":"body","description":"The post body of the transaction","required":true,"schema":{"$ref":"#/definitions/Object"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/api/Invoices/ApplyCoupon":{"post":{"tags":["InvoicesApi"],"summary":"Applies a coupon to the invoice","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_ApplyCoupon","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The coupon number to be applied","required":true,"schema":{"$ref":"#/definitions/ApplyCouponRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ApplyCouponResponse"}}},"deprecated":false}},"/api/Invoices/AdjustPrice":{"post":{"tags":["InvoicesApi"],"summary":"Adjusts the invoice item sale price or discount value.","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_AdjustPrice","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The invoice item id, adjusted sale price, discount value and authority details.","required":true,"schema":{"$ref":"#/definitions/AdjustPriceRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AdjustPriceResponse"}}},"deprecated":false}},"/api/Invoices/Close":{"post":{"tags":["InvoicesApi"],"summary":"Closes the invoice","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_CloseInvoice","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request with invoice details","required":true,"schema":{"$ref":"#/definitions/InvoiceCloseRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/InvoiceCloseResponse"}}},"deprecated":false}},"/api/Invoices/ReOpen":{"post":{"tags":["InvoicesApi"],"summary":"Reopens the invoice","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_ReOpenInvoice","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request with invoice details","required":true,"schema":{"$ref":"#/definitions/InvoiceReOpenRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/InvoiceReOpenResponse"}}},"deprecated":false}},"/api/Invoices/Add":{"post":{"tags":["InvoicesApi"],"summary":"To update the appointmentGroup details","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_AddInvoice","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"Appointment Group Details with the services to be updated.","required":true,"schema":{"$ref":"#/definitions/AddInvoiceRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddInvoiceResponse"}}},"deprecated":false}},"/api/Invoices/Update":{"post":{"tags":["InvoicesApi"],"summary":"Update the Invoice after adding more products or items to it","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_UpdateInvoice","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The invoice with updated items. Force flag skips certain checks and auto-assigns values such as therapist, etc.","required":true,"schema":{"$ref":"#/definitions/UpdateInvoiceRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UpdateInvoiceResponse"}}},"deprecated":false}},"/api/Invoices/ApplyMembership":{"post":{"tags":["InvoicesApi"],"summary":"Applies the membership from the invoice","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_ApplyMembership","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request with invoice details","required":true,"schema":{"$ref":"#/definitions/ApplyMembershipRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ApplyMembershipResponse"}}},"deprecated":false}},"/api/Invoices/ApplyPackage":{"post":{"tags":["InvoicesApi"],"summary":"Applies the Packages from an invoice","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_ApplyPackage","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request with invoice details","required":true,"schema":{"$ref":"#/definitions/ApplyPackagesRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ApplyPackagesResponse"}}},"deprecated":false}},"/api/Invoices/ApplyLoyaltyPoints":{"post":{"tags":["InvoicesApi"],"summary":"Applies the loyalty points from an invoice","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_ApplyLoyaltyPoints","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request with invoice details","required":true,"schema":{"$ref":"#/definitions/ApplyLoyaltyPointsRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ApplyLoyaltyPointsResponse"}}},"deprecated":false}},"/api/Invoices/ApplyGiftCard":{"post":{"tags":["InvoicesApi"],"summary":"Applies the loyalty points from an invoice","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_ApplyGiftCard","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request with invoice details","required":true,"schema":{"$ref":"#/definitions/ApplyGiftCardRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ApplyGiftCardResponse"}}},"deprecated":false}},"/api/Invoices/UnapplyMembership":{"post":{"tags":["InvoicesApi"],"summary":"Unapplies the membership from the invoice","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_UnapplyMembership","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request with invoice details","required":true,"schema":{"$ref":"#/definitions/UnapplyMembershipRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UnapplyMembershipResponse"}}},"deprecated":false}},"/api/Invoices/Item/UnapplyMembership":{"post":{"tags":["InvoicesApi"],"summary":"Unapplies the membership from the invoice","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_UnapplyMembershipPerItem","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request with invoice details","required":true,"schema":{"$ref":"#/definitions/UnapplyItemMembershipRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UnapplyItemMembershipResponse"}}},"deprecated":false}},"/api/Invoices/UnapplyPackage":{"post":{"tags":["InvoicesApi"],"summary":"Unapplies the Packages from an invoice","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_UnapplyPackage","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request with invoice details","required":true,"schema":{"$ref":"#/definitions/UnapplyPackagesRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UnapplyPackagesResponse"}}},"deprecated":false}},"/api/Invoices/UnapplyLoyaltyPoints":{"post":{"tags":["InvoicesApi"],"summary":"Unapplies the loyalty points from an invoice","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_UnapplyLoyaltyPoints","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request with invoice details","required":true,"schema":{"$ref":"#/definitions/UnapplyLoyaltyPointsRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UnapplyLoyaltyPointsResponse"}}},"deprecated":false}},"/api/Invoices/UnapplyGiftCard":{"post":{"tags":["InvoicesApi"],"summary":"Unapplies the gift card from the invoice","operationId":"InvoicesApi_UnapplyGiftCard","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"request for the invoice to remove the gift card payment from","required":true,"schema":{"$ref":"#/definitions/UnapplyGiftCardRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UnapplyGiftCardResponse"}}},"deprecated":false}},"/api/Invoices/SendReceiptMail":{"post":{"tags":["InvoicesApi"],"summary":"Applies the Packages from an invoice","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_SendReceiptMail","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The request with invoice details","required":true,"schema":{"$ref":"#/definitions/SendReceiptMailRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SendReceiptMailResponse"}}},"deprecated":false}},"/api/Invoices/SaveCardOnFile":{"post":{"tags":["InvoicesApi"],"summary":"Takes the card token from payment gateway and maps it with the guest\r\n             to create a card on file.","description":"Requires either Therapist role or Add or Edit permission on Appointments object","operationId":"InvoicesApi_SaveCardOnFile","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The card token as received from the payment provider","required":true,"schema":{"$ref":"#/definitions/SaveCardOnFileRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SaveCardOnFileResponse"}}},"deprecated":false}},"/api/Invoices/Search":{"get":{"tags":["InvoicesApi"],"summary":"To fetch the invoice Summary Details for a center","description":"Requires either Therapist role or Add, Edit or Readonly permission on Appointments object","operationId":"InvoicesApi_SearchInvoices","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.searchValue","in":"query","required":false,"type":"string"},{"name":"request.pageNum","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.pageSize","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SearchInvoicesResponse"}}},"deprecated":false}},"/api/Invoices/{InvoiceId}/EmployeeTips":{"get":{"tags":["InvoicesApi"],"summary":"Function to get the Employee tips for an invoice","description":"Requires either Therapist role or Add, Edit or Readonly permission on Appointments object","operationId":"InvoicesApi_GetEmployeeTips","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"InvoiceId","in":"path","description":"Invoice Id to fetch the tips for","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetEmployeeTipsResponse"}}},"deprecated":false}},"/api/Invoices/ApplyTips":{"post":{"tags":["InvoicesApi"],"summary":"Function to apply the employee tips.","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_ApplyTips","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"required params","required":true,"schema":{"$ref":"#/definitions/ApplyTipsRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ApplyTipsResponse"}}},"deprecated":false}},"/api/Invoices/SaveEmployeeTips":{"post":{"tags":["InvoicesApi"],"summary":"Function to apply the employee tips.","description":"Requires either Add or Edit permission on Appointments object","operationId":"InvoicesApi_ApplyTips","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"required params","required":true,"schema":{"$ref":"#/definitions/ApplyTipsRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ApplyTipsResponse"}}},"deprecated":false}},"/api/Invoices/RemovePayment":{"post":{"tags":["InvoicesApi"],"summary":"Removes a payment with cash or custom only from the invoice","operationId":"InvoicesApi_RemovePayment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"request parameters signifying the invoice to remove from","required":true,"schema":{"$ref":"#/definitions/RemovePaymentRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RemovePaymentResponse"}}},"deprecated":false}},"/api/Invoices/RemovePaymentCreditCard":{"post":{"tags":["InvoicesApi"],"summary":"Removes a payment with credit card from the invoice","operationId":"InvoicesApi_RemovePaymentCreditCard","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"request parameters signifying the invoice to remove from","required":true,"schema":{"$ref":"#/definitions/RemovePaymentCreditCardRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RemovePaymentCreditCardResponse"}}},"deprecated":false}},"/api/Invoices/RelatedTransactions/{TransactionId}":{"get":{"tags":["InvoicesApi"],"summary":"Returns the related card transactions for the given transaction Id","operationId":"InvoicesApi_GetRelatedTransactions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"TransactionId","in":"path","description":"Transaction Id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RelatedTransactionsResponse"}}},"deprecated":false}},"/api/Invoices/{InvoiceId}/SSG":{"post":{"tags":["InvoicesApi"],"summary":"Updates the SSG related to a particular Invoice","operationId":"InvoicesApi_UpdateSSG","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"InvoiceId","in":"path","description":"Invoice id for which the ssg has to be updated.","required":true,"type":"string"},{"name":"request","in":"body","description":"request paramters deciding rhe ssg to be updated","required":true,"schema":{"$ref":"#/definitions/UpdateSSGRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UpdateSSGResponse"}}},"deprecated":false}},"/api/Memberships":{"get":{"tags":["MembershipsApi"],"summary":"Gets the memberships for the user in that center","operationId":"MembershipsApi_GetMemberships","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.guestId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.showInCatalog","in":"query","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetMembershipsResponse"}}},"deprecated":false}},"/api/Memberships/{VersionId}":{"get":{"tags":["MembershipsApi"],"operationId":"MembershipsApi_GetMembershipDetails","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"VersionId","in":"path","required":true,"type":"string"},{"name":"request.guestId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.showInCatalog","in":"query","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetMembershipsDetailsResponse"}}},"deprecated":false}},"/api/Organizations/Tags":{"get":{"tags":["OrganizationsApi"],"operationId":"OrganizationsApi_GetAvailableTags","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.classId","in":"query","required":false,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetAvailableTagsResponse"}}},"deprecated":false}},"/api/Organizations/CustomPaymentData":{"get":{"tags":["OrganizationsApi"],"summary":"Gets the custom payment options in the system","operationId":"OrganizationsApi_GetCustomPaymentData","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCustomPaymentDataResponse"}}},"deprecated":false}},"/api/Organizations/{AccountName}/Pod":{"get":{"tags":["OrganizationsApi"],"summary":"Gets the POD url associated with the account","operationId":"OrganizationsApi_GetPodDetails","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"AccountName","in":"path","description":"Organization's Account Name","required":true,"type":"string"},{"name":"Password","in":"query","description":"Password to access POD details","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetPodDetailsResponse"}}},"deprecated":false}},"/api/Organizations/{IdOrAccountName}":{"get":{"tags":["OrganizationsApi"],"summary":"Gets the details of organization associated with account name","operationId":"OrganizationsApi_GetOrganizationDetails","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"IdOrAccountName","in":"path","description":"Organization Id or Account Name","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetOrganizationDetailsResponse"}}},"deprecated":false}},"/api/Organizations/GiftTypes":{"get":{"tags":["OrganizationsApi"],"summary":"Gets the Gift Types","operationId":"OrganizationsApi_GetGiftTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetGiftTypesResponse"}}},"deprecated":false}},"/api/Organizations/IsGiftCardAvailable":{"get":{"tags":["OrganizationsApi"],"summary":"Checks if the gift card is already sold or not for the organization.","operationId":"OrganizationsApi_IsGiftCardAvailable","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"giftCardCode","in":"query","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/IsGiftCardAvailableResponse"}}},"deprecated":false}},"/api/Organizations/GuestSettings":{"get":{"tags":["OrganizationsApi"],"operationId":"OrganizationsApi_GetGuestSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetOrganizationGuestSettingsResponse"}}},"deprecated":false}},"/api/Organizations/InvoiceSettings":{"get":{"tags":["OrganizationsApi"],"operationId":"OrganizationsApi_GetInvoiceSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetOrganizationInvoiceSettingsResponse"}}},"deprecated":false}},"/api/Organizations/GeneralSettings":{"get":{"tags":["OrganizationsApi"],"operationId":"OrganizationsApi_GetGeneralSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetOrganizationGeneralSettingsResponse"}}},"deprecated":false}},"/api/Organizations/ReferralSources":{"get":{"tags":["OrganizationsApi"],"summary":"Get all referral sources supported by the organization","operationId":"OrganizationsApi_GetReferralSources","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/ReferralSourceModel"}}}},"deprecated":false}},"/api/Organizations/GetBusinessUnits":{"get":{"tags":["OrganizationsApi"],"summary":"This method returns the business units in an organization","operationId":"OrganizationsApi_GetBusinessUnits","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetBusinessUnitsResponse"}}},"deprecated":false}},"/api/Organizations/Reasons":{"get":{"tags":["OrganizationsApi"],"summary":"This method reurns the reasons for the cancellation","operationId":"OrganizationsApi_GetReasons","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.object","in":"query","required":false,"type":"string","enum":["Membership","TurnAway","Appointment"]},{"name":"request.action","in":"query","required":false,"type":"string","enum":["Cancel"]}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetReasonsResponse"}}},"deprecated":false}},"/api/Packages":{"get":{"tags":["PackagesApi"],"summary":"Gets the Day/Promo Packages","operationId":"PackagesApi_GetPackages","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.appointmentDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.type","in":"query","required":false,"type":"string","enum":["DayPackage","SeriesPackage","PromoPackage"]}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetPackagesResponse"}}},"deprecated":false}},"/api/Packages/Services":{"get":{"tags":["PackagesApi"],"summary":"Gets the Services for Day/Promo Packages","operationId":"PackagesApi_GetPackageServices","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.packageId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetPackageServicesResponse"}}},"deprecated":false}},"/api/Products/Categories":{"get":{"tags":["ProductsApi"],"summary":"Gets the product categories","operationId":"ProductsApi_GetProductCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetProductCategoriesResponse"}}},"deprecated":false}},"/api/Products":{"get":{"tags":["ProductsApi"],"summary":"Gets the products available in a center, based on requested page number and page size","operationId":"ProductsApi_GetProducts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.categoryId","in":"query","required":false,"type":"string"},{"name":"request.pageNum","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.pageSize","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetProductsResponse"}}},"deprecated":false}},"/api/Products/Search":{"get":{"tags":["ProductsApi"],"summary":"Searches products by a given text in product name","operationId":"ProductsApi_SearchProducts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.searchValue","in":"query","required":false,"type":"string"},{"name":"request.barCode","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SearchProductsResponse"}}},"deprecated":false}},"/api/Products/MasterList/{OrganizationId}":{"get":{"tags":["ProductsApi"],"summary":"Gets the products available in a organization, based on requested page number and page size","operationId":"ProductsApi_GetProductsMasterList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"OrganizationId","in":"path","required":true,"type":"string"},{"name":"request.organizationId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetProductMasterListResponse"}}},"deprecated":false}},"/api/Revenues/InvoiceItem/{CenterId}":{"get":{"tags":["RevenuesApi"],"summary":"Gets the revenue for the invoice items in the center","operationId":"RevenuesApi_GetInvoiceItems","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"CenterId","in":"path","required":true,"type":"string"},{"name":"request.centerId","in":"query","description":"Center for which the Revenue has to be retrieved. This parameter is mandatory","required":false,"type":"string"},{"name":"request.startDate","in":"query","description":"The date from which the api has to retrieve the data. By default considers the current date.","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","description":"The date till which the api has to retrieve the data. By default considers the current date.","required":false,"type":"string","format":"date-time"},{"name":"request.itemType","in":"query","description":"The type of items for which the api has to return the data. By default gives the revenue for all types of items. -1: all other item types,7-Prepaid card","required":false,"type":"integer","format":"int32"},{"name":"request.membershipType","in":"query","description":"Specify for the kind of memberships for which the revenue is to be retrieved. -1 :all 0:non recurring 1:recurring. By default it gives data for all.","required":false,"type":"integer","format":"int32"},{"name":"request.includeExpiredPackageRevenue","in":"query","description":"Specify if the api has to consider the revenue from the expired packages or not. If not specified api considers the value configured for the Organization.","required":false,"type":"boolean"},{"name":"request.considerRefunds","in":"query","description":"Should the api consider the refunds while retrieving the revenue","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetRevenueInvoiceItemResponse"}}},"deprecated":false}},"/api/Services/Categories":{"get":{"tags":["ServicesApi"],"summary":"Gets the service categories","operationId":"ServicesApi_GetServiceCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.parentCategoryId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetServiceCategoriesResponse"}}},"deprecated":false}},"/api/Services":{"get":{"tags":["ServicesApi"],"summary":"Gets the services available in a center, based on requested page number and page size","operationId":"ServicesApi_GetServices","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.categoryId","in":"query","required":false,"type":"string"},{"name":"request.pageNum","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.pageSize","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetServicesResponse"}}},"deprecated":false},"post":{"tags":["ServicesApi"],"summary":"Adds a new service in the system for the specified center","operationId":"ServicesApi_AddService","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The parameters to create the service","required":true,"schema":{"$ref":"#/definitions/AddServiceRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddServiceResponse"}}},"deprecated":false}},"/api/Services/Admin":{"get":{"tags":["ServicesApi"],"summary":"Gets the services available in a center, based on requested page number and page size","operationId":"ServicesApi_GetServices","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.categoryId","in":"query","required":false,"type":"string"},{"name":"request.pageNum","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.pageSize","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetServicesResponse"}}},"deprecated":false},"post":{"tags":["ServicesApi"],"summary":"Adds a new service in the system for the specified center","operationId":"ServicesApi_AddService","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"The parameters to create the service","required":true,"schema":{"$ref":"#/definitions/AddServiceRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddServiceResponse"}}},"deprecated":false}},"/api/Services/Search":{"get":{"tags":["ServicesApi"],"summary":"Searches services by a given text in service name","operationId":"ServicesApi_SearchServices","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.searchValue","in":"query","required":false,"type":"string"},{"name":"request.preference","in":"query","required":false,"type":"string","enum":["Any","Female","Male","Specific","Multiple"]},{"name":"request.therapistId","in":"query","required":false,"type":"string"},{"name":"request.includeDayPackages","in":"query","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SearchServicesResponse"}}},"deprecated":false}},"/api/Services/Admin/{ServiceId}":{"get":{"tags":["ServicesApi"],"summary":"Get Details for the Service id provided","operationId":"ServicesApi_GetServiceDetail","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ServiceId","in":"path","description":"ServiceId for fetching the service details","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetServiceDetailResponse"}}},"deprecated":false},"post":{"tags":["ServicesApi"],"summary":"Updates the service in the system for the specified center","operationId":"ServicesApi_UpdateService","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ServiceId","in":"path","description":"Service Id to update the service","required":true,"type":"string"},{"name":"request","in":"body","description":"Params to update the service","required":true,"schema":{"$ref":"#/definitions/UpdateServiceRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UpdateServiceResponse"}}},"deprecated":false}},"/api/Services/{ServiceId}/Prices":{"get":{"tags":["ServicesApi"],"summary":"Get Prices for the Service id provided","operationId":"ServicesApi_GetServicePrices","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ServiceId","in":"path","required":true,"type":"string"},{"name":"request.serviceId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetServicePricesResponse"}}},"deprecated":false}},"/api/Services/{ServiceId}/Therapists":{"get":{"tags":["ServicesApi"],"summary":"Get Rooms for the Service id provided","operationId":"ServicesApi_GetTherapistsForService","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ServiceId","in":"path","required":true,"type":"string"},{"name":"request.serviceId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetTherapistsForServiceResponse"}}},"deprecated":false}},"/api/Services/{ServiceId}/Rooms":{"get":{"tags":["ServicesApi"],"summary":"Get Rooms for the Service id provided","operationId":"ServicesApi_GetRoomsForService","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ServiceId","in":"path","required":true,"type":"string"},{"name":"request.serviceId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.therapistId","in":"query","required":false,"type":"string"},{"name":"request.startTime","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.appointmentId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetRoomsForServiceResponse"}}},"deprecated":false}},"/api/Services/Admin/{ServiceId}/Rooms":{"get":{"tags":["ServicesApi"],"summary":"Get Rooms for the Service id provided","operationId":"ServicesApi_GetRoomsForService","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ServiceId","in":"path","required":true,"type":"string"},{"name":"request.serviceId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetAdminRoomsForServiceResponse"}}},"deprecated":false}},"/api/Services/{ServiceId}/Equipments":{"get":{"tags":["ServicesApi"],"summary":"Get Equipments for the Service id provided","operationId":"ServicesApi_GetEquipmentsForService","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ServiceId","in":"path","required":true,"type":"string"},{"name":"request.serviceId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.appointmentId","in":"query","required":false,"type":"string"},{"name":"request.roomId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetEquipmentsForServiceResponse"}}},"deprecated":false}},"/api/Services/Admin/{ServiceId}/Equipments":{"get":{"tags":["ServicesApi"],"summary":"Get Equipments for the Service id provided","operationId":"ServicesApi_GetEquipmentsForService","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ServiceId","in":"path","required":true,"type":"string"},{"name":"request.serviceId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetAdminEquipmentsForServiceResponse"}}},"deprecated":false}},"/api/Services/{ServiceId}/AddOns":{"get":{"tags":["ServicesApi"],"summary":"Gets AddOns for the service in a center","operationId":"ServicesApi_GetAddOns","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ServiceId","in":"path","description":"Service id for whicht he add ons is to be fetched.","required":true,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetAddOnsResponse"}}},"deprecated":false}},"/api/Services/{ServiceId}":{"post":{"tags":["ServicesApi"],"summary":"Updates the service in the system for the specified center","operationId":"ServicesApi_UpdateService","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ServiceId","in":"path","description":"Service Id to update the service","required":true,"type":"string"},{"name":"request","in":"body","description":"Params to update the service","required":true,"schema":{"$ref":"#/definitions/UpdateServiceRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UpdateServiceResponse"}}},"deprecated":false}},"/api/Classes":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes    GET \r\n            Gets all classes of the organization corresponding to the search and paging parameters supplied as input.","operationId":"TrainingClassesApi_GetClasses","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.className","in":"query","required":false,"type":"string"},{"name":"request.expandedPaths","in":"query","required":false,"type":"string"},{"name":"request.showInCatalog","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.selectedDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetClassesResponse"}}},"deprecated":false},"post":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes    POST \r\n            This method adds a new Class or updates the existing class based on the given input","operationId":"TrainingClassesApi_SetTrainingClass","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"SetTrainingClassRequest object \r\n            In add mode, atleast Name and Code should be passed\r\n                    Name                Type        Optional?   Format      Description\r\n                    Id                  number      optional                To insert a new class, pass Id as null. To update an existing class, pass the Id of the class to be updated\r\n                    Name                 string     optional                Name of the class to be saved\r\n                    Description          string     optional                Description of the class to be saved\r\n                    HtmlDescription      string     optional                Html Desccription of the class to be saved\r\n                    CategoryId           number     optional                The key of the category under which this class should be saved\r\n                    LevelFK              number     optional                Key of the Class Level (beginner, Intermediate, Advanced etc)\r\n                    Code                 string     optional                Class Code\r\n                    RegistrationNotes    string     optional                Registration Notes\r\n                    AllowNoshowFee       bool       optional                whether no show should be charged\r\n                    AllowCancellationFee bool       optional                whether cancellation should be charged\r\n                    BusinessUnitId       number     optional                Business unit of the class \r\n                    Capacity             number     optional                Class Capacity\r\n                    WaitlistLockWindow   number     optional\r\n                    InternalCost         decimal    optional\r\n                    DurationInMins       number     optional                Class Duration\r\n                    AllowDirectBooking   bool       optional\r\n                    ClassStartDate       DATE       optional                Class Start Date\r\n                    ClassEndDate         DATE       optional                Class End Date\r\n                    AllowFreeSession     bool       optional\r\n                    EnableEnrollment     bool       optional\r\n                    CommissionModel      int        optional               Should be one of -1,1,2,3,4,5\r\n                    CommissionDetails    object     optional               If commissionmodel is any value other than -1, the following attributes should be passed as part of CommissionDetails\r\n                    Rate                 decimal    optional               \r\n                    BonusMinGuests       number     optional               Minimum number of guests needed to qualify for bonus amount\r\n                    BonusPerGuest        decimal    optional               Bonus amount per guest - will be calculated for each guest after BonusMinGuests\r\n                    MinPay               decimal    optional               Minimum commission amount\r\n                    MaxPay               decimal    optional               Maximum commission amount\r\n                    List of IncrementalCommissionList object               If commissionmodel is 4 or 5, the following attributes should be passed as part of IncrementalCommissionList\r\n                    MinGuests            number     optional\r\n                    MaxGuests            number     optional\r\n                    BonusMinGuests       int        optional\r\n                    Rate                 decimal    optional\r\n                    TagList              object     optional                contains the following attributes\r\n                    Id                   Guid       optional                Id of the classes tag       \r\n                    IsAssociated         int        optional                0 to remove the tag association to the class, 1 to add the tag association to the class","required":true,"schema":{"$ref":"#/definitions/SetTrainingClassRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetTrainingClassResponse"}}},"deprecated":false}},"/api/Classes/ExportClasses":{"post":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/ExportClasses    GET \r\n            Exports the classes data to XLS or CSV formats based on input.","operationId":"TrainingClassesApi_ExportClasses","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.format","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.className","in":"query","required":false,"type":"string"},{"name":"request.expandedPaths","in":"query","required":false,"type":"string"},{"name":"request.showInCatalog","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.selectedDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}},"/api/Classes/{ClassId}":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}    GET \r\n            Gets all the properties of a class whose ID is passed as parameter","operationId":"TrainingClassesApi_GetClassDetails","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","description":"","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetClassDetailsResponse"}}},"deprecated":false},"delete":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/    DELETE \r\n            This API deletes a class","operationId":"TrainingClassesApi_RemoveClass","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","description":"","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RemoveClassResponse"}}},"deprecated":false}},"/api/Classes/Categories":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/Categories    GET \r\n            This method returns the subcategories for a given Parent Category ID. If Parent CategoryID is not supplied, it returns all the parent categories","operationId":"TrainingClassesApi_GetCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.parentCategoryId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.centerId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetCategoriesResponse"}}},"deprecated":false},"post":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/Categories    POST \r\n            This method adds a new Training category or updates the existing category based on the given input","operationId":"TrainingClassesApi_SetTrainingCategory","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"SetTrainingCategoryRequest object \r\n                    Name                Type    Optional?   Format      Description\r\n                    Id                  number  optional                To insert a new category, pass Id as null. To update an existing category, pass the Id of the category to be updated\r\n                    Name                string  optional                Name of the category to be saved\r\n                    Description         string  optional                Description of the category to be saved\r\n                    HtmlDescription     string  optional                Html Desccription of the category to be saved\r\n                    ShowInCatalog       number  optional    {0,1}       This property of the category determines if the category would be seen in Catalog \r\n                    SortOrder           number  optional                Sort order of the category to be saved\r\n                    ParentCategoryId    number  optional                Parent Category Key of the category to be saved","required":true,"schema":{"$ref":"#/definitions/SetTrainingCategoryRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetTrainingCategoryResponse"}}},"deprecated":false}},"/api/Classes/{ClassId}/Instructors":{"post":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/Instructors    POST \r\n            Modifies the associations of Instructors to a class","operationId":"TrainingClassesApi_SetInstructors","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","required":true,"type":"integer","format":"int64"},{"name":"request","in":"body","description":"SetInstructorsRequest object\r\n                    Name                Type        Optional?   Format      Description\r\n                    ClassId             Number      No                      Class to which Instructors should be associated\r\n                    Instructors         List                                List of objects which contains the following attributes:\r\n                    Id                  Guid        No                      Instructor Id\r\n                    IsAssociated        Number      No          0,1         Use 0 to remove the instructor from the class and 1 to associate the instructor to the class","required":true,"schema":{"$ref":"#/definitions/SetInstructorsRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetInstructorsResponse"}}},"deprecated":false}},"/api/Classes/{ClassId}/Rooms":{"post":{"tags":["TrainingClassesApi"],"operationId":"TrainingClassesApi_SetRoom","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","required":true,"type":"integer","format":"int64"},{"name":"request","in":"body","required":true,"schema":{"$ref":"#/definitions/SetRoomRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetRoomResponse"}}},"deprecated":false}},"/api/Classes/TrainingLevels":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/TrainingLevels    GET \r\n            Gets all TrainingLevels of the organization corresponding to the paging parameters supplied as input.","operationId":"TrainingClassesApi_GetTrainingLevels","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetTrainingLevelsResponse"}}},"deprecated":false},"post":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/TrainingLevels    POST \r\n            This method adds a new Training Level or updates the existing Level based on the given input","operationId":"TrainingClassesApi_SetTrainingLevel","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"SetTrainingLevelRequest object \r\n                    Name                Type    Optional?   Format      Description\r\n                    Id                  number  optional                To insert a new Level, pass Id as null. To update an existing Level, pass the Id of the Training Level to be updated\r\n                    Code                string  optional                Code of the Level to be saved\r\n                    Name                string  optional                Name of the Level to be saved\r\n                    Description         string  optional                Description of the Level to be saved\r\n                    HtmlDescription     string  optional                Html Desccription of the Level to be saved\r\n                    SortOrder           number  optional                Sort order of the Level to be saved","required":true,"schema":{"$ref":"#/definitions/SetTrainingLevelRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetTrainingLevelResponse"}}},"deprecated":false}},"/api/Classes/Admin/TrainingLevels":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/Admin/TrainingLevels    GET \r\n            Gets all TrainingLevels of the organization corresponding to the paging parameters supplied as input for an Admin User.","operationId":"TrainingClassesApi_GetTrainingLevelsforAdmin","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetTrainingLevelsResponse"}}},"deprecated":false}},"/api/Classes/Admin/TrainingLevels/{TrainingLevelId}":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/Admin/TrainingLevels/{TrainingLevelId}   GET \r\n            Gets  TrainingLevel Details of a given TrainingLevel ID for an Admin User.","operationId":"TrainingClassesApi_GetTrainingLevelDetails","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"TrainingLevelId","in":"path","description":"","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetTrainingLevelDetailsResponse"}}},"deprecated":false}},"/api/Classes/TrainingLevels/{TrainingLevelId}":{"delete":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/TrainingLevels/{TrainingLevelId}   DELETE \r\n            This API deletes a TrainingLevel","operationId":"TrainingClassesApi_RemoveTrainingLevel","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"TrainingLevelId","in":"path","description":"","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/RemoveTrainingLevelResponse"}}},"deprecated":false}},"/api/Classes/DurationOptions":{"get":{"tags":["TrainingClassesApi"],"summary":"This method returns the class duration based on timeinterval defined at org level","operationId":"TrainingClassesApi_GetClassDurationOptions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetClassDurationOptionsResponse"}}},"deprecated":false}},"/api/Classes/{ClassId}/Catalog":{"post":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/Catalog    POST \r\n            Saves the Catalog Information corresponding to the Class","operationId":"TrainingClassesApi_SetCatalog","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","description":"number; the class whose catalog information needs to be saved","required":true,"type":"integer","format":"int64"},{"name":"request","in":"body","description":"SetCatalogRequest object \r\n                    Name                Type        Optional?   Format      Description\r\n                    ShowInCatalog       Number      No          {0,1)       \r\n                    DisplayName         string                              \r\n                    CatalogPrice        string      No                      \r\n                    WebCapacity         Number      No          \r\n                    ShowPrice           bool\r\n                    AllowWebBooking     bool\r\n                    ClassId             Number      No","required":true,"schema":{"$ref":"#/definitions/SetCatalogRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetCatalogResponse"}}},"deprecated":false}},"/api/Classes/{ClassId}/Centers":{"post":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}   SET \r\n            Adds/Removes the list of center associations for a class","operationId":"TrainingClassesApi_SetTrainingCenters","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","description":"Class Id for which the centers are to be associated/removed","required":true,"type":"integer","format":"int64"},{"name":"request","in":"body","description":"SetTrainingCentersRequest Object\r\n                    Name            Type    Optional?   Format      Description\r\n                    Id              GUID    No                      Id of the center to be associated/removed             \r\n                    IsAssociated    number  No          (0,1)       0 if the center is to be associated, 1 if the center is to be removed  \r\n                    Price           number  Yes                     Cost of the Class in the given center  \r\n                    IncludesTax     Boolean Yes                     Whether the Price include Tax\r\n                    CenterTaxId     GUID    Yes                     The Id of the Tax component associated with the center","required":true,"schema":{"$ref":"#/definitions/SetTrainingCentersRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetTrainingCentersResponse"}}},"deprecated":false}},"/api/Classes/{ClassId}/Image":{"post":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/Image   SET \r\n            Uploads image for a given class. The file name\r\n            should be of the format [Class GUID].[extension] of image","operationId":"TrainingClassesApi_UploadClassesImage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","description":"Class Id for which the image is to be uploaded","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/UploadClassImageResponse"}}},"deprecated":false}},"/api/Classes/{ClassId}/Images":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/Images   GET \r\n            this API gets the list of images uploaded for a class","operationId":"TrainingClassesApi_GetClassImages","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","description":"ClassId whose images need to be retrieved","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetClassImagesResponse"}}},"deprecated":false}},"/api/Classes/{ClassId}/PrimaryImage":{"post":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/Images   POST \r\n            this API sets or removes the primary image for a class","operationId":"TrainingClassesApi_SetClassImage","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","description":"","required":true,"type":"integer","format":"int64"},{"name":"request","in":"body","description":"SetClassImageRequest object which contains AssetId of the image which needs to be set as the primary image","required":true,"schema":{"$ref":"#/definitions/SetClassImageRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/SetClassImageResponse"}}},"deprecated":false}},"/api/Classes/Dashboard/FirstVisits":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/Dashboard/FirstVisits   GET \r\n            This API gets the First Visits metric for the dashboard","operationId":"TrainingClassesApi_GetDashboardFirstvisits","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.organizationId","in":"query","required":false,"type":"string"},{"name":"request.zoneId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetDashboardFirstvisitsResponse"}}},"deprecated":false}},"/api/Classes/Dashboard/Attendance":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/Dashboard/Attendance   GET \r\n            This API gets the Attendance metric for the dashboard","operationId":"TrainingClassesApi_GetDashboardAttendance","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.organizationId","in":"query","required":false,"type":"string"},{"name":"request.zoneId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetDashboardAttendanceResponse"}}},"deprecated":false}},"/api/Classes/Dashboard/FreeTrials":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/Dashboard/FreeTrials   GET \r\n            This API gets the Free Trials metric for the dashboard","operationId":"TrainingClassesApi_GetDashboardFreeTrials","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.organizationId","in":"query","required":false,"type":"string"},{"name":"request.zoneId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetDashboardFreeTrialsResponse"}}},"deprecated":false}},"/api/Classes/Dashboard/OnlineBookings":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/Dashboard/OnlineBookings   GET \r\n            This API gets the Online Bookings metric for the dashboard","operationId":"TrainingClassesApi_GetDashboardOnlineBookings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.organizationId","in":"query","required":false,"type":"string"},{"name":"request.zoneId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetDashboardOnlineBookingsResponse"}}},"deprecated":false}},"/api/Classes/Dashboard/CenterSales":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/Dashboard/CenterSales   GET \r\n            This API gets the Center Sales metric for the dashboard","operationId":"TrainingClassesApi_GetDashboardCenterSales","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetDashboadCenterSalesResponse"}}},"deprecated":false}},"/api/Classes/Dashboard/NewMembers":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/Dashboard/NewMembers   GET \r\n            This API gets the New members metric for the dashboard","operationId":"TrainingClassesApi_GetDashboardNewMembers","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetDashboardNewMembersResponse"}}},"deprecated":false}},"/api/Classes/{ClassId}/Schedules":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/Schedules    GET \r\n            Gets summary of schedules in a given center for a given class with paging parameters supplied as input. \r\n            If no filter on Status is applied, the summary consists of Single Schedules and Recurring schedules ( a single row with summary of the recurrence).\r\n            If filter on Status is applied, all the schedules(both single and recurring) in the requested status are displayed","operationId":"TrainingClassesApi_GetSchedulesSummary","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","description":"ClassId of Class for which sessions need to be retrieved.","required":true,"type":"integer","format":"int64"},{"name":"request.zoneId","in":"query","required":false,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.status","in":"query","required":false,"type":"string","enum":["Active","Cancelled","Upcoming","Inprogress","Completed"]},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetSchedulesSummaryResponse"}}},"deprecated":false},"put":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/Schedules    PUT \r\n            Updates schedules whose IDs as given as input.","operationId":"TrainingClassesApi_EditSchedules","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"EditScheduleRequest Request Object\r\n                    Name                    Type            Optional?   Format              Description\r\n                    CenterId                Guid              No                            Center Guid\r\n                    ScheduleType            Number            No       {0,1}                0 -Single, 1-Recurring             \r\n                    ScheduleIds             list              No                            List of scheduleids to be updated \r\n                    StartTime               Date             Yes                            Start Date \r\n                    EndTime                 Date             Yes                            End Date                         \r\n                    InstructorId            GUID             Yes                            InstructorID                         \r\n                    RoomId                  GUID             Yes                            RoomID                         \r\n                    Capacity                Number           Yes                            Schedule Capacity                         \r\n                    IsFreeSession           Boolean          Yes                            Whether the Session is free","required":true,"schema":{"$ref":"#/definitions/EditScheduleRequest"}},{"name":"ClassId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/EditScheduleResponse"}}},"deprecated":false},"post":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/Schedules    POST \r\n            Adds a new single or recurring schedule.","operationId":"TrainingClassesApi_SetSchedule","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","description":"","required":true,"type":"integer","format":"int64"},{"name":"request","in":"body","description":"AddScheduleRequest Request Object\r\n                    Name                    Type            Optional?   Format              Description\r\n                    CenterId                Guid             No                             Center Guid\r\n                    StartTime               Date             Yes                            Start Date \r\n                    EndTime                 Date             Yes                            End Date                         \r\n                    InstructorId            GUID             No                             InstructorID                         \r\n                    RoomId                  GUID             Yes                            RoomID                         \r\n                    Capacity                Number           Yes                            Schedule Capacity                         \r\n                    IsFreeSession           Boolean          Yes      Default is false      Whether the Session is free                         \r\n                    IsRecurring             Boolean          No                             Whether the Session is Recurring                         \r\n                    RecurrenceStartTime     Date             Yes                            Recurrence Start Date \r\n                    RecurrenceEndTime       Date             Yes                            Recurrence End Date                         \r\n                    RecurrenceType          Number           Yes         {1,2,3}            RecurrenceType(Daily = 1,Weekly = 2,Monthly = 3)\r\n                    Frequency               Number           Yes                            Frequency of the Recurring Session                         \r\n                    NumOccurrences          Number           Yes                            Total no. of occurences                         \r\n                    WeekDays                Number           Yes                            If RecurrenceType is weekly, the weekdays on which session is scheduled","required":true,"schema":{"$ref":"#/definitions/AddScheduleRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AddScheduleResponse"}}},"deprecated":false},"delete":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/Schedules}    DELETE \r\n            Deletes a session","operationId":"TrainingClassesApi_DeleteTrainingSession","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"ClassId","in":"path","required":true,"type":"string"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.recurrenceId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.scheduleIds","in":"query","required":false,"type":"array","items":{"type":"integer","format":"int64"},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DeleteScheduleResponse"}}},"deprecated":false}},"/api/Classes/{ClassId}/{RecurrenceId}/Schedules":{"get":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/{RecurrenceId}/Schedules    GET \r\n            Gets list of recurring schedules for a given recurrence id.","operationId":"TrainingClassesApi_GetRecurrences","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"RecurrenceId","in":"path","description":"gets all the sessions for the recurrence of a given RecurrenceId","required":true,"type":"integer","format":"int64"},{"name":"ClassId","in":"path","required":true,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.status","in":"query","required":false,"type":"string","enum":["Active","Cancelled","Upcoming","Inprogress","Completed"]}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetRecurrencesResponse"}}},"deprecated":false}},"/api/Classes/{ClassId}/Schedules/Cancel":{"post":{"tags":["TrainingClassesApi"],"summary":"URL: /api/Classes/{ClassId}/Schedules/Cancel}    HttpPost \r\n            Cancels a session","operationId":"TrainingClassesApi_CancelTrainingSession","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded","text/html"],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request","in":"body","description":"CenterId - Center Id\r\n            RecurrenceId -  Recurrence Id to be cancelled\r\n            ScheduleIds - List of Schedule IDs to be cancelled","required":true,"schema":{"$ref":"#/definitions/CancelScheduleRequest"}},{"name":"ClassId","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CancelScheduleResponse"}}},"deprecated":false}},"/api/TrainingSchedules":{"get":{"tags":["TrainingSchedulesApi"],"summary":"URL: /api/TrainingSchedules    GET \r\n            Gets all sessions of a class corresponding to the search and paging parameters supplied as input.","operationId":"TrainingSchedulesApi_GetTrainingSchedules","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.className","in":"query","required":false,"type":"string"},{"name":"request.expandedPaths","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.classId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.showInCatalog","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.status","in":"query","required":false,"type":"string","enum":["Active","Cancelled","Upcoming","Inprogress","Completed"]},{"name":"request.recurrenceId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetTrainingSchedulesResponse"}}},"deprecated":false}},"/api/TrainingSchedules/{SessionId}":{"get":{"tags":["TrainingSchedulesApi"],"summary":"Get Details for the Session id provided","operationId":"TrainingSchedulesApi_GetTrainingSession","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"SessionId","in":"path","description":"sessionId for fetching the session details","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetTrainingSessionResponse"}}},"deprecated":false}},"/api/TrainingSchedules/SimpleTrainingSchedule":{"get":{"tags":["TrainingSchedulesApi"],"summary":"Returns the simmple response of searched training class","operationId":"TrainingSchedulesApi_GetSimpleTrainingSchedules","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","text/html"],"parameters":[{"name":"request.excludeInstructorIds","in":"query","required":false,"type":"string"},{"name":"request.excludeClassIds","in":"query","required":false,"type":"string"},{"name":"request.excludeCategoryIds","in":"query","required":false,"type":"string"},{"name":"request.excludeRoomIds","in":"query","required":false,"type":"string"},{"name":"request.registrationId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.sessionId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.centerId","in":"query","required":false,"type":"string"},{"name":"request.className","in":"query","required":false,"type":"string"},{"name":"request.expandedPaths","in":"query","required":false,"type":"string"},{"name":"request.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.endDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"request.classId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.showInCatalog","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.status","in":"query","required":false,"type":"string","enum":["Active","Cancelled","Upcoming","Inprogress","Completed"]},{"name":"request.recurrenceId","in":"query","required":false,"type":"integer","format":"int64"},{"name":"request.page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.size","in":"query","required":false,"type":"integer","format":"int32"},{"name":"request.sorters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"},{"name":"request.filters","in":"query","required":false,"type":"array","items":{},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetSimpleTrainingSchedulesResponse"}}},"deprecated":false}}},"definitions":{"GetAppointmentsRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"Status":{"enum":["NoShow","Cancelled","New","Closed","Checkin","Confirm","Break","NotSpecified"],"type":"string"}}},"GetAppointmentsResponse":{"type":"object","properties":{"Appointments":{"type":"array","items":{"$ref":"#/definitions/AppointmentModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AppointmentModel":{"type":"object","properties":{"GI":{"description":"Group Id","type":"string"},"Inv":{"type":"string"},"AI":{"type":"string"},"SN":{"type":"string"},"ST":{"format":"date-time","type":"string"},"ET":{"format":"date-time","type":"string"},"Sta":{"enum":["NoShow","Cancelled","New","Closed","Checkin","Confirm","Break","NotSpecified"],"type":"string"},"AS":{"enum":["Website","Webstore","MobileApp","Take5App","MobilePos"],"type":"string"},"IL":{"type":"boolean"},"GuI":{"type":"string"},"GFN":{"type":"string"},"GLN":{"type":"string"},"GP":{"type":"string"},"GID":{"type":"string"},"EI":{"type":"string"},"EFN":{"type":"string"},"ELN":{"type":"string"},"EG":{"enum":["Any","Female","Male","Specific","Multiple"],"type":"string"},"Cat":{"type":"string"},"SC":{"type":"string"},"SCD":{"type":"string"},"ASI":{"type":"string"},"Not":{"type":"string"},"Price":{"$ref":"#/definitions/PriceModel"},"GPC":{"format":"int32","type":"integer"},"EVI":{"type":"string"},"Pro":{"enum":["NotStarted","Started","Completed"],"type":"string"}}},"ApiResponseError":{"type":"object","properties":{"StatusCode":{"format":"int32","type":"integer"},"Message":{"type":"string"}}},"PriceModel":{"type":"object","properties":{"CurrencyId":{"format":"int32","type":"integer"},"Sales":{"format":"double","type":"number"},"Tax":{"format":"double","type":"number"},"Final":{"format":"double","type":"number"},"Final1":{"format":"double","type":"number"},"Discount":{"format":"double","type":"number"},"Tip":{"format":"double","type":"number"},"SSG":{"format":"double","type":"number"},"RoundingCorrection":{"format":"double","type":"number"}}},"SearchAppointmentsRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"SearchValue":{"type":"string"},"GuestId":{"type":"string"},"PageNum":{"format":"int32","type":"integer"},"PageSize":{"format":"int32","type":"integer"}}},"SearchAppointmentsResponse":{"type":"object","properties":{"Appointments":{"type":"array","items":{"$ref":"#/definitions/AppointmentModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetAppointmentGroupResponse":{"type":"object","properties":{"AppointmentGroup":{"$ref":"#/definitions/AppointmentGroupModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AppointmentGroupModel":{"type":"object","properties":{"AppointmentGroupId":{"type":"string"},"InvoiceId":{"type":"string"},"IsRebooking":{"type":"boolean"},"Notes":{"type":"string"},"Guest":{"$ref":"#/definitions/GuestModel"},"IsNoShowChargeToBeApplied":{"type":"boolean"},"IsCancellationChargeToBeApplied":{"type":"boolean"},"IsPaymentOrRedemptionApplied":{"type":"boolean"},"AppointmentServices":{"type":"array","items":{"$ref":"#/definitions/AppointmentServiceModel"}},"AppointmentProducts":{"type":"array","items":{"$ref":"#/definitions/AppointmentProductModel"}},"AppointmentMemberships":{"type":"array","items":{"$ref":"#/definitions/AppointmentMembershipModel"}},"AppointmentSeriesPackages":{"type":"array","items":{"$ref":"#/definitions/AppointmentSeriesPackageModel"}},"AppointmentGiftCards":{"type":"array","items":{"$ref":"#/definitions/AppointmentGiftCardModel"}}}},"GuestModel":{"type":"object","properties":{"Id":{"type":"string"},"Code":{"type":"string"},"FirstName":{"type":"string"},"MiddleName":{"type":"string"},"LastName":{"type":"string"},"Email":{"type":"string"},"MobileNumber":{"type":"string"},"MobilePhoneModel":{"$ref":"#/definitions/PhoneModel"},"HomePhone":{"type":"string"},"HomePhoneModel":{"$ref":"#/definitions/PhoneModel"},"Gender":{"enum":["Any","Female","Male","Specific","Multiple"],"type":"string"},"DateOfBirth":{"format":"date-time","type":"string"},"AnniversaryDate":{"format":"date-time","type":"string"},"Address1":{"type":"string"},"Address2":{"type":"string"},"City":{"type":"string"},"PostalCode":{"type":"string"},"State":{"$ref":"#/definitions/StateModel"},"Country":{"$ref":"#/definitions/CountryModel"},"Nationality":{"$ref":"#/definitions/CountryModel"},"ReferralSource":{"$ref":"#/definitions/ReferralSourceModel"},"ReceiveTransactionalEmail":{"type":"boolean"},"ReceiveTransactionalSms":{"type":"boolean"},"ReceiveMarketingEmail":{"type":"boolean"},"ReceiveMarketingSms":{"type":"boolean"},"CreationDate":{"format":"date-time","type":"string"},"LastUpdated":{"format":"date-time","type":"string"},"MergeIntoCode":{"type":"string"},"MergeIntoGuestId":{"type":"string"},"CenterCode":{"type":"string"},"GuestIndicator":{"type":"string"}}},"AppointmentServiceModel":{"type":"object","properties":{"AppointmentId":{"type":"string"},"InvoiceItemId":{"type":"string"},"CartItemId":{"type":"string"},"Service":{"$ref":"#/definitions/ServiceModel"},"RequestedTherapistGender":{"enum":["Any","Female","Male","Specific","Multiple"],"type":"string"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"Room":{"$ref":"#/definitions/RoomModel"},"Equipment":{"$ref":"#/definitions/EquipmentModel"},"Status":{"enum":["NoShow","Cancelled","New","Closed","Checkin","Confirm","Break","NotSpecified"],"type":"string"},"RequestedTherapist":{"$ref":"#/definitions/TherapistModel"},"Quantity":{"format":"int32","type":"integer"},"Price":{"$ref":"#/definitions/PriceModel"},"SCD":{"type":"string"},"ActualStartTime":{"format":"date-time","type":"string"},"CompletedTime":{"format":"date-time","type":"string"},"Progress":{"enum":["NotStarted","Started","Completed"],"type":"string"},"ParentAppointmentId":{"type":"string"}}},"AppointmentProductModel":{"type":"object","properties":{"Product":{"$ref":"#/definitions/ProductModel"},"InvoiceItemId":{"type":"string"},"Quantity":{"format":"int32","type":"integer"},"Price":{"$ref":"#/definitions/PriceModel"},"Employee":{"$ref":"#/definitions/TherapistModel"}}},"AppointmentMembershipModel":{"type":"object","properties":{"Membership":{"$ref":"#/definitions/MembershipModel"},"InvoiceItemId":{"type":"string"},"Employee":{"$ref":"#/definitions/TherapistModel"},"Quantity":{"format":"int32","type":"integer"},"Price":{"$ref":"#/definitions/PriceModel"}}},"AppointmentSeriesPackageModel":{"type":"object","properties":{"Package":{"$ref":"#/definitions/PackageModel"},"InvoiceItemId":{"type":"string"},"Employee":{"$ref":"#/definitions/TherapistModel"},"Quantity":{"format":"int32","type":"integer"},"Price":{"$ref":"#/definitions/PriceModel"}}},"AppointmentGiftCardModel":{"type":"object","properties":{"GiftCard":{"$ref":"#/definitions/GiftCardModel"},"InvoiceItemId":{"type":"string"},"Employee":{"$ref":"#/definitions/TherapistModel"},"Quantity":{"format":"int32","type":"integer"},"Price":{"$ref":"#/definitions/PriceModel"}}},"PhoneModel":{"type":"object","properties":{"CountryId":{"format":"int32","type":"integer"},"Number":{"type":"string"},"DisplayNumber":{"type":"string"}}},"StateModel":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"ShortName":{"type":"string"}}},"CountryModel":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"PhoneCode":{"format":"int32","type":"integer"},"Nationality":{"type":"string"}}},"ReferralSourceModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"}}},"ServiceModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"Price":{"$ref":"#/definitions/PriceModel"},"Duration":{"format":"int32","type":"integer"},"CategoryId":{"type":"string"},"IsAddOn":{"type":"boolean"},"HasAddOns":{"type":"boolean"}}},"RoomModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"}}},"EquipmentModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"}}},"TherapistModel":{"type":"object","properties":{"Id":{"type":"string"},"ShortName":{"type":"string"},"FullName":{"type":"string"},"Email":{"type":"string"},"PhoneNumber":{"type":"string"},"MobilePhoneModel":{"$ref":"#/definitions/PhoneModel"},"Gender":{"enum":["Any","Female","Male","Specific","Multiple"],"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"IsAvailable":{"type":"boolean"},"VanityImageUrl":{"type":"string"}}},"ProductModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"Price":{"$ref":"#/definitions/PriceModel"},"CategoryId":{"type":"string"},"Url":{"type":"string"}}},"MembershipModel":{"type":"object","properties":{"Id":{"type":"string"},"VersionId":{"type":"string"},"Name":{"type":"string"},"Price":{"$ref":"#/definitions/PriceModel"},"CanBook":{"type":"boolean"},"ShowPrice":{"type":"boolean"},"DisplayName":{"type":"string"},"DisplayPrice":{"type":"string"},"ImagePaths":{"type":"object","additionalProperties":{"type":"string"}}}},"PackageModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"Description":{"type":"string"},"Code":{"type":"string"},"Type":{"enum":["DayPackage","SeriesPackage","PromoPackage"],"type":"string"},"Price":{"$ref":"#/definitions/PriceModel"}}},"GiftCardModel":{"type":"object","properties":{"Id":{"type":"string"},"Code":{"type":"string"},"Value":{"format":"double","type":"number"},"PurchasePrice":{"format":"double","type":"number"},"ValidityDays":{"format":"int32","type":"integer"},"IsOneTimeUse":{"type":"boolean"},"ExpiryDate":{"format":"date-time","type":"string"},"Notes":{"type":"string"},"GiftTypeId":{"type":"string"},"SendEmailToRecipient":{"type":"boolean"},"Price":{"$ref":"#/definitions/PriceModel"},"Recipient":{"$ref":"#/definitions/GuestModel"},"Services":{"$ref":"#/definitions/GiftCardServicesModel"}}},"GiftCardServicesModel":{"type":"object","properties":{"Services":{"type":"array","items":{"$ref":"#/definitions/ServiceModel"}}}},"SetAppointmentStatusRequest":{"type":"object","properties":{"AppointmentGroupId":{"type":"string"},"Status":{"enum":["NoShow","Cancelled","New","Closed","Checkin","Confirm","Break","NotSpecified"],"type":"string"}}},"SetAppointmentStatusResponse":{"type":"object","properties":{"IsAppointmentStatusSet":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Status":{"enum":["NoShow","Cancelled","New","Closed","Checkin","Confirm","Break","NotSpecified"],"type":"string"}}},"SetAppointmentProgressRequest":{"type":"object","properties":{"AppointmentId":{"type":"string"},"SegmentId":{"type":"string"},"Action":{"enum":["NotStarted","Started","Completed"],"type":"string"}}},"SetAppointmentProgressResponse":{"type":"object","properties":{"IsAppointmentProgressSet":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"AppointmentService":{"$ref":"#/definitions/AppointmentServiceModel"}}},"MarkAppointmentNoShowRequest":{"type":"object","properties":{"AppointmentGroupId":{"type":"string"},"Comments":{"type":"string"}}},"MarkAppointmentNoShowResponse":{"type":"object","properties":{"IsAppointmentStatusSet":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Status":{"enum":["NoShow","Cancelled","New","Closed","Checkin","Confirm","Break","NotSpecified"],"type":"string"},"IsNoShowChargeApplied":{"type":"boolean"}}},"CancelAppointmentRequest":{"type":"object","properties":{"AppointmentGroupId":{"type":"string"},"ReasonId":{"format":"int64","type":"integer"},"Comments":{"type":"string"}}},"CancelAppointmentResponse":{"type":"object","properties":{"IsAppointmentStatusSet":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Status":{"enum":["NoShow","Cancelled","New","Closed","Checkin","Confirm","Break","NotSpecified"],"type":"string"},"IsCancelChargeApplied":{"type":"boolean"}}},"AddAppointmentGroupRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"GuestId":{"type":"string"},"Services":{"type":"array","items":{"$ref":"#/definitions/AppointmentServiceModel"}},"Products":{"type":"array","items":{"$ref":"#/definitions/AppointmentProductModel"}},"Memberships":{"type":"array","items":{"$ref":"#/definitions/AppointmentMembershipModel"}},"SeriesPackages":{"type":"array","items":{"$ref":"#/definitions/AppointmentSeriesPackageModel"}},"DayPromoPackages":{"type":"array","items":{"$ref":"#/definitions/AppointmentDayPromoPackageModel"}},"GiftCards":{"type":"array","items":{"$ref":"#/definitions/AppointmentGiftCardModel"}},"Notes":{"type":"string"},"IsForced":{"type":"boolean"}}},"AppointmentDayPromoPackageModel":{"type":"object","properties":{"Package":{"$ref":"#/definitions/PackageModel"},"InvoiceItemId":{"type":"string"},"Services":{"type":"array","items":{"$ref":"#/definitions/AppointmentServiceModel"}}}},"AddAppointmentGroupResponse":{"type":"object","properties":{"IsAppointmentAdded":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"AppointmentGroup":{"$ref":"#/definitions/AppointmentGroupModel"},"CreditCardsOnFile":{"type":"array","items":{"$ref":"#/definitions/CreditCardOnFileModel"}}}},"CreditCardOnFileModel":{"type":"object","properties":{"Id":{"type":"string"},"CardBrand":{"enum":["Visa","MasterCard","Maestro","Amex","DinersClub","Discover","Beam","DebitCard","NetsNets","VisaElectron","Other"],"type":"string"},"CardType":{"enum":["CreditCard","DebitCard","Other"],"type":"string"},"LastFour":{"type":"string"},"ExpirationMonth":{"format":"int32","type":"integer"},"ExpirationYear":{"format":"int32","type":"integer"},"ExtParams":{"type":"string"}}},"UpdateAppointmentGroupRequest":{"type":"object","properties":{"AppointmentGroupId":{"type":"string"},"InvoiceId":{"type":"string"},"Services":{"type":"array","items":{"$ref":"#/definitions/AppointmentServiceModel"}},"Products":{"type":"array","items":{"$ref":"#/definitions/AppointmentProductModel"}},"Memberships":{"type":"array","items":{"$ref":"#/definitions/AppointmentMembershipModel"}},"SeriesPackages":{"type":"array","items":{"$ref":"#/definitions/AppointmentSeriesPackageModel"}},"DayPromoPackages":{"type":"array","items":{"$ref":"#/definitions/AppointmentDayPromoPackageModel"}},"GiftCards":{"type":"array","items":{"$ref":"#/definitions/AppointmentGiftCardModel"}},"Notes":{"type":"string"},"Time":{"format":"date-time","type":"string"},"IsForced":{"type":"boolean"}}},"UpdateAppointmentGroupResponse":{"type":"object","properties":{"IsAppointmentUpdated":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"AppointmentGroup":{"$ref":"#/definitions/AppointmentGroupModel"}}},"RebookAppointmentRequest":{"type":"object","properties":{"AppointmentGroupId":{"type":"string"},"InvoiceId":{"type":"string"},"Services":{"type":"array","items":{"$ref":"#/definitions/AppointmentServiceModel"}}}},"RebookAppointmentResponse":{"type":"object","properties":{"IsAppointmentRebooked":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"AppointmentGroup":{"$ref":"#/definitions/AppointmentGroupModel"}}},"GetAvailableSlotsRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"AppointmentGroupId":{"type":"string"},"AppointmentServices":{"type":"array","items":{"$ref":"#/definitions/AppointmentServiceModel"}},"GuestId":{"type":"string"}}},"GetAvailableSlotsResponse":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"},"OpenSlots":{"type":"array","items":{"format":"int32","type":"integer"}},"GuestBookedSlots":{"type":"array","items":{"format":"int32","type":"integer"}}}},"GetAvailableSlotsV2Request":{"type":"object","properties":{"CenterId":{"type":"string"},"AppointmentGroupId":{"type":"string"},"CenterDate":{"format":"date-time","type":"string"},"SlotBookings":{"type":"array","items":{"$ref":"#/definitions/SlotBooking"}}}},"SlotBooking":{"type":"object","properties":{"GuestId":{"type":"string"},"AppointmentGroupId":{"type":"string"},"Services":{"type":"array","items":{"$ref":"#/definitions/AppointmentServiceModel"}},"TherapistId":{"type":"string"},"RoomId":{"type":"string"},"Quantity":{"format":"int32","type":"integer"}}},"GetAvailableSlotsV2Response":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"},"OpenSlots":{"type":"array","items":{"$ref":"#/definitions/TimeSlot"}}}},"TimeSlot":{"type":"object","properties":{"Time":{"format":"date-time","type":"string"},"Warnings":{"type":"array","items":{"$ref":"#/definitions/SlotWarning"}},"Priority":{"format":"int32","type":"integer"}}},"SlotWarning":{"type":"object","properties":{"Type":{"enum":["TherapistDoubleBooked","TherapistOutsideSchedule","GuestDoubleBooked","RoomCapacityExceeded"],"type":"string"},"Message":{"type":"string"},"GuestId":{"type":"string"},"TherapistId":{"type":"string"},"ServiceId":{"type":"string"},"RoomId":{"type":"string"}}},"ReserveSlotsRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"CenterTime":{"format":"date-time","type":"string"},"SlotBookings":{"type":"array","items":{"$ref":"#/definitions/SlotBooking"}}}},"ReserveSlotsResponse":{"type":"object","properties":{"CenterId":{"type":"string"},"CenterTime":{"format":"date-time","type":"string"},"ReservationId":{"type":"string"},"ExpiryTime":{"format":"date-time","type":"string"},"SlotBookings":{"type":"array","items":{"$ref":"#/definitions/SlotBooking"}}}},"ConfirmReservationRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"ReservationId":{"type":"string"},"SlotBookings":{"type":"array","items":{"$ref":"#/definitions/SlotBooking"}}}},"ConfirmReservationResponse":{"type":"object","properties":{"CenterId":{"type":"string"},"IsBookingConfirmed":{"type":"boolean"},"ConfirmedBookings":{"type":"array","items":{"$ref":"#/definitions/SlotBooking"}}}},"GetMonthlyAppointmentsDatesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"Year":{"format":"int32","type":"integer"},"Month":{"format":"int32","type":"integer"}}},"GetMonthlyAppointmentsDatesResponse":{"type":"object","properties":{"MonthlyAppointmentDates":{"type":"array","items":{"$ref":"#/definitions/MonthlyAppointmentDatesModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"MonthlyAppointmentDatesModel":{"type":"object","properties":{"Date":{"format":"date-time","type":"string"},"HasAppointment":{"type":"boolean"}}},"GetAppointmentCustomDataResponse":{"type":"object","properties":{"success":{"type":"boolean"},"total":{"format":"int32","type":"integer"},"servicecustomdata":{"$ref":"#/definitions/Object"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"Object":{"type":"object","properties":{}},"GetCustomDataImageResponse":{"type":"object","properties":{"AssetId":{"type":"string"},"AssetUrl":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SetAppointmentCustomDataRequest":{"type":"object","properties":{"AppointmentId":{"type":"string"},"FieldValues":{"type":"array","items":{"$ref":"#/definitions/CustomField"}}}},"CustomField":{"type":"object","properties":{"FieldId":{"type":"string"},"FieldValueId":{"type":"string"},"FieldValue":{"type":"string"},"Type":{"type":"string"},"Annotations":{"type":"array","items":{"$ref":"#/definitions/Annotation"}}}},"Annotation":{"type":"object","properties":{"Value":{"type":"string"},"ValueType":{"type":"string"},"ShapeType":{"type":"string"},"ShapeX":{"format":"float","type":"number"},"ShapeY":{"format":"float","type":"number"},"ShapeWidth":{"format":"float","type":"number"},"ShapeHeight":{"format":"float","type":"number"}}},"SetAppointmentCustomDataResponse":{"type":"object","properties":{"success":{"type":"boolean"},"servicecustomdata":{"type":"array","items":{"$ref":"#/definitions/CustomField"}},"message":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"UploadCustomDataImageResponse":{"type":"object","properties":{"AssetId":{"type":"string"},"AssetUrl":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SetAppointmentNotesRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"Notes":{"type":"string"}}},"SetAppointmentNotesResponse":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SetAppointmentFeedbackRequest":{"type":"object","properties":{"AppointmentGroupId":{"type":"string"},"Comments":{"type":"string"},"Service":{"enum":["Poor","Average","Good","Excellent"],"type":"string"},"Ambience":{"enum":["Poor","Average","Good","Excellent"],"type":"string"},"Cleanliness":{"enum":["Poor","Average","Good","Excellent"],"type":"string"},"Therapist":{"enum":["Poor","Average","Good","Excellent"],"type":"string"},"Recommendation":{"type":"boolean"},"ShareFeedback":{"type":"boolean"}}},"SetAppointmentFeedbackResponse":{"type":"object","properties":{"IsAppointmentFeedbackSaved":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetUserRegistrationsRequest":{"type":"object","properties":{"UserId":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"CenterId":{"type":"string"},"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"Sorters":{"type":"object","properties":{"Property":{"type":"string"},"Ascending":{"type":"boolean"}}},"Filters":{"type":"object","properties":{"Property":{"type":"string"},"Value":{"type":"array","items":{"type":"string"}}}},"GetUserRegistrationsAdminResponse":{"type":"object","properties":{"Success":{"type":"boolean"},"results":{"type":"array","items":{"$ref":"#/definitions/RegistrationModel"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"RegistrationModel":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"SessionName":{"type":"string"},"RegistrationStatus":{"enum":["Registered","Cancelled","NoShow","SignedIn","Waitlisted","Substituted","ClassCancelled","Closed","Enrolled","Rejected"],"type":"string"},"SessionStatus":{"enum":["Active","Cancelled","Upcoming","Inprogress","Completed"],"type":"string"},"Instructor":{"type":"string"},"Center":{"type":"string"}}},"SetTrainingRegistrationRequest":{"type":"object","properties":{"SessionId":{"format":"int64","type":"integer"},"GuestId":{"type":"string"},"Notes":{"type":"string"},"Payment":{"$ref":"#/definitions/PaymentDetails"},"BookingSrc":{"enum":["Store","Mobile","Web"],"type":"string"},"RegistrationId":{"format":"int64","type":"integer"}}},"PaymentDetails":{"type":"object","properties":{"PaymentType":{"enum":["Cash","GiftCard","DiscoverCard","Membership","Maestro","Mastercard","CashBack","DebitCard","BCADebitCard","DinersCard","BCACreditCard","Visa","Amex","LoyaltyPoints","Custom","Check","PrepaidCard","Package"],"type":"string"},"PaymentInstrumentId":{"type":"string"},"Name":{"type":"string"}}},"SetTrainingRegistrationResponse":{"type":"object","properties":{"Success":{"type":"boolean"},"RegistrationId":{"format":"int64","type":"integer"},"RegistrationStatusId":{"format":"int64","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetUserRegistrationsResponse":{"type":"object","properties":{"Success":{"type":"boolean"},"results":{"type":"array","items":{"$ref":"#/definitions/RegistrationModelSimple"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"RegistrationModelSimple":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"SessionName":{"type":"string"},"RegistrationStatus":{"enum":["Registered","Cancelled","NoShow","SignedIn","Waitlisted","Substituted","ClassCancelled","Closed","Enrolled","Rejected"],"type":"string"},"SessionStatus":{"enum":["Active","Cancelled","Upcoming","Inprogress","Completed"],"type":"string"},"Instructor":{"type":"string"},"Center":{"type":"string"}}},"CancelTrainingRegistrationResponse":{"type":"object","properties":{"IsRegnCancelled":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AddOnServiceRequest":{"type":"object","properties":{"ServiceId":{"type":"string"}}},"AddOnServiceResponse":{"type":"object","properties":{"IsAddOnServiceAdded":{"type":"boolean"},"AddOnAppointmentId":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"RemoveAddOnServiceResponse":{"type":"object","properties":{"IsAddOnServiceRemoved":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"ZenotiMetricCategoryShortDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"}}},"ZenotiMetricShortDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"}}},"ZenotiMetricCategoryFullDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"ZenotiMetrics":{"type":"array","items":{"$ref":"#/definitions/ZenotiMetricDTO"}}}},"ZenotiMetricDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"MetricType":{"type":"string"},"ZenotiMetricCategoryId":{"format":"int32","type":"integer"},"HasTotal":{"type":"boolean"}}},"ZenotiFilterShortDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"IsMandatoryFilter":{"type":"boolean"}}},"ZenotiFilterValuesDTO":{"type":"object","properties":{"ZenotiFilterDTO":{"$ref":"#/definitions/ZenotiFilterDTO"},"FilterValues":{"type":"array","items":{"$ref":"#/definitions/FilterValueDTO"}}}},"ZenotiFilterDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"IsMandatoryFilter":{"type":"boolean"}}},"FilterValueDTO":{"type":"object","properties":{"Value":{"type":"string"},"DisplayName":{"type":"string"},"IsSelected":{"type":"boolean"}}},"ZenotiReportRowDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"}}},"ZenotiReportColumnDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"}}},"ZenotiGroupByDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"Attributes":{"type":"array","items":{"$ref":"#/definitions/ZenotiGroupByAttributes"}}}},"ZenotiGroupByAttributes":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"}}},"ZenotiReportParameterDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"ParameterName":{"type":"string"}}},"CustomMetricCategoryShortDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"}}},"CustomMetricCategoryFullDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"CustomMetrics":{"type":"array","items":{"$ref":"#/definitions/CustomMetricShortDTO"}}}},"CustomMetricShortDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"MetricType":{"type":"string"},"ZenotiMetricId":{"format":"int32","type":"integer"}}},"CustomMetricDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"ZenotiMetricDTO":{"$ref":"#/definitions/ZenotiMetricDTO"},"CustomMetricCategoryId":{"format":"int32","type":"integer"},"HasTotal":{"type":"boolean"},"OrganizationId":{"type":"string"},"CustomMetricFilters":{"type":"array","items":{"$ref":"#/definitions/CustomMetricFilterValuesDTO"}},"CustomMetricDrillDownShortDTO":{"type":"array","items":{"$ref":"#/definitions/CustomMetricDrillDownShortDTO"}}}},"CustomMetricFilterValuesDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"ZenotiFilterDTO":{"$ref":"#/definitions/ZenotiFilterDTO"},"FilterValues":{"type":"array","items":{"$ref":"#/definitions/FilterValueDTO"}}}},"CustomMetricDrillDownShortDTO":{"type":"object","properties":{"CustomMetricDrillDownId":{"format":"int32","type":"integer"},"DimFactAttributesId":{"format":"int32","type":"integer"},"CustomMetricId":{"format":"int32","type":"integer"},"DisplayOrder":{"format":"int32","type":"integer"},"FactDimId":{"format":"int32","type":"integer"},"IsFact":{"type":"boolean"},"IsActive":{"type":"boolean"},"FactDimSource":{"type":"string"},"DisplayName":{"type":"string"}}},"CustomReportShortDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"ReportCode":{"type":"string"},"DisplayOrder":{"format":"int32","type":"integer"},"IsActive":{"type":"boolean"},"HasReportSql":{"type":"boolean"}}},"CustomReportDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"ReportCode":{"type":"string"},"DisplayOrder":{"format":"int32","type":"integer"},"IsActive":{"type":"boolean"},"HasReportSql":{"type":"boolean"},"SubjectAreaID":{"format":"int32","type":"integer"},"OrganizationId":{"type":"string"},"CustomMetrics":{"type":"array","items":{"$ref":"#/definitions/CustomMetricShortDTO"}},"ReportRows":{"type":"array","items":{"$ref":"#/definitions/CustomReportRowDTO"}},"ReportColumns":{"type":"array","items":{"$ref":"#/definitions/CustomReportColumnDTO"}},"ReportParameters":{"type":"array","items":{"$ref":"#/definitions/ZenotiReportParameterDTO"}}}},"CustomReportRowDTO":{"type":"object","properties":{"CustomReportId":{"format":"int32","type":"integer"},"ZenotiReportRow":{"$ref":"#/definitions/ZenotiReportRowDTO"}}},"CustomReportColumnDTO":{"type":"object","properties":{"CustomReportId":{"format":"int32","type":"integer"},"ZenotiReportColumn":{"$ref":"#/definitions/ZenotiReportColumnDTO"}}},"CustomMetricDetails":{"type":"object","properties":{"zenotiFilterValuesDTOList":{"type":"array","items":{"$ref":"#/definitions/ZenotiFilterValuesDTO"}},"customMetricDTO":{"$ref":"#/definitions/CustomMetricDTO"},"zenotiFilterShortDTO":{"type":"array","items":{"$ref":"#/definitions/ZenotiFilterShortDTO"}},"customMetricDrillDownShortDTO":{"type":"array","items":{"$ref":"#/definitions/CustomMetricDrillDownShortDTO"}}}},"CustomReportParameterValueDTO":{"type":"object","properties":{"ReportParameter":{"$ref":"#/definitions/ZenotiReportParameterDTO"},"Value":{"type":"string"}}},"TransactionalDimFactAttrInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"HasTotal":{"type":"boolean"},"AttrType":{"type":"string"}}},"CustomMetricDrillDownDTO":{"type":"object","properties":{"CustomMetricId":{"format":"int32","type":"integer"},"CustomReportId":{"format":"int32","type":"integer"},"Value":{"type":"string"},"ReportParameters":{"type":"array","items":{"$ref":"#/definitions/CustomReportParameterValueDTO"}},"ReportRows":{"type":"array","items":{"$ref":"#/definitions/CustomReportRowValueDTO"}},"ReportColumns":{"type":"array","items":{"$ref":"#/definitions/CustomReportColumnValueDTO"}}}},"CustomReportRowValueDTO":{"type":"object","properties":{"CustomReportRow":{"$ref":"#/definitions/CustomReportRowDTO"},"Value":{"type":"string"}}},"CustomReportColumnValueDTO":{"type":"object","properties":{"CustomReportColumn":{"$ref":"#/definitions/CustomReportColumnDTO"},"Value":{"type":"string"}}},"DrilldownColumnsFull":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"IsFact":{"type":"boolean"},"DimFactAttrInfoList":{"type":"array","items":{"$ref":"#/definitions/DrilldownDimFactAttrInfo"}}}},"DrilldownDimFactAttrInfo":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"IsDefault":{"type":"boolean"}}},"TransactionalReportShortDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"ReportCode":{"type":"string"},"SubjectArea":{"type":"string"},"DisplayOrder":{"format":"int32","type":"integer"},"IsActive":{"type":"boolean"},"HasReportSql":{"type":"boolean"}}},"SubjectAreasDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"FactId":{"format":"int32","type":"integer"},"SubjectAreaName":{"type":"string"}}},"TransactionalReportsDTO":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"ReportCode":{"type":"string"},"DisplayOrder":{"format":"int32","type":"integer"},"IsActive":{"type":"boolean"},"HasReportSql":{"type":"boolean"},"SubjectAreaID":{"format":"int32","type":"integer"},"OrganizationId":{"type":"string"},"SubjectArea":{"$ref":"#/definitions/SubjectAreasDTO"},"TxnReportColumns":{"type":"array","items":{"$ref":"#/definitions/TransactionalReportColumnsDTO"}},"TxnReportParameters":{"type":"array","items":{"$ref":"#/definitions/ZenotiReportParameterDTO"}}}},"TransactionalReportColumnsDTO":{"type":"object","properties":{"TxnReportAttributesID":{"format":"int32","type":"integer"},"CustomReportId":{"format":"int32","type":"integer"},"AttrDisplayName":{"type":"string"},"DisplayOrder":{"format":"int32","type":"integer"},"DimFactAttributesId":{"format":"int32","type":"integer"},"AttrType":{"type":"string"},"HasTotal":{"type":"boolean"}}},"TransactionalColumnsFull":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"IsFact":{"type":"boolean"},"DimFactAttrInfoList":{"type":"array","items":{"$ref":"#/definitions/TransactionalDimFactAttrInfo"}}}},"GetCentersResponse":{"type":"object","properties":{"Centers":{"type":"array","items":{"$ref":"#/definitions/CenterModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CenterModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"Address":{"type":"string"},"Phone":{"type":"string"},"TimeZoneId":{"format":"int32","type":"integer"},"CurrencyId":{"format":"int32","type":"integer"},"SecurityRole":{"$ref":"#/definitions/EmployeeRoleModel"},"OrganizationName":{"type":"string"},"OrganizationLogoUrl":{"type":"string"},"Email":{"type":"string"}}},"EmployeeRoleModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"ScopeId":{"type":"string"},"Scope":{"enum":["Center","Zone","Organization","Universe"],"type":"string"},"OrgOrZoneOrCenterName":{"type":"string"},"CanAccessAdministratorMode":{"type":"boolean"},"CanAccessAppointmentBook":{"type":"boolean"},"CanViewGuestHistory":{"type":"boolean"},"CanViewServiceHistory":{"type":"boolean"},"Permissions":{"type":"array","items":{"$ref":"#/definitions/EmployeeRolePermissionModel"}}}},"EmployeeRolePermissionModel":{"type":"object","properties":{"ObjectName":{"type":"string"},"PermissionBitMask":{"format":"int32","type":"integer"}}},"GetCenterDetailsResponse":{"type":"object","properties":{"Center":{"$ref":"#/definitions/CenterModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetCenterSettingsResponse":{"type":"object","properties":{"Settings":{"$ref":"#/definitions/CenterSettings"},"PaymentGateway":{"$ref":"#/definitions/PaymentGatewayModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CenterSettings":{"type":"object","properties":{"Geofence":{"$ref":"#/definitions/Area"},"CreditCardEntryForAppointment":{"enum":["NotRequired","Warn","Required"],"type":"string"},"FinancialDataLockDate":{"format":"date-time","type":"string"},"FinancialDataLockDays":{"format":"int32","type":"integer"},"IsRoomMandatoryForAppointment":{"type":"boolean"},"IsMobileNumberMandatory":{"type":"boolean"},"PhoneNumberRange":{"type":"string"},"GuestMandatoryFields":{"type":"array","items":{"type":"string"}},"EnablePriceIncrease":{"type":"boolean"},"EnablePriceAdjustment":{"type":"boolean"},"TrackEmployeeForPayments":{"type":"boolean"},"EnforceSaleByProductsSale":{"type":"boolean"}}},"PaymentGatewayModel":{"type":"object","properties":{"Credentials":{"type":"object","additionalProperties":{"type":"string"}},"AvailableFor":{"type":"array","items":{"type":"string"}},"AVSSource":{"format":"int32","type":"integer"},"CanProcessorSaveCards":{"type":"boolean"},"CanRefund":{"type":"boolean"},"CanSaveCards":{"type":"boolean"},"CanVoid":{"type":"boolean"},"FormSubmitMethod":{"type":"string"},"ProcessorVersionId":{"type":"string"},"ProcessorId":{"type":"string"},"ShareCardsToWeb":{"type":"boolean"},"SupportsPaymentAccountUpdate":{"type":"boolean"},"Mode":{"enum":["Test","Live","Mock"],"type":"string"},"EnableAVS":{"type":"boolean"},"NotSupportedCardTypes":{"type":"array","items":{"enum":["Visa","MasterCard","Maestro","Amex","DinersClub","Discover","Beam","DebitCard","NetsNets","VisaElectron","Other"],"type":"string"}}}},"Area":{"type":"object","properties":{"Latitude":{"format":"double","type":"number"},"Longitude":{"format":"double","type":"number"},"Radius":{"format":"int32","type":"integer"}}},"CreateStripeAccountRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"AccountEmail":{"type":"string"},"AddressLine1":{"type":"string"},"AddressLine2":{"type":"string"},"City":{"type":"string"},"PostalCode":{"type":"string"},"ContactPhone":{"type":"string"},"EnablePayworks":{"type":"boolean"}}},"CreateStripeAccountResponse":{"type":"object","properties":{"StripeAccountId":{"type":"string"},"StripePublishableKey":{"type":"string"},"StatementDescriptorPrefix":{"type":"string"},"ApplicationFeePercent":{"format":"double","type":"number"},"TransactionFee":{"format":"double","type":"number"},"PayworksMerchantIdentifier":{"type":"string"},"PayworksMerchantSecretKey":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetCenterGuestSettingsResponse":{"type":"object","properties":{"Settings":{"$ref":"#/definitions/CenterGuestSettings"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CenterGuestSettings":{"type":"object","properties":{"IsRoomMandatoryForAppointment":{"type":"boolean"},"IsMobileNumberMandatory":{"type":"boolean"},"PhoneNumberLengthRange":{"type":"string"},"GuestMandatoryFields":{"type":"array","items":{"type":"string"}},"MembershipMandatoryFields":{"type":"array","items":{"type":"string"}},"SearchGuestAcrossCenters":{"type":"boolean"},"SearchGuestAcrossCentersByDefault":{"type":"boolean"},"CanReceiveTransactionalMessages":{"type":"boolean"},"CanReceiveMarketingMessages":{"type":"boolean"},"AllowDuplicateMobileNumbers":{"type":"boolean"}}},"GetCenterInvoiceSettingsResponse":{"type":"object","properties":{"Settings":{"$ref":"#/definitions/CenterInvoiceSettings"},"PaymentGateway":{"$ref":"#/definitions/PaymentGatewayModel"},"StripePaymentSignUpUrl":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CenterInvoiceSettings":{"type":"object","properties":{"EnablePriceIncreaseOnly":{"type":"boolean"},"EnablePriceAdjustment":{"type":"boolean"},"EnforceSaleByProductsSale":{"type":"boolean"},"EnableSplitTip":{"type":"boolean"},"EnableDiscountOnInvoice":{"type":"boolean"},"EnableDiscountAdjustment":{"type":"boolean"},"RequiresAuthenticationForDiscount":{"type":"boolean"},"DisplayTerminalAdvertisementUrl":{"type":"string"},"EnableDisplayTerminal":{"type":"boolean"},"EnableSSG":{"type":"boolean"},"TipSettings":{"$ref":"#/definitions/TipSettings"},"CashRegisters":{"type":"array","items":{"$ref":"#/definitions/CashRegisterModel"}},"GiftCardSettings":{"$ref":"#/definitions/GiftCardSettings"},"PrepaidCardSettings":{"$ref":"#/definitions/PrepaidCardSettings"},"LoyaltyPointsSettings":{"$ref":"#/definitions/LoyaltyPointSettings"},"MembershipSettings":{"$ref":"#/definitions/MembershipSettings"},"PackageSettings":{"$ref":"#/definitions/PackageSettings"},"PriceSettings":{"$ref":"#/definitions/PriceSettings"}}},"TipSettings":{"type":"object","properties":{"EnableTips":{"type":"boolean"},"EnableSplitTip":{"type":"boolean"},"SuggestedTip":{"$ref":"#/definitions/SuggestedTip"}}},"CashRegisterModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"IsDisplayTerminalEnabled":{"type":"boolean"}}},"GiftCardSettings":{"type":"object","properties":{"PriceAndValue":{"$ref":"#/definitions/GiftCardPriceAndValue"},"EnableSale":{"type":"boolean"}}},"PrepaidCardSettings":{"type":"object","properties":{"PriceAndValue":{"$ref":"#/definitions/PrepaidCardPriceAndValue"},"EnableSale":{"type":"boolean"}}},"LoyaltyPointSettings":{"type":"object","properties":{"MinPointsForRedemption":{"format":"double","type":"number"}}},"MembershipSettings":{"type":"object","properties":{"EnableSale":{"type":"boolean"}}},"PackageSettings":{"type":"object","properties":{"EnableSale":{"type":"boolean"}}},"PriceSettings":{"type":"object","properties":{"RoundingDecimals":{"format":"int32","type":"integer"}}},"SuggestedTip":{"type":"object","properties":{"Amount":{"format":"double","type":"number"},"IsPercent":{"type":"boolean"}}},"GiftCardPriceAndValue":{"type":"object","properties":{"AllowDifference":{"type":"boolean"},"RequiresAuthorization":{"type":"boolean"}}},"PrepaidCardPriceAndValue":{"type":"object","properties":{"AllowDifference":{"type":"boolean"},"RequiresAuthorization":{"type":"boolean"}}},"GetStripeSettingsResponse":{"type":"object","properties":{"StripeAccountId":{"type":"string"},"StripePublishableKey":{"type":"string"},"StatementDescriptorPrefix":{"type":"string"},"ApplicationFeePercent":{"format":"double","type":"number"},"TransactionFee":{"format":"double","type":"number"},"PayworksMerchantIdentifier":{"type":"string"},"PayworksMerchantSecretKey":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetCenterGeneralSettingsResponse":{"type":"object","properties":{"Settings":{"$ref":"#/definitions/CenterGeneralSettings"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CenterGeneralSettings":{"type":"object","properties":{"CenterEmail":{"type":"string"},"FinancialDataLockDate":{"format":"date-time","type":"string"},"FinancialDataLockDays":{"format":"int32","type":"integer"},"EnforceInactivityLogin":{"type":"boolean"},"TrackEmployeeForPayments":{"type":"boolean"},"EmployeeCodeMd5Hash":{"type":"string"},"CenterCodeMd5Hash":{"type":"string"},"Geofence":{"$ref":"#/definitions/Area"},"CreditCardEntryForAppointment":{"enum":["NotRequired","Warn","Required"],"type":"string"},"Labels":{"$ref":"#/definitions/CustomLabels"},"CenterCountryId":{"format":"int32","type":"integer"}}},"CustomLabels":{"type":"object","properties":{"SSGLabel":{"type":"string"},"TipsLabel":{"type":"string"},"TherapistLabel":{"type":"string"},"RelationshipManagerLabel":{"type":"string"},"PostalCodeLabel":{"type":"string"},"PhysicalBillLabel":{"type":"string"},"GuestLabel":{"type":"string"},"InstructorLabel":{"type":"string"},"ReceiptNumLabel":{"type":"string"},"PaymentNumLabel":{"type":"string"},"InvoiceNumLabel":{"type":"string"},"ServiceCustomDataLabel":{"type":"string"},"CustomFormMacro":{"type":"string"}}},"GetCenterAppointmentSettingsResponse":{"type":"object","properties":{"Settings":{"$ref":"#/definitions/CenterAppointmentSettings"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CenterAppointmentSettings":{"type":"object","properties":{"EnforceServiceCustomFields":{"type":"boolean"},"EnableServiceCustomData":{"type":"boolean"},"EnableServiceCustomDataPostInvoiceClose":{"type":"boolean"},"AllowGuestAppointmentsOverlap":{"type":"boolean"},"IsCommentsMandatoryForCancelNoShow":{"type":"boolean"}}},"GetDisplayTerminalSettingsResponse":{"type":"object","properties":{"CenterId":{"type":"string"},"EnableDisplayTerminal":{"type":"boolean"},"DisplayTerminalAdvertisementUrl":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetTaxGroupsResponse":{"type":"object","properties":{"TaxGroups":{"type":"array","items":{"$ref":"#/definitions/CenterTaxGroupModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CenterTaxGroupModel":{"type":"object","properties":{"Id":{"type":"string"},"CenterTaxId":{"type":"string"},"Name":{"type":"string"},"TaxPercentage":{"format":"double","type":"number"},"IsApplicableToMemberships":{"type":"boolean"},"IsApplicableToProducts":{"type":"boolean"},"IsApplicableToServices":{"type":"boolean"},"IsApplicableToPackages":{"type":"boolean"},"IsApplicableToPMSRooms":{"type":"boolean"},"IsApplicableToClasses":{"type":"boolean"},"IsApplicableToGC":{"type":"boolean"},"IsApplicableToVendors":{"type":"boolean"}}},"CreatePayworksAccountRequest":{"type":"object","properties":{"CenterId":{"type":"string"}}},"CreatePayworksAccountResponse":{"type":"object","properties":{"PayworksMerchantIdentifier":{"type":"string"},"PayworksMerchantSecretKey":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AddPayworksReaderRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"SerialNumber":{"type":"string"}}},"AddPayworksReaderResponse":{"type":"object","properties":{"IsReaderAdded":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SetupGeofenceRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"Enable":{"type":"boolean"},"Geofence":{"$ref":"#/definitions/Area"}}},"SetupGeofenceResponse":{"type":"object","properties":{"IsEnabled":{"type":"boolean"},"CenterId":{"type":"string"},"Geofence":{"$ref":"#/definitions/Area"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SetDisplayTerminalSettingsRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"AdvertisementUrl":{"type":"string"}}},"SetDisplayTerminalSettingsResponse":{"type":"object","properties":{"CenterId":{"type":"string"},"AdvertisementUrl":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetInstructorsRequest":{"type":"object","properties":{"ClassId":{"format":"int64","type":"integer"},"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetInstructorsResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/InstructorsModel"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"InstructorsModel":{"type":"object","properties":{"IsAssociated":{"format":"int32","type":"integer"},"NumSessions":{"format":"int32","type":"integer"},"Id":{"type":"string"},"Name":{"type":"string"},"Description":{"type":"string"},"ImagePaths":{"type":"object","additionalProperties":{"type":"string"}}}},"GetInstructorsforAdminResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/InstructorsModelforAdmin"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"InstructorsModelforAdmin":{"type":"object","properties":{"IsAssociated":{"format":"int32","type":"integer"},"ImagePaths":{"type":"object","additionalProperties":{"type":"string"}},"Id":{"type":"string"},"ShortName":{"type":"string"},"FullName":{"type":"string"},"Email":{"type":"string"},"PhoneNumber":{"type":"string"},"MobilePhoneModel":{"$ref":"#/definitions/PhoneModel"},"Gender":{"enum":["Any","Female","Male","Specific","Multiple"],"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"IsAvailable":{"type":"boolean"},"VanityImageUrl":{"type":"string"}}},"GetRoomsRequest":{"type":"object","properties":{"ClassId":{"format":"int64","type":"integer"},"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetRoomsResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/RoomsModel"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"RoomsModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"IsAssociated":{"format":"int32","type":"integer"},"Capacity":{"format":"int32","type":"integer"}}},"GetCentersListRequest":{"type":"object","properties":{"ZoneId":{"type":"string"},"CenterId":{"type":"string"},"ClassId":{"format":"int64","type":"integer"},"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetCentersListResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/CentersAssocModel"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CentersAssocModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"IsAssociated":{"format":"int32","type":"integer"},"IncludesTax":{"type":"boolean"},"Price":{"format":"double","type":"number"},"CenterTaxId":{"type":"string"},"CenterTaxes":{"type":"array","items":{"$ref":"#/definitions/CenterClassTaxesModel"}}}},"CenterClassTaxesModel":{"type":"object","properties":{"TaxGroupId":{"type":"string"},"TaxGroupName":{"type":"string"},"CenterTaxId":{"type":"string"}}},"CopyCenterRequest":{"type":"object","properties":{"Mode":{"format":"int32","description":"LeftOnly = 1, AllLeft =2 , SyncLeft=3","type":"integer"},"Level":{"format":"int32","description":"1 - Shallow Copy, 2 - Deep Copy","type":"integer"},"Groups":{"format":"int32","description":"General = 1, Services = 2, Products = 4, Jobs = 8, Packages = 16, Memberships = 32, Campaigns = 64, TaxGroups = 128","type":"integer"},"ToCenterIds":{"description":"List of Center ids","type":"array","items":{"type":"string"}}}},"CopyCenterResponse":{"type":"object","properties":{"Status":{"type":"boolean"},"CopyDetails":{"type":"array","items":{"$ref":"#/definitions/CopyCenterDetailModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CopyCenterDetailModel":{"type":"object","properties":{"CenterId":{"type":"string"},"Status":{"type":"boolean"}}},"CurrencyModel":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"},"Symbol":{"type":"string"}}},"TimeZoneModel":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Name":{"type":"string"},"StandardName":{"type":"string"},"Symbol":{"type":"string"}}},"LanguageModel":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"}}},"CultureModel":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"Code":{"type":"string"},"Name":{"type":"string"}}},"RegisterPushNotificationRequest":{"type":"object","properties":{"AppId":{"enum":["Web","WebStore","EmployeeApp","ManagerApp","Scheduler","CustomerApp","MobilePosIos","MobilePosAndroid","TherapistAppIos","TherapistAppAndroid","ApiDirect","InstoreApp","Unknown"],"type":"string"},"AppVersionCode":{"type":"string"},"AppVersionNumber":{"type":"string"},"DeviceLocale":{"type":"string"},"DeviceId":{"type":"string"},"DeviceModel":{"type":"string"},"DeviceType":{"enum":["Desktop","Laptop","Phone","Tablet","Unknown"],"type":"string"},"OsVersion":{"type":"string"},"NotificationId":{"type":"string"},"OsType":{"enum":["Windows","iOS","Android","Unknown"],"type":"string"}}},"RegisterPushNotificationResponse":{"type":"object","properties":{"IsRegistered":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetAppSettingsRequest":{"type":"object","properties":{"OSType":{"enum":["Windows","iOS","Android","Unknown"],"type":"string"},"DeviceType":{"enum":["Desktop","Laptop","Phone","Tablet","Unknown"],"type":"string"},"OSVersion":{"type":"string"},"AppVersion":{"type":"string"}}},"AppInitialSettings":{"type":"object","properties":{"AppRequiresUpdate":{"type":"boolean"},"AppForceUpdate":{"type":"boolean"},"AppUpdateMessage":{"type":"string"},"AboutUsUrl":{"type":"string"},"PrivacyPolicyUrl":{"type":"string"},"TermsAndConditionsUrl":{"type":"string"},"CallSupportPhone":{"type":"string"},"Announcements":{"type":"array","items":{"type":"string"}}}},"GetDiscountsRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"GuestId":{"type":"string"},"AppointmentDate":{"format":"date-time","type":"string"},"InvoiceId":{"type":"string"}}},"GetDiscountsResponse":{"type":"object","properties":{"Discounts":{"type":"array","items":{"$ref":"#/definitions/DiscountViewModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"DiscountViewModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"}}},"GetEmployeeResponse":{"type":"object","properties":{"Employee":{"$ref":"#/definitions/EmployeeModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"EmployeeModel":{"type":"object","properties":{"Code":{"type":"string"},"MiddleName":{"type":"string"},"NickName":{"type":"string"},"HomePhone":{"type":"string"},"HomePhoneModel":{"$ref":"#/definitions/PhoneModel"},"WorkPhone":{"type":"string"},"WorkPhoneModel":{"$ref":"#/definitions/PhoneModel"},"BirthDate":{"format":"date-time","type":"string"},"AnniversaryDate":{"format":"date-time","type":"string"},"CenterId":{"type":"string"},"AddressLine1":{"type":"string"},"AddressLine2":{"type":"string"},"CityName":{"type":"string"},"CountryId":{"format":"int32","type":"integer"},"StateId":{"format":"int32","type":"integer"},"StateOther":{"type":"string"},"IsConsultant":{"type":"boolean"},"AdditionalField1":{"type":"string"},"AdditionalField2":{"type":"string"},"Keyword":{"type":"string"},"Id":{"type":"string"},"ShortName":{"type":"string"},"FullName":{"type":"string"},"Email":{"type":"string"},"PhoneNumber":{"type":"string"},"MobilePhoneModel":{"$ref":"#/definitions/PhoneModel"},"Gender":{"enum":["Any","Female","Male","Specific","Multiple"],"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"IsAvailable":{"type":"boolean"},"VanityImageUrl":{"type":"string"}}},"UpdateEmployeeDetailRequest":{"type":"object","properties":{"EmployeeDetail":{"$ref":"#/definitions/EmployeeDetailModel"}}},"EmployeeDetailModel":{"type":"object","properties":{"AccessInfo":{"$ref":"#/definitions/EmployeeAccess"},"Credentials":{"$ref":"#/definitions/UserCredentials"},"Job":{"$ref":"#/definitions/EmployeeJob"},"Preferences":{"$ref":"#/definitions/EmployeePreferences"},"Code":{"type":"string"},"MiddleName":{"type":"string"},"NickName":{"type":"string"},"HomePhone":{"type":"string"},"HomePhoneModel":{"$ref":"#/definitions/PhoneModel"},"WorkPhone":{"type":"string"},"WorkPhoneModel":{"$ref":"#/definitions/PhoneModel"},"BirthDate":{"format":"date-time","type":"string"},"AnniversaryDate":{"format":"date-time","type":"string"},"CenterId":{"type":"string"},"AddressLine1":{"type":"string"},"AddressLine2":{"type":"string"},"CityName":{"type":"string"},"CountryId":{"format":"int32","type":"integer"},"StateId":{"format":"int32","type":"integer"},"StateOther":{"type":"string"},"IsConsultant":{"type":"boolean"},"AdditionalField1":{"type":"string"},"AdditionalField2":{"type":"string"},"Keyword":{"type":"string"},"Id":{"type":"string"},"ShortName":{"type":"string"},"FullName":{"type":"string"},"Email":{"type":"string"},"PhoneNumber":{"type":"string"},"MobilePhoneModel":{"$ref":"#/definitions/PhoneModel"},"Gender":{"enum":["Any","Female","Male","Specific","Multiple"],"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"IsAvailable":{"type":"boolean"},"VanityImageUrl":{"type":"string"}}},"EmployeeAccess":{"type":"object","properties":{"AccessCode":{"type":"string"},"AllowApiAccess":{"type":"boolean"},"AllowOfflineAccess":{"type":"boolean"},"WaiveBiometricCheckin":{"type":"boolean"},"AccessManagerMobileApp":{"type":"boolean"},"AccessEmployeeMobileApp":{"type":"boolean"}}},"UserCredentials":{"type":"object","properties":{"UserName":{"type":"string"},"Password":{"type":"string"}}},"EmployeeJob":{"type":"object","properties":{"JobId":{"type":"string"},"DesignationId":{"type":"string"},"CompanyName":{"type":"string"},"Salary":{"format":"double","type":"number"},"HourlyRate":{"format":"double","type":"number"},"RequestTherapistBonus":{"format":"double","type":"number"},"MandatoryBreakMinutesPerDay":{"format":"int32","type":"integer"},"EligibleForCommissionBonus":{"type":"boolean"},"MaximumWorkHours":{"format":"int32","type":"integer"},"TargetRevenue":{"format":"double","type":"number"},"VacationDays":{"format":"int32","type":"integer"},"SpecialLeaveDays":{"format":"int32","type":"integer"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"TenureStartDate":{"format":"date-time","type":"string"}}},"EmployeePreferences":{"type":"object","properties":{"CultureId":{"format":"int32","type":"integer"},"SearchTags":{"type":"string"},"ReceiveMarketingEmails":{"type":"boolean"},"ReceiveTransactionalEmails":{"type":"boolean"},"ReceiveTransactionalTextMessages":{"type":"boolean"},"ReceiveMarketingTextMessages":{"type":"boolean"},"ReceiveDailyReports":{"type":"boolean"},"ReceiveRegisterClosureReports":{"type":"boolean"},"SendConfirmationForAppointments":{"type":"boolean"}}},"UpdateEmployeeDetailResponse":{"type":"object","properties":{"IsEmployeeAdded":{"type":"boolean"},"EmployeeDetail":{"$ref":"#/definitions/EmployeeDetailModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetEmployeeDetailResponse":{"type":"object","properties":{"EmployeeDetail":{"$ref":"#/definitions/EmployeeDetailModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetEmployeeRolesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"EmployeeId":{"type":"string"},"ReturnPermissions":{"type":"boolean"}}},"GetEmployeeRolesResponse":{"type":"object","properties":{"SecurityRoles":{"type":"array","items":{"$ref":"#/definitions/EmployeeRoleModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetTherapistsRequest":{"type":"object","properties":{"AppointmentId":{"type":"string"},"CenterId":{"type":"string"},"ServiceId":{"type":"string"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"SearchValue":{"type":"string"}}},"GetTherapistsResponse":{"type":"object","properties":{"Therapists":{"type":"array","items":{"$ref":"#/definitions/TherapistModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetEmployeesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"Date":{"format":"date-time","type":"string"}}},"GetEmployeesResponse":{"type":"object","properties":{"Employees":{"type":"array","items":{"$ref":"#/definitions/TherapistModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AddEmployeeDetailRequest":{"type":"object","properties":{"EmployeeDetail":{"$ref":"#/definitions/EmployeeDetailModel"}}},"AddEmployeeDetailResponse":{"type":"object","properties":{"IsEmployeeAdded":{"type":"boolean"},"EmployeeDetail":{"$ref":"#/definitions/EmployeeDetailModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetJobsRequest":{"type":"object","properties":{"CenterId":{"type":"string"}}},"GetJobsResponse":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"},"Jobs":{"type":"array","items":{"$ref":"#/definitions/JobModel"}}}},"JobModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"}}},"GetDesignationResponse":{"type":"object","properties":{"Designation":{"type":"array","items":{"$ref":"#/definitions/DesignationModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"DesignationModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"}}},"UploadProfilePictureResponse":{"type":"object","properties":{"PictureUrl":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetProfilePictureResponse":{"type":"object","properties":{"PictureUrl":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetNotificationsRequest":{"type":"object","properties":{"Page":{"format":"int32","type":"integer"},"Size":{"format":"int32","type":"integer"}}},"GetNotificationsResponse":{"type":"object","properties":{"Notifications":{"type":"array","items":{"$ref":"#/definitions/PushNotification"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"PushNotification":{"type":"object","properties":{"InvoiceId":{"type":"string"},"AppointmentId":{"type":"string"},"GuestFName":{"type":"string"},"GuestLName":{"type":"string"},"ServiceName":{"type":"string"},"StartTime":{"format":"date-time","type":"string"},"NotificationTime":{"format":"date-time","type":"string"},"MessageType":{"enum":["Completion","Checkin"],"type":"string"},"Id":{"type":"string"},"EmployeeId":{"type":"string"}}},"CheckInEmployeeResponse":{"type":"object","properties":{"EmployeeCheckedIn":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CheckOutEmployeeResponse":{"type":"object","properties":{"EmployeeCheckedOut":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AssignCashRegisterRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"CashRegisterId":{"type":"string"},"Force":{"type":"boolean"}}},"AssignCashRegisterResponse":{"type":"object","properties":{"IsRegisterAssigned":{"type":"boolean"},"CashRegisterId":{"type":"string"},"UserId":{"type":"string"},"AlreadyAssignedTo":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetCommissionRequest":{"type":"object","properties":{"CenterId":{"description":"Center for which the Split Commission are to be retrieved. This parameter is mandatory.","type":"string"},"StartDate":{"format":"date-time","description":"The date from which the api has to retrieve the data. By default considers the current date.","type":"string"},"EndDate":{"format":"date-time","description":"The date till which the api has to retrieve the data. By default considers the current date.","type":"string"},"ReportType":{"format":"int32","description":"default 1, can have one of the two values - 1 ‘Sale based’, 2 ‘Collections based’","type":"integer"},"EmployeeType":{"format":"int32","description":"default 1, can have one of the three values - 1 ‘All’, 2 ‘Employees’, 3 ‘Consultants’","type":"integer"}}},"GetCommissionResponse":{"type":"object","properties":{"CenterCode":{"description":"Center Code","type":"string"},"CenterName":{"description":"Center Name","type":"string"},"TotalRows":{"format":"int32","description":"Total Split Commissions retrieved through the api","type":"integer"},"Commissions":{"description":"Split Commissions","type":"array","items":{"$ref":"#/definitions/CommissionModel"}},"Error":{"$ref":"#/definitions/ApiResponseError","description":"Specifies the error while making an api call"}}},"CommissionModel":{"type":"object","properties":{"InvNum":{"description":"Invoice #","type":"string"},"ID":{"format":"date-time","description":"Invoice Date","type":"string"},"IN":{"description":"Item Name","type":"string"},"Type":{"description":"Item Type","type":"string"},"Cat":{"description":"Category","type":"string"},"SC":{"description":"Sub Category","type":"string"},"IP":{"format":"double","description":"Invoice Price","type":"number"},"IT":{"format":"double","description":"Item Tax","type":"number"},"EN":{"description":"Employee Name","type":"string"},"EC":{"description":"Employee Code","type":"string"},"EJC":{"description":"Employee Job Code","type":"string"},"CT":{"description":"Commission Type","type":"string"},"CP":{"format":"double","description":"Commission Percentage","type":"number"}}},"GetTipsRequest":{"type":"object","properties":{"CenterId":{"description":"Center for which the Split Tips are to be retrieved. This parameter is mandatory.","type":"string"},"StartDate":{"format":"date-time","description":"The date from which the api has to retrieve the data. By default considers the current date.","type":"string"},"EndDate":{"format":"date-time","description":"The date till which the api has to retrieve the data. By default considers the current date.","type":"string"},"ReportType":{"format":"int32","description":"default 1, can have one of the two values - 1 ‘Based on collections’, 2 ‘Based on sales’, 3 'Based on closing'","type":"integer"},"Status":{"format":"int32","description":"default 1, can have one of the three values - 1 ‘Open’, 2 ‘Closed’, 3 ‘All’","type":"integer"},"EmployeeId":{"description":"Employee for which the Split Tips are to be retrieved. This parameter is optional.","type":"string"}}},"GetTipsResponse":{"type":"object","properties":{"TotalRows":{"format":"int32","description":"Total Split tips retrieved through the api","type":"integer"},"Tips":{"description":"Split Tips","type":"array","items":{"$ref":"#/definitions/TipModel"}},"Error":{"$ref":"#/definitions/ApiResponseError","description":"Specifies the error while making an api call"}}},"TipModel":{"type":"object","properties":{"EC":{"description":"Employee Code","type":"string"},"EN":{"description":"Employee Name","type":"string"},"InvNum":{"description":"Invoice #","type":"string"},"GN":{"description":"Guest Name","type":"string"},"Cash":{"format":"double","description":"Cash","type":"number"},"Check":{"format":"double","description":"Check","type":"number"},"Custom":{"format":"double","description":"Custom","type":"number"},"PPC":{"format":"double","description":"Prepaid Card","type":"number"},"Tip":{"format":"double","description":"Tip","type":"number"},"Status":{"description":"Status","type":"string"}}},"CheckConflictsRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"ScheduleIds":{"type":"string"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"InstructorId":{"type":"string"},"RoomId":{"type":"string"},"IsRecurring":{"type":"boolean"},"ClassDuration":{"format":"int32","type":"integer"},"RecurrenceStartTime":{"format":"date-time","type":"string"},"RecurrenceEndTime":{"format":"date-time","type":"string"},"RecurrenceType":{"format":"int32","type":"integer"},"Frequency":{"format":"int32","type":"integer"},"NumOccurrences":{"format":"int32","type":"integer"},"WeekDays":{"format":"int32","type":"integer"}}},"CheckConflictsResponse":{"type":"object","properties":{"UnavailableDates":{"type":"array","items":{"$ref":"#/definitions/UnavailableDatesModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"UnavailableDatesModel":{"type":"object","properties":{"UnavailableDate":{"format":"date-time","type":"string"},"IsInstructorAvailable":{"type":"boolean"},"IsRoomAvailable":{"type":"boolean"}}},"CopyEmployeeRequest":{"type":"object","properties":{"Mode":{"format":"int32","description":"LeftOnly = 1, AllLeft = 2, SyncLeft = 3","type":"integer"},"Level":{"format":"int32","description":"ShallowCopy = 1, DeepCopy = 2","type":"integer"},"Groups":{"format":"int32","description":"General = 1, Roles = 2, Services = 4, Service_and_ServiceCommissions = 8, ProductCommissions = 16, MembershipCommissions = 32, Commissions = 64","type":"integer"},"ToEmployeeIds":{"description":"List of employee ids","type":"array","items":{"type":"string"}}}},"CopyEmployeeResponse":{"type":"object","properties":{"Status":{"type":"boolean"},"CopyDetails":{"type":"array","items":{"$ref":"#/definitions/CopyEmployeeDetailModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CopyEmployeeDetailModel":{"type":"object","properties":{"EmployeeId":{"type":"string"},"Status":{"type":"boolean"}}},"GetGuestResponse":{"type":"object","properties":{"Success":{"type":"boolean"},"GuestDetails":{"$ref":"#/definitions/EmployeeApp_Guest"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"EmployeeApp_Guest":{"type":"object","properties":{"guests":{"type":"array","items":{"$ref":"#/definitions/EmployeeApp_GuestDetailModel"}},"success":{"type":"boolean"}}},"EmployeeApp_GuestDetailModel":{"type":"object","properties":{"Address1":{"type":"string"},"Address2":{"type":"string"},"AnniversaryDate":{"type":"string"},"City":{"type":"string"},"CountryFk":{"type":"string"},"CountryName":{"type":"string"},"DOB":{"type":"string"},"DOB_IncompleteYear":{"type":"string"},"Email":{"type":"string"},"Gender":{"type":"string"},"GuestFlagFT":{"type":"string"},"GuestFlagHS":{"type":"string"},"GuestFlagLF":{"type":"string"},"GuestFlagMB":{"type":"string"},"GuestFlagNS":{"type":"string"},"GuestFlagPack":{"type":"string"},"GuestFlagRC":{"type":"string"},"GuestFlagReg":{"type":"string"},"GuestFName":{"type":"string"},"GuestLName":{"type":"string"},"GuestPhone":{"type":"string"},"HasCD":{"type":"string"},"HomePhone":{"type":"string"},"id":{"type":"string"},"ReceiveLpStmt":{"type":"string"},"ReceiveMarketingEMail":{"type":"string"},"ReceiveMarketingSMS":{"type":"string"},"ReceiveTransactionalEMail":{"type":"string"},"ReceiveTransactionalSMS":{"type":"string"},"StateFK":{"type":"string"},"StateName":{"type":"string"},"WorkPhone":{"type":"string"},"MobilePhoneModel":{"$ref":"#/definitions/PhoneModel"},"HomePhoneModel":{"$ref":"#/definitions/PhoneModel"},"WorkPhoneModel":{"$ref":"#/definitions/PhoneModel"},"memberships":{"type":"array","items":{"$ref":"#/definitions/EmployeeApp_GuestMembershipModel"}},"packages":{"type":"array","items":{"$ref":"#/definitions/Object"}},"products":{"type":"array","items":{"$ref":"#/definitions/EmployeeApp_GuestProductModel"}},"appts":{"type":"array","items":{"$ref":"#/definitions/EmployeeApp_Appt"}}}},"EmployeeApp_GuestMembershipModel":{"type":"object","properties":{"guest_id":{"type":"string"},"id":{"type":"string"},"MembershipBalance":{"type":"string"},"MembershipEndD":{"type":"string"},"MembershipName":{"type":"string"},"MembershipStartD":{"type":"string"}}},"EmployeeApp_GuestProductModel":{"type":"object","properties":{"actors":{"type":"array","items":{"$ref":"#/definitions/EmployeeApp_Actor"}},"CenterId":{"type":"string"},"CenterName":{"type":"string"},"CreatedDate":{"type":"string"},"FinalSalePrice":{"type":"string"},"id":{"type":"string"},"InvoiceNo":{"type":"string"},"Notes":{"$ref":"#/definitions/Object"},"products":{"type":"array","items":{"$ref":"#/definitions/EmployeeApp_GuestProductDetailModel"}},"Quantity":{"type":"string"}}},"EmployeeApp_Appt":{"type":"object","properties":{"actors":{"type":"array","items":{"$ref":"#/definitions/EmployeeApp_Actor"}},"apptgroup_id":{"type":"string"},"guests":{"type":"array","items":{"$ref":"#/definitions/EmployeeApp_ApptGuest"}},"HasCD":{"type":"string"},"id":{"type":"string"},"locations":{"type":"array","items":{"$ref":"#/definitions/Object"}},"services":{"type":"array","items":{"$ref":"#/definitions/EmployeeApp_GuestServiceModel"}},"StartTime":{"type":"string"}}},"EmployeeApp_Actor":{"type":"object","properties":{"ActorDName":{"type":"string"},"ActorFName":{"type":"string"},"ActorLName":{"type":"string"},"id":{"type":"string"}}},"EmployeeApp_GuestProductDetailModel":{"type":"object","properties":{"id":{"type":"string"},"productCode":{"type":"string"},"productName":{"type":"string"}}},"EmployeeApp_ApptGuest":{"type":"object","properties":{"GuestFlagFT":{"type":"string"},"GuestFlagHS":{"type":"string"},"GuestFlagLF":{"type":"string"},"GuestFlagMB":{"type":"string"},"GuestFlagNS":{"type":"string"},"GuestFlagRC":{"type":"string"},"GuestFlagReg":{"type":"string"},"GuestFName":{"type":"string"},"GuestLName":{"type":"string"},"id":{"type":"string"},"MobilePhone":{"type":"string"}}},"EmployeeApp_GuestServiceModel":{"type":"object","properties":{"id":{"type":"string"},"ServiceName":{"type":"string"}}},"SearchGuestsRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"SearchValue":{"type":"string"},"Count":{"format":"int32","type":"integer"}}},"SearchGuestsResponse":{"type":"object","properties":{"Guests":{"type":"array","items":{"$ref":"#/definitions/GuestModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AddGuestRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"Guest":{"$ref":"#/definitions/GuestModel"},"Validate":{"type":"boolean"}}},"AddGuestResponse":{"type":"object","properties":{"GuestId":{"type":"string"},"GuestCode":{"type":"string"},"SendRegisterationMail":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetUserMembershipsRequest":{"type":"object","properties":{"GuestId":{"type":"string"},"CenterId":{"type":"string"},"InvoiceId":{"type":"string"}}},"GetUserMembershipsResponse":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"},"UserMemberships":{"type":"array","items":{"$ref":"#/definitions/MembershipUserModel"}}}},"MembershipUserModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"ServiceCreditAmount":{"format":"double","type":"number"},"ServiceCreditAmountUsed":{"format":"double","type":"number"},"ServiceCreditAmountLeft":{"format":"double","type":"number"},"ValidityDate":{"format":"date-time","type":"string"}}},"GetUserPackagesRequest":{"type":"object","properties":{"GuestId":{"type":"string"},"CenterId":{"type":"string"},"InvoiceId":{"type":"string"}}},"GetUserPackagesResponse":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"},"UserPackages":{"type":"array","items":{"$ref":"#/definitions/PackageUserModel"}}}},"PackageUserModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"}}},"GetCreditCardsOnFileRequest":{"type":"object","properties":{"GuestId":{"type":"string"},"CenterId":{"type":"string"}}},"GetCreditCardsOnFileResponse":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"},"CreditCardsOnFile":{"type":"array","items":{"$ref":"#/definitions/CreditCardOnFileModel"}}}},"RemoveCreditCardOnFileResponse":{"type":"object","properties":{"IsCreditOnFileRemoved":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetIssuesAndNotificationsRequest":{"type":"object","properties":{"GuestId":{"type":"string"},"PageSize":{"format":"int32","type":"integer"},"PageNum":{"format":"int32","type":"integer"},"Option":{"enum":["Issues","Notification"],"type":"string"}}},"GetIssuesAndNotificationsResponse":{"type":"object","properties":{"Notifications":{"type":"array","items":{"$ref":"#/definitions/MessageModel"}},"Issues":{"type":"array","items":{"$ref":"#/definitions/IssueModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"MessageModel":{"type":"object","properties":{"Template":{"type":"string"},"Status":{"type":"string"},"Reason":{"type":"string"},"SentOn":{"format":"date-time","type":"string"},"Type":{"type":"string"},"MessageQueueTextId":{"type":"string"}}},"IssueModel":{"type":"object","properties":{"CreationDate":{"format":"date-time","type":"string"},"Title":{"type":"string"},"Description":{"type":"string"},"Status":{"type":"string"},"PriorityName":{"type":"string"},"CenterName":{"type":"string"}}},"GetLoyaltyProgramsRequest":{"type":"object","properties":{"GuestId":{"type":"string"},"InvoiceId":{"type":"string"}}},"GetLoyaltyProgramsResponse":{"type":"object","properties":{"LoyaltyPrograms":{"type":"array","items":{"$ref":"#/definitions/LoyaltyModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"LoyaltyModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"TotalPointsEarned":{"format":"double","type":"number"},"TotalPointsRedeemed":{"format":"double","type":"number"},"TotalPointsAvailable":{"format":"double","type":"number"}}},"GetGuestCustomDataResponse":{"type":"object","properties":{"success":{"type":"boolean"},"total":{"format":"int32","type":"integer"},"guestcustomdata":{"$ref":"#/definitions/Object"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SetGuestCustomDataRequest":{"type":"object","properties":{"GuestId":{"type":"string"},"FieldValues":{"type":"array","items":{"$ref":"#/definitions/CustomField"}},"ContactFieldValues":{"$ref":"#/definitions/GuestFields"}}},"GuestFields":{"type":"object","properties":{"userId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"mobile":{"type":"string"},"MobilePhoneModel":{"$ref":"#/definitions/PhoneModel"},"homephone":{"type":"string"},"HomePhoneModel":{"$ref":"#/definitions/PhoneModel"},"workphone":{"type":"string"},"WorkPhoneModel":{"$ref":"#/definitions/PhoneModel"},"email":{"type":"string"},"gender":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"city":{"type":"string"},"stateFK":{"type":"string"},"countryFK":{"type":"string"},"zipCode":{"type":"string"},"receiveMarketingEMail":{"type":"boolean"},"receiveMarketingSMS":{"type":"boolean"},"receiveTransactionalEMail":{"type":"boolean"},"receiveTransactionalSMS":{"type":"boolean"},"dob_incompleteyear":{"type":"string"},"dob":{"type":"string"},"dtDOB":{"format":"date-time","type":"string"},"anniversarydate":{"type":"string"},"dtAnniversaryDate":{"format":"date-time","type":"string"},"referralsourceid":{"type":"string"}}},"SetGuestCustomDataResponse":{"type":"object","properties":{"success":{"type":"boolean"},"guestcustomdata":{"type":"array","items":{"$ref":"#/definitions/CustomField"}},"message":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"CheckinToCenterRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"IsCheckinToCenter":{"type":"boolean"},"AppointmentGroupIds":{"type":"string"},"SessionIds":{"type":"string"}}},"CheckinToCenterResponse":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"},"IsCheckinDetailsSaved":{"type":"boolean"},"UserMembershipId":{"type":"string"},"IsCheckintoSessionSuccess":{"type":"boolean"},"IsCheckinAppointmentSuccess":{"type":"boolean"}}},"GetGuestCheckinRequest":{"type":"object","properties":{"CenterId":{"type":"string"}}},"GetGuestCheckinResponse":{"type":"object","properties":{"IsSignedIn":{"type":"boolean"},"IsNumberVisitsExceeded":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetGuestDetailsByCodeResponse":{"type":"object","properties":{"Id":{"type":"string"},"Code":{"type":"string"},"FirstName":{"type":"string"},"MiddleName":{"type":"string"},"LastName":{"type":"string"},"Email":{"type":"string"},"MobilePhoneModel":{"$ref":"#/definitions/PhoneModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AddNotesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"GuestId":{"type":"string"},"Note":{"$ref":"#/definitions/NoteModel"}}},"NoteModel":{"type":"object","properties":{"Id":{"type":"string"},"NoteType":{"enum":["Unknown","Generic","Checkin","Booking","Payment","Profile"],"type":"string"},"Text":{"type":"string"},"CreateDate":{"format":"date-time","type":"string"},"IsPrivate":{"type":"boolean"}}},"AddNotesResponse":{"type":"object","properties":{"IsNoteAdded":{"type":"boolean"},"Note":{"$ref":"#/definitions/NoteModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetNotesResponse":{"type":"object","properties":{"Notes":{"type":"array","items":{"$ref":"#/definitions/NoteModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"RemoveNotesResponse":{"type":"object","properties":{"IsNoteRemoved":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetUpcomingAppointmentsRequest":{"type":"object","properties":{"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetUpcomingAppointmentsResponse":{"type":"object","properties":{"Appointments":{"type":"array","items":{"$ref":"#/definitions/AppointmentGroupModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetPastAppointmentsRequest":{"type":"object","properties":{"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetPastAppointmentsResponse":{"type":"object","properties":{"Appointments":{"type":"array","items":{"$ref":"#/definitions/AppointmentGroupModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetLoginRequest":{"type":"object","properties":{"UserName":{"type":"string"},"Password":{"type":"string"}}},"GetLoginResponse":{"type":"object","properties":{"GuestId":{"type":"string"},"FirstName":{"type":"string"},"LastName":{"type":"string"},"GuestCode":{"type":"string"},"CenterId":{"type":"string"},"WebSessionId":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetForgotPasswordRequest":{"type":"object","properties":{"Email":{"type":"string"},"Phone":{"type":"string"},"UseraName":{"type":"string"}}},"GetForgotPasswordResponse":{"type":"object","properties":{"Success":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetLogoutRequest":{"type":"object","properties":{"WebSessionId":{"type":"string"}}},"GetLogoutResponse":{"type":"object","properties":{"Success":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetSendOtpRequest":{"type":"object","properties":{"Email":{"type":"string"},"Phone":{"type":"string"}}},"GetSendOtpResponse":{"type":"object","properties":{"VerificationId":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetVerifyOtpRequest":{"type":"object","properties":{"VerificationId":{"type":"string"},"OTP":{"type":"string"}}},"GetVerifyOtpResponse":{"type":"object","properties":{"Verified":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetPointsResponse":{"type":"object","properties":{"tiers":{"type":"array","items":{"$ref":"#/definitions/GuestPointsTierModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GuestPointsTierModel":{"type":"object","properties":{"Id":{"format":"int32","type":"integer"},"GuestId":{"type":"string"},"TierId":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"TierName":{"type":"string"}}},"ImportUploadResult":{"type":"object","properties":{"FileName":{"type":"string"},"ImportId":{"format":"int64","type":"integer"},"Successful":{"type":"boolean"}}},"GetImportStatusResponse":{"type":"object","properties":{"ImportStatuses":{"type":"array","items":{"$ref":"#/definitions/ImportStatus"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"ImportStatus":{"type":"object","properties":{"ImportId":{"format":"int64","type":"integer"},"ImportType":{"type":"string"},"Status":{"type":"string"},"ImportDate":{"format":"date-time","type":"string"},"ImportedBy":{"type":"string"},"SourceFile":{"type":"string"},"ErrorLogFile":{"type":"string"}}},"GetImportStatusByImportIdResponse":{"type":"object","properties":{"ImportStatus":{"$ref":"#/definitions/ImportStatus"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"StopImportResponse":{"type":"object","properties":{"StopImport":{"$ref":"#/definitions/StopImportModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"StopImportModel":{"type":"object","properties":{"ImportStatus":{"$ref":"#/definitions/ImportStatus"},"Message":{"type":"string"}}},"GetPurchaseOrderRequest":{"type":"object","properties":{"CenterId":{"description":"Center for which the Purchase Orders are retrieved. This parameter is mandatory.","type":"string"},"StartDate":{"format":"date-time","description":"The date from which the api has to retrieve the data. By default considers the current date.","type":"string"},"EndDate":{"format":"date-time","description":"The date till which the api has to retrieve the data. By default considers the current date.","type":"string"},"ShowDeliveryDetails":{"description":"default ‘false’, returns only PO details. When this is true, PO includes the details of delivery as well.","type":"boolean"},"DateCriteria":{"format":"int32","description":"default 2, can have one of the three values - 1 ‘raised’, 2 ‘completed’, 3 ‘delivered’","type":"integer"}}},"GetPurchaseOrderResponse":{"type":"object","properties":{"TotalPurchaseOrders":{"format":"int32","description":"Total Purchase Orders retrieved through the api","type":"integer"},"PurchaseOrders":{"description":"purchase orders","type":"array","items":{"$ref":"#/definitions/PurchaseOrderModel"}},"Error":{"$ref":"#/definitions/ApiResponseError","description":"Specifies the error while making an api call"}}},"PurchaseOrderModel":{"type":"object","properties":{"RN":{"description":"Reference Number","type":"string"},"OD":{"format":"date-time","description":"Ordered Date","type":"string"},"RD":{"format":"date-time","description":"Rasied Date","type":"string"},"Status":{"description":"Status","type":"string"},"CD":{"format":"date-time","description":"Closed Date","type":"string"},"VC":{"description":"Vendor Code","type":"string"},"VN":{"description":"Vendor Name","type":"string"},"CST#":{"description":"Vendor CST","type":"string"},"TIN#":{"description":"Vendor TIN","type":"string"},"InvNum":{"description":"Invoice #","type":"string"},"Partials":{"description":"Partials","type":"array","items":{"$ref":"#/definitions/PurchaseOrderPartialModel"}}}},"PurchaseOrderPartialModel":{"type":"object","properties":{"DD":{"format":"date-time","description":"Delivered Date","type":"string"},"DV":{"format":"double","description":"Discount Value","type":"number"},"SAH":{"format":"double","description":"Shipping And Handling","type":"number"},"Other":{"format":"double","description":"Other","type":"number"},"Notes":{"description":"Partial PO notes","type":"string"},"Items":{"description":"Items","type":"array","items":{"$ref":"#/definitions/PartialOrderItemModel"}}}},"PartialOrderItemModel":{"type":"object","properties":{"PC":{"description":"Product Code","type":"string"},"PN":{"description":"Product Name","type":"string"},"MRP":{"format":"double","description":"MRP","type":"number"},"RQO":{"format":"int32","description":"Retail Quantity Ordered","type":"integer"},"CQO":{"format":"int32","description":"Consumable Quantity Ordered","type":"integer"},"UPO":{"format":"double","description":"Unit Price Ordered","type":"number"},"OTN":{"description":"Order Tax Group Name","type":"string"},"OT":{"format":"double","description":"Order Tax","type":"number"},"RQD":{"format":"int32","description":"Retail Quantity Delivered","type":"integer"},"CQD":{"format":"int32","description":"Consumable Quantity Delivered","type":"integer"},"UPD":{"format":"double","description":"Unit Price Delivered","type":"number"},"DTD":{"format":"int32","description":"Discount Type Delivered","type":"integer"},"DVD":{"format":"double","description":"Discount Value Delivered","type":"number"},"DT":{"format":"double","description":"Delivery Tax","type":"number"},"DTN":{"description":"Delivery Tax Group Name","type":"string"},"Notes":{"description":"product notes","type":"string"}}},"CheckoutRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"AppointmentGroupId":{"type":"string"}}},"CheckoutResponse":{"type":"object","properties":{"Invoice":{"$ref":"#/definitions/InvoiceModel"},"PaymentOptions":{"type":"array","items":{"$ref":"#/definitions/PaymentOptionModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"InvoiceModel":{"type":"object","properties":{"Id":{"type":"string"},"InvoiceNumber":{"type":"string"},"ReceiptNumber":{"type":"string"},"AppointmentGroupId":{"type":"string"},"IsRebooking":{"type":"boolean"},"Notes":{"type":"string"},"Guest":{"$ref":"#/definitions/GuestModel"},"Price":{"$ref":"#/definitions/PriceModel"},"SaleDate":{"format":"date-time","type":"string"},"Status":{"enum":["Open","Processed","Closed","NotSpecified"],"type":"string"},"InvoiceServices":{"type":"array","items":{"$ref":"#/definitions/InvoiceServiceModel"}},"InvoiceProducts":{"type":"array","items":{"$ref":"#/definitions/InvoiceProductModel"}},"InvoiceMemberships":{"type":"array","items":{"$ref":"#/definitions/InvoiceMembershipBuyModel"}},"InvoiceSeriesPackages":{"type":"array","items":{"$ref":"#/definitions/InvoiceSeriesPackageBuyModel"}},"InvoiceGiftCards":{"type":"array","items":{"$ref":"#/definitions/InvoiceGiftCardBuyModel"}},"Payments":{"type":"array","items":{"$ref":"#/definitions/PaymentModel"}},"Redemptions":{"type":"array","items":{"$ref":"#/definitions/RedemptionModel"}},"RefundItems":{"type":"array","items":{"$ref":"#/definitions/RefundItemModel"}}}},"PaymentOptionModel":{"type":"object","properties":{"Id":{"type":"string"},"PaymentMode":{"enum":["Cash","GiftCard","Membership","Package","Custom","CreditCard","Cheque","LoyaltyPoints","Cashback","PrepaidCard"],"type":"string"},"PaymentName":{"type":"string"},"CardNumber":{"type":"string"}}},"InvoiceServiceModel":{"type":"object","properties":{"AppointmentService":{"$ref":"#/definitions/AppointmentServiceModel"},"AppliedMembership":{"$ref":"#/definitions/InvoiceMembershipModel"},"AppliedPackage":{"$ref":"#/definitions/InvoicePackageModel"},"AppliedDiscount":{"$ref":"#/definitions/InvoiceDiscountModel"}}},"InvoiceProductModel":{"type":"object","properties":{"AppointmentProduct":{"$ref":"#/definitions/AppointmentProductModel"},"AppliedMembership":{"$ref":"#/definitions/InvoiceMembershipModel"},"AppliedPackage":{"$ref":"#/definitions/InvoicePackageModel"},"AppliedDiscount":{"$ref":"#/definitions/InvoiceDiscountModel"}}},"InvoiceMembershipBuyModel":{"type":"object","properties":{"AppointmentMembership":{"$ref":"#/definitions/AppointmentMembershipModel"},"AppliedMembership":{"$ref":"#/definitions/InvoiceMembershipModel"},"AppliedPackage":{"$ref":"#/definitions/InvoicePackageModel"},"AppliedDiscount":{"$ref":"#/definitions/InvoiceDiscountModel"}}},"InvoiceSeriesPackageBuyModel":{"type":"object","properties":{"AppointmentSeriesPackage":{"$ref":"#/definitions/AppointmentSeriesPackageModel"},"AppliedMembership":{"$ref":"#/definitions/InvoiceMembershipModel"},"AppliedPackage":{"$ref":"#/definitions/InvoicePackageModel"},"AppliedDiscount":{"$ref":"#/definitions/InvoiceDiscountModel"}}},"InvoiceGiftCardBuyModel":{"type":"object","properties":{"AppointmentGiftCard":{"$ref":"#/definitions/AppointmentGiftCardModel"},"AppliedMembership":{"$ref":"#/definitions/InvoiceMembershipModel"},"AppliedPackage":{"$ref":"#/definitions/InvoicePackageModel"},"AppliedDiscount":{"$ref":"#/definitions/InvoiceDiscountModel"}}},"PaymentModel":{"type":"object","properties":{"PaymentOption":{"$ref":"#/definitions/PaymentOptionModel"},"TotalAmountPaid":{"format":"double","type":"number"},"AmountPaid":{"format":"double","type":"number"},"TipAmount":{"format":"double","type":"number"},"SSGAmount":{"format":"double","type":"number"},"TransactionId":{"type":"string"},"PaymentDate":{"format":"date-time","type":"string"}}},"RedemptionModel":{"type":"object","properties":{"Option":{"$ref":"#/definitions/RedemptionOptionModel"},"Amount":{"format":"double","type":"number"},"TransactionId":{"type":"string"},"PaymentDate":{"format":"date-time","type":"string"}}},"RefundItemModel":{"type":"object","properties":{"InvoiceItemId":{"type":"string"},"ItemId":{"type":"string"},"Quantity":{"format":"int32","type":"integer"},"RefundAmount":{"format":"double","type":"number"},"RefundDate":{"format":"date-time","type":"string"}}},"InvoiceMembershipModel":{"type":"object","properties":{"MembershipId":{"type":"string"},"DiscountAmount":{"format":"double","type":"number"},"Action":{"type":"string"}}},"InvoicePackageModel":{"type":"object","properties":{"PackageId":{"type":"string"},"DiscountAmount":{"format":"double","type":"number"},"Action":{"type":"string"}}},"InvoiceDiscountModel":{"type":"object","properties":{"DiscountId":{"type":"string"},"CampaignId":{"type":"string"},"CouponId":{"format":"int32","type":"integer"},"Action":{"type":"string"},"Type":{"enum":["Manual","Campaign","Coupon"],"type":"string"},"DiscountAmount":{"format":"double","type":"number"}}},"RedemptionOptionModel":{"type":"object","properties":{"Id":{"type":"string"},"Mode":{"enum":["Membership","LoyaltyPoints","GiftCard"],"type":"string"},"Name":{"type":"string"}}},"ApplyDiscountRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"DiscountId":{"type":"string"},"DiscountAmount":{"format":"double","type":"number"}}},"ApplyDiscountResponse":{"type":"object","properties":{"IsDiscountApplied":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"InitiatePaymentCreditCardRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"Amount":{"format":"double","type":"number"},"TipAmount":{"format":"double","type":"number"},"CreditCardGateway":{"type":"string"},"Source":{"enum":["Web","WebStore","CheckWeb","CheckWebStore","Dunning","Mobile","MobilePOS"],"type":"string"},"CashRegisterId":{"type":"string"}}},"InitiatePaymentCreditCardResponse":{"type":"object","properties":{"OrderId":{"type":"string"},"CreditCardGateway":{"type":"string"},"GatewaySettings":{"type":"object","additionalProperties":{"type":"string"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AddPaymentRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"InvoiceId":{"type":"string"},"GuestId":{"type":"string"},"Amount":{"format":"double","type":"number"},"TipAmount":{"format":"double","type":"number"},"CashRegisterId":{"type":"string"},"CustomPayment":{"$ref":"#/definitions/CustomPaymentModel"},"PaymentOption":{"$ref":"#/definitions/PaymentOptionModel"}}},"CustomPaymentModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"CollectAdditionalData":{"type":"boolean"}}},"AddPaymentResponse":{"type":"object","properties":{"IsPaymentAdded":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"AddCashPaymentRequest":{"type":"object","properties":{"Amount":{"format":"double","type":"number"},"TipAmount":{"format":"double","type":"number"},"CashRegisterId":{"type":"string"}}},"AddCashPaymentResponse":{"type":"object","properties":{"IsCashPaymentAdded":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"AddCustomPaymentRequest":{"type":"object","properties":{"Amount":{"format":"double","type":"number"},"TipAmount":{"format":"double","type":"number"},"CashRegisterId":{"type":"string"},"CustomPaymentId":{"type":"string"},"AdditionalData":{"type":"string"}}},"AddCustomPaymentResponse":{"type":"object","properties":{"IsCustomPaymentAdded":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"AddPaymentCreditCardRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"CreditCardGateway":{"type":"string"},"Amount":{"format":"double","type":"number"},"TipAmount":{"format":"double","type":"number"},"transaction":{"$ref":"#/definitions/Object"},"Source":{"enum":["Web","WebStore","CheckWeb","CheckWebStore","Dunning","Mobile","MobilePOS"],"type":"string"},"CashRegisterId":{"type":"string"}}},"AddPaymentCreditCardResponse":{"type":"object","properties":{"Invoice":{"$ref":"#/definitions/InvoiceModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AddPaymentSavedCardRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"CardId":{"type":"string"},"CreditCardGateway":{"type":"string"},"Amount":{"format":"double","type":"number"},"TipAmount":{"format":"double","type":"number"},"Source":{"enum":["Web","WebStore","CheckWeb","CheckWebStore","Dunning","Mobile","MobilePOS"],"type":"string"},"CashRegisterId":{"type":"string"}}},"AddPaymentSavedCardResponse":{"type":"object","properties":{"Invoice":{"$ref":"#/definitions/InvoiceModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"RefundRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"RefundItems":{"type":"array","items":{"$ref":"#/definitions/RefundItemModel"}},"RefundPayments":{"type":"array","items":{"$ref":"#/definitions/PaymentModel"}},"Source":{"enum":["Web","WebStore","CheckWeb","CheckWebStore","Dunning","Mobile","MobilePOS"],"type":"string"},"CashRegisterId":{"type":"string"},"RefundTip":{"type":"boolean"}}},"RefundResponse":{"type":"object","properties":{"RefundInvoice":{"$ref":"#/definitions/InvoiceModel"},"ToppedPrepaidCard":{"$ref":"#/definitions/PrepaidCardModel"},"RefundErrors":{"type":"array","items":{"$ref":"#/definitions/RefundFailure"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"PrepaidCardModel":{"type":"object","properties":{"Id":{"type":"string"},"Code":{"type":"string"},"Value":{"format":"double","type":"number"},"ValidityDays":{"format":"int32","type":"integer"},"IsOneTimeUse":{"type":"boolean"},"ExpiryDate":{"format":"date-time","type":"string"}}},"RefundFailure":{"type":"object","properties":{"RefundPayment":{"$ref":"#/definitions/PaymentModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"ApplyCouponRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"CouponNumber":{"format":"int32","type":"integer"}}},"ApplyCouponResponse":{"type":"object","properties":{"IsCouponApplied":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"AdjustPriceRequest":{"type":"object","properties":{"InvoiceItemId":{"type":"string"},"NewSalePrice":{"format":"double","type":"number"},"NewDiscountAmount":{"format":"double","type":"number"},"Authority":{"$ref":"#/definitions/Credentials"}}},"Credentials":{"type":"object","properties":{"UserName":{"type":"string"},"GrantType":{"enum":["Password","Passcode","Mastercode"],"type":"string"},"Password":{"type":"string"}}},"AdjustPriceResponse":{"type":"object","properties":{"IsPriceAdjusted":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"AdjustedInvoice":{"$ref":"#/definitions/InvoiceModel"}}},"InvoiceCloseRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"}}},"InvoiceCloseResponse":{"type":"object","properties":{"IsInvoiceClosed":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Status":{"enum":["NoShow","Cancelled","New","Closed","Checkin","Confirm","Break","NotSpecified"],"type":"string"}}},"InvoiceReOpenRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"Comments":{"type":"string"}}},"InvoiceReOpenResponse":{"type":"object","properties":{"IsInvoiceReOpen":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Status":{"enum":["NoShow","Cancelled","New","Closed","Checkin","Confirm","Break","NotSpecified"],"type":"string"}}},"AddInvoiceRequest":{"type":"object","properties":{"Invoice":{"$ref":"#/definitions/InvoiceModel"},"CenterId":{"type":"string"},"GuestId":{"type":"string"},"IsForced":{"type":"boolean"},"Notes":{"type":"string"}}},"AddInvoiceResponse":{"type":"object","properties":{"Checkout":{"$ref":"#/definitions/CheckoutResponse"},"IsInvoiceAdded":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"UpdateInvoiceRequest":{"type":"object","properties":{"Invoice":{"$ref":"#/definitions/InvoiceModel"},"IsForced":{"type":"boolean"}}},"UpdateInvoiceResponse":{"type":"object","properties":{"Checkout":{"$ref":"#/definitions/CheckoutResponse"},"IsInvoiceUpdated":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"ApplyMembershipRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"MembershipUserId":{"type":"string"},"Amount":{"format":"double","type":"number"}}},"ApplyMembershipResponse":{"type":"object","properties":{"IsMembershipApplied":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"ApplyPackagesRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"PackageUserId":{"type":"string"}}},"ApplyPackagesResponse":{"type":"object","properties":{"IsPackageApplied":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"ApplyLoyaltyPointsRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"ProgramId":{"type":"string"},"Points":{"format":"double","type":"number"}}},"ApplyLoyaltyPointsResponse":{"type":"object","properties":{"IsLoyaltyPointsApplied":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"ApplyGiftCardRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"CardNumber":{"type":"string"},"Amount":{"format":"double","type":"number"},"TipAmount":{"format":"double","type":"number"},"CashRegisterId":{"type":"string"}}},"ApplyGiftCardResponse":{"type":"object","properties":{"IsGiftCardApplied":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"UnapplyMembershipRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"MembershipUserId":{"type":"string"},"ApplyCredits":{"type":"boolean"}}},"UnapplyMembershipResponse":{"type":"object","properties":{"IsMembershipUnapplied":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"UnapplyItemMembershipRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"InvoiceItemId":{"type":"string"},"MembershipUserId":{"type":"string"}}},"UnapplyItemMembershipResponse":{"type":"object","properties":{"IsMembershipUnapplied":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"UnapplyPackagesRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"PackageUserId":{"type":"string"}}},"UnapplyPackagesResponse":{"type":"object","properties":{"IsPackageUnapplied":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"UnapplyLoyaltyPointsRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"}}},"UnapplyLoyaltyPointsResponse":{"type":"object","properties":{"IsLoyaltyPointsUnapplied":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"UnapplyGiftCardRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"}}},"UnapplyGiftCardResponse":{"type":"object","properties":{"IsGiftCardUnapplied":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"},"Invoice":{"$ref":"#/definitions/InvoiceModel"}}},"SendReceiptMailRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"Email":{"type":"string"}}},"SendReceiptMailResponse":{"type":"object","properties":{"IsReceiptMailSent":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SaveCardOnFileRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"GuestId":{"type":"string"},"CardToken":{"type":"string"},"CreditCardGateway":{"type":"string"},"Source":{"enum":["Web","WebStore","CheckWeb","CheckWebStore","Dunning","Mobile","MobilePOS"],"type":"string"},"CashRegisterId":{"type":"string"}}},"SaveCardOnFileResponse":{"type":"object","properties":{"SavedCard":{"$ref":"#/definitions/CreditCardOnFileModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SearchInvoicesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"SearchValue":{"type":"string"},"PageNum":{"format":"int32","type":"integer"},"PageSize":{"format":"int32","type":"integer"}}},"SearchInvoicesResponse":{"type":"object","properties":{"Invoices":{"type":"array","items":{"$ref":"#/definitions/InvoiceSummaryModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"InvoiceSummaryModel":{"type":"object","properties":{"InvoiceId":{"type":"string"},"InvoiceNumber":{"type":"string"},"ReceiptNumber":{"type":"string"},"SaleDate":{"format":"date-time","type":"string"},"Guest":{"$ref":"#/definitions/GuestModel"},"Price":{"$ref":"#/definitions/PriceModel"},"Status":{"enum":["Open","Processed","Closed","NotSpecified"],"type":"string"},"AppointmentStatus":{"enum":["NoShow","Cancelled","New","Closed","Checkin","Confirm","Break","NotSpecified"],"type":"string"}}},"GetEmployeeTipsResponse":{"type":"object","properties":{"EmployeeTips":{"type":"array","items":{"$ref":"#/definitions/EmployeeTipModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"EmployeeTipModel":{"type":"object","properties":{"Employee":{"$ref":"#/definitions/TherapistModel"},"TipAmount":{"format":"double","type":"number"}}},"ApplyTipsRequest":{"type":"object","properties":{"InvoiceId":{"type":"string"},"EmployeeTips":{"type":"array","items":{"$ref":"#/definitions/EmployeeTipModel"}}}},"ApplyTipsResponse":{"type":"object","properties":{"EmployeeTips":{"type":"array","items":{"$ref":"#/definitions/EmployeeTipModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"RemovePaymentRequest":{"type":"object","properties":{"TransactionId":{"type":"string"},"InvoiceId":{"type":"string"},"CashRegisterId":{"type":"string"}}},"RemovePaymentResponse":{"type":"object","properties":{"IsPaymentRemoved":{"type":"boolean"},"Invoice":{"$ref":"#/definitions/InvoiceModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"RemovePaymentCreditCardRequest":{"type":"object","properties":{"TransactionId":{"type":"string"},"InvoiceId":{"type":"string"},"RefundAmount":{"format":"double","type":"number"},"CardTransactionId":{"type":"string"},"CashRegisterId":{"type":"string"},"RefundTip":{"type":"boolean"}}},"RemovePaymentCreditCardResponse":{"type":"object","properties":{"IsPaymentRemoved":{"type":"boolean"},"Invoice":{"$ref":"#/definitions/InvoiceModel"},"Error":{"$ref":"#/definitions/ApiResponseError"},"RefundTransaction":{"$ref":"#/definitions/CardTransactionModel"}}},"CardTransactionModel":{"type":"object","properties":{"TransactionId":{"type":"string"},"TransactionAmount":{"format":"double","type":"number"},"TipAmount":{"format":"double","type":"number"},"SSGAmount":{"format":"double","type":"number"},"TransactionDate":{"format":"date-time","type":"string"},"CardTransactionId":{"type":"string"},"LastFour":{"type":"string"},"CardType":{"enum":["CreditCard","DebitCard","Other"],"type":"string"},"CardBrand":{"enum":["Visa","MasterCard","Maestro","Amex","DinersClub","Discover","Beam","DebitCard","NetsNets","VisaElectron","Other"],"type":"string"},"TransactionType":{"enum":["Authorize","Sale","CreateAccount","UpdateAccount","RecurringSale","Void","Refund","Reversal","AuthorizationComplete"],"type":"string"},"TransactionStatus":{"type":"string"},"IsSwipe":{"type":"boolean"},"TransactionSource":{"enum":["Web","WebStore","CheckWeb","CheckWebStore","Dunning","Mobile","MobilePOS"],"type":"string"}}},"RelatedTransactionsResponse":{"type":"object","properties":{"CardTransactions":{"type":"array","items":{"$ref":"#/definitions/CardTransactionModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"UpdateSSGRequest":{"type":"object","properties":{"Authorization":{"$ref":"#/definitions/Credentials"},"SSG":{"format":"double","type":"number"}}},"UpdateSSGResponse":{"type":"object","properties":{"IsSSGChanged":{"type":"boolean"},"Invoice":{"$ref":"#/definitions/InvoiceModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetMembershipsRequest":{"type":"object","properties":{"GuestId":{"type":"string"},"CenterId":{"type":"string"},"ShowInCatalog":{"type":"boolean"}}},"GetMembershipsResponse":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"},"Memberships":{"type":"array","items":{"$ref":"#/definitions/MembershipModel"}},"total":{"format":"int32","type":"integer"}}},"GetMembershipsDetailsResponse":{"type":"object","properties":{"MembershipDetails":{"$ref":"#/definitions/MembershipDetailModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"MembershipDetailModel":{"type":"object","properties":{"Days":{"format":"int32","type":"integer"},"SaleStartDate":{"format":"date-time","type":"string"},"SaleEndDate":{"format":"date-time","type":"string"},"CreditAmount":{"format":"double","type":"number"},"CreditAmountExpiration":{"type":"boolean"},"NumGuests":{"format":"int32","type":"integer"},"Code":{"type":"string"},"BusinessUnitId":{"type":"string"},"Months":{"format":"int32","type":"integer"},"TermsandConditions":{"type":"string"},"Type":{"format":"int32","type":"integer"},"CategoryId":{"type":"string"},"Description":{"type":"string"},"HTMLDescription":{"type":"string"},"Id":{"type":"string"},"VersionId":{"type":"string"},"Name":{"type":"string"},"Price":{"$ref":"#/definitions/PriceModel"},"CanBook":{"type":"boolean"},"ShowPrice":{"type":"boolean"},"DisplayName":{"type":"string"},"DisplayPrice":{"type":"string"},"ImagePaths":{"type":"object","additionalProperties":{"type":"string"}}}},"GetTagsRequest":{"type":"object","properties":{"ClassId":{"format":"int64","type":"integer"}}},"GetAvailableTagsResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/TagsModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"TagsModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"IsAssociated":{"format":"int32","type":"integer"}}},"GetCustomPaymentDataResponse":{"type":"object","properties":{"CustomPaymentData":{"type":"array","items":{"$ref":"#/definitions/CustomPaymentModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetPodDetailsResponse":{"type":"object","properties":{"Pod":{"$ref":"#/definitions/PodModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"PodModel":{"type":"object","properties":{"PodName":{"type":"string"},"AccountName":{"type":"string"},"MachineName":{"type":"string"},"SiteName":{"type":"string"},"ApiVersion":{"type":"string"}}},"GetOrganizationDetailsResponse":{"type":"object","properties":{"Organization":{"$ref":"#/definitions/OrganizationModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"OrganizationModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"AccountName":{"type":"string"},"LogoUrl":{"type":"string"},"Address":{"type":"string"}}},"GetGiftTypesResponse":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"},"GiftCardTypes":{"type":"array","items":{"$ref":"#/definitions/GiftTypeModel"}}}},"GiftTypeModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"}}},"IsGiftCardAvailableResponse":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"},"GiftCardAvailable":{"type":"boolean"}}},"GetOrganizationGuestSettingsResponse":{"type":"object","properties":{"Settings":{"$ref":"#/definitions/OrganizationGuestSettings"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"OrganizationGuestSettings":{"type":"object","properties":{"IsRoomMandatoryForAppointment":{"type":"boolean"},"IsMobileNumberMandatory":{"type":"boolean"},"PhoneNumberRange":{"type":"string"},"GuestMandatoryFields":{"type":"array","items":{"type":"string"}},"SearchGuestAcrossCenters":{"type":"boolean"}}},"GetOrganizationInvoiceSettingsResponse":{"type":"object","properties":{"Settings":{"$ref":"#/definitions/OrganizationInvoiceSettings"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"OrganizationInvoiceSettings":{"type":"object","properties":{"EnablePriceIncrease":{"type":"boolean"},"EnablePriceAdjustment":{"type":"boolean"},"EnforceSaleByProductsSale":{"type":"boolean"}}},"GetOrganizationGeneralSettingsResponse":{"type":"object","properties":{"Settings":{"$ref":"#/definitions/OrganizationGeneralSettings"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"OrganizationGeneralSettings":{"type":"object","properties":{"FinancialDataLockDate":{"format":"date-time","type":"string"},"FinancialDataLockDays":{"format":"int32","type":"integer"},"EnforceInactivityLogin":{"type":"boolean"},"CreditCardEntryForAppointment":{"enum":["NotRequired","Warn","Required"],"type":"string"}}},"GetBusinessUnitsResponse":{"type":"object","properties":{"BusinessUnits":{"type":"array","items":{"$ref":"#/definitions/BusinessUnitModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"BusinessUnitModel":{"type":"object","properties":{"Name":{"type":"string"},"Description":{"type":"string"},"OrganizationId":{"type":"string"},"Id":{"format":"int64","type":"integer"}}},"GetReasonsRequest":{"type":"object","properties":{"Object":{"enum":["Membership","TurnAway","Appointment"],"type":"string"},"Action":{"enum":["Cancel"],"type":"string"}}},"GetReasonsResponse":{"type":"object","properties":{"Reasons":{"type":"array","items":{"$ref":"#/definitions/ReasonModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"ReasonModel":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"Name":{"type":"string"}}},"GetPackagesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"AppointmentDate":{"format":"date-time","type":"string"},"Type":{"enum":["DayPackage","SeriesPackage","PromoPackage"],"type":"string"}}},"GetPackagesResponse":{"type":"object","properties":{"Error":{"$ref":"#/definitions/ApiResponseError"},"Packages":{"type":"array","items":{"$ref":"#/definitions/PackageModel"}}}},"GetPackageServicesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"PackageId":{"type":"string"}}},"GetPackageServicesResponse":{"type":"object","properties":{"Services":{"type":"array","items":{"$ref":"#/definitions/ServiceModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetProductCategoriesRequest":{"type":"object","properties":{"CenterId":{"type":"string"}}},"GetProductCategoriesResponse":{"type":"object","properties":{"Categories":{"type":"array","items":{"$ref":"#/definitions/ProductCategoryModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"ProductCategoryModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"ProductsCount":{"format":"int32","type":"integer"}}},"GetProductsRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"CategoryId":{"type":"string"},"PageNum":{"format":"int32","type":"integer"},"PageSize":{"format":"int32","type":"integer"}}},"GetProductsResponse":{"type":"object","properties":{"ProductsCount":{"format":"int32","type":"integer"},"Products":{"type":"array","items":{"$ref":"#/definitions/ProductModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SearchProductsRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"SearchValue":{"type":"string"},"BarCode":{"type":"string"}}},"SearchProductsResponse":{"type":"object","properties":{"Products":{"type":"array","items":{"$ref":"#/definitions/ProductModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetProductMasterListRequest":{"type":"object","properties":{"OrganizationId":{"type":"string"},"CenterId":{"type":"string"},"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetProductMasterListResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/ProductMasterListModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"},"total":{"format":"int32","type":"integer"}}},"ProductMasterListModel":{"type":"object","properties":{"Id":{"description":"Product Id","type":"string"},"Code":{"description":"Product Code","type":"string"},"Name":{"description":"Product Name","type":"string"},"Cat":{"description":"Category","type":"string"},"SC":{"description":"Sub Category","type":"string"},"Desc":{"description":"Description","type":"string"},"BU":{"description":"Business Unit","type":"string"},"BC":{"description":"Barcodes","type":"array","items":{"type":"string"}},"Amt":{"format":"double","description":"Amount","type":"number"},"Unit":{"description":"Unit","type":"string"},"MRP":{"format":"double","description":"MRP","type":"number"},"IC":{"description":"Is Consumable","type":"boolean"},"IR":{"description":"Is Retail","type":"boolean"},"ICom":{"description":"Is Commissionable","type":"boolean"},"CA":{"format":"double","description":"Commission Adjustment","type":"number"},"CT":{"format":"int32","description":"Commission Type","type":"integer"},"Tags":{"description":"Tags","type":"array","items":{"type":"string"}},"IU":{"description":"In Use","type":"boolean"}}},"GetRevenueInvoiceItemRequest":{"type":"object","properties":{"CenterId":{"description":"Center for which the Revenue has to be retrieved. This parameter is mandatory","type":"string"},"StartDate":{"format":"date-time","description":"The date from which the api has to retrieve the data. By default considers the current date.","type":"string"},"EndDate":{"format":"date-time","description":"The date till which the api has to retrieve the data. By default considers the current date.","type":"string"},"ItemType":{"format":"int32","description":"The type of items for which the api has to return the data. By default gives the revenue for all types of items. -1: all other item types,7-Prepaid card","type":"integer"},"MembershipType":{"format":"int32","description":"Specify for the kind of memberships for which the revenue is to be retrieved. -1 :all 0:non recurring 1:recurring. By default it gives data for all.","type":"integer"},"IncludeExpiredPackageRevenue":{"description":"Specify if the api has to consider the revenue from the expired packages or not. If not specified api considers the value configured for the Organization.","type":"boolean"},"ConsiderRefunds":{"description":"Should the api consider the refunds while retrieving the revenue","type":"boolean"}}},"GetRevenueInvoiceItemResponse":{"type":"object","properties":{"TotalRows":{"format":"int32","description":"Total rows retrieved through the api","type":"integer"},"CenterCode":{"description":"Center Code for which the Revenue is retrieved","type":"string"},"CenterName":{"description":"Center Name for which the Revenue is retrieved","type":"string"},"InvoiceItems":{"description":"Revenue for each invoice item in the given period for the center","type":"array","items":{"$ref":"#/definitions/RevenueInvoiceItemModel"}},"Error":{"$ref":"#/definitions/ApiResponseError","description":"Specifies the error while making an api call"}}},"RevenueInvoiceItemModel":{"type":"object","properties":{"GC":{"description":"Guest Code","type":"string"},"Guest":{"description":"Guest","type":"string"},"Gender":{"description":"Gender","enum":["Any","Female","Male","Specific","Multiple"],"type":"string"},"InvNum":{"description":"Invoice Number","type":"string"},"ID":{"format":"date-time","description":"Invoice Date","type":"string"},"CD":{"format":"date-time","description":"Closed Date","type":"string"},"IN":{"description":"Item Name","type":"string"},"Cat":{"description":"Category","type":"string"},"SC":{"description":"Sub Category","type":"string"},"Qty":{"format":"int32","description":"Quantity","type":"integer"},"CR":{"format":"double","description":"Cash Revenue","type":"number"},"MRR":{"format":"double","description":"Membership Redemption Revenue","type":"number"},"MSRR":{"format":"double","description":"Membership Service Redemption Revenue","type":"number"},"MIRR":{"format":"double","description":"Membership Initial Recognized Revenue","type":"number"},"MMRR":{"format":"double","description":"Membership Monthly Recognized Revenue","type":"number"},"PIRR":{"format":"double","description":"Package Initial Recognition Revenue","type":"number"},"PRR":{"format":"double","description":"Package Redemption Revenue","type":"number"},"GCR":{"format":"double","description":"GiftCard Revenue","type":"number"},"RFEP":{"format":"double","description":"Revenue From Expired Packages","type":"number"},"PPCR":{"format":"double","description":"Prepaid Card Revenue","type":"number"},"TR":{"format":"double","description":"Total Revenue","type":"number"}}},"GetServiceCategoriesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"ParentCategoryId":{"type":"string"}}},"GetServiceCategoriesResponse":{"type":"object","properties":{"Categories":{"type":"array","items":{"$ref":"#/definitions/ServiceCategoryModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"ServiceCategoryModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"ServicesCount":{"format":"int32","type":"integer"}}},"GetServicesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"CategoryId":{"type":"string"},"PageNum":{"format":"int32","type":"integer"},"PageSize":{"format":"int32","type":"integer"}}},"GetServicesResponse":{"type":"object","properties":{"ServicesCount":{"format":"int32","type":"integer"},"Services":{"type":"array","items":{"$ref":"#/definitions/ServiceModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AddServiceRequest":{"type":"object","properties":{"ServiceDetails":{"$ref":"#/definitions/ServiceDetailModel"},"ServicePrices":{"type":"array","items":{"$ref":"#/definitions/ServicePrice"}}}},"ServiceDetailModel":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"Code":{"type":"string"},"Duration":{"format":"int32","type":"integer"},"RecoveryTime":{"format":"int32","type":"integer"},"CategoryId":{"type":"string"},"SubCategoryId":{"type":"string"}}},"ServicePrice":{"type":"object","properties":{"ServiceId":{"type":"string"},"IsTaxIncluded":{"type":"boolean"},"SalePrice":{"format":"double","type":"number"},"CenterTaxId":{"type":"string"},"Center":{"$ref":"#/definitions/CenterModel"}}},"AddServiceResponse":{"type":"object","properties":{"IsServiceAdded":{"type":"boolean"},"ServiceDetails":{"$ref":"#/definitions/ServiceDetailModel"},"ServicePrices":{"type":"array","items":{"$ref":"#/definitions/ServicePrice"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SearchServicesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"SearchValue":{"type":"string"},"Preference":{"enum":["Any","Female","Male","Specific","Multiple"],"type":"string"},"TherapistId":{"type":"string"},"IncludeDayPackages":{"type":"boolean"}}},"SearchServicesResponse":{"type":"object","properties":{"Services":{"type":"array","items":{"$ref":"#/definitions/ServiceModel"}},"Packages":{"type":"array","items":{"$ref":"#/definitions/PackageModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetServiceDetailResponse":{"type":"object","properties":{"ServiceDetail":{"$ref":"#/definitions/ServiceDetailModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"UpdateServiceRequest":{"type":"object","properties":{"ServiceDetails":{"$ref":"#/definitions/ServiceDetailModel"},"ServicePrices":{"type":"array","items":{"$ref":"#/definitions/ServicePrice"}}}},"UpdateServiceResponse":{"type":"object","properties":{"IsServiceUpdated":{"type":"boolean"},"ServiceDetails":{"$ref":"#/definitions/ServiceDetailModel"},"ServicePrices":{"type":"array","items":{"$ref":"#/definitions/ServicePrice"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetServicePricesRequest":{"type":"object","properties":{"ServiceId":{"type":"string"}}},"GetServicePricesResponse":{"type":"object","properties":{"ServicePrices":{"type":"array","items":{"$ref":"#/definitions/ServicePrice"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetTherapistsForServiceRequest":{"type":"object","properties":{"ServiceId":{"type":"string"},"CenterId":{"type":"string"}}},"GetTherapistsForServiceResponse":{"type":"object","properties":{"Therapists":{"type":"array","items":{"$ref":"#/definitions/TherapistModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetRoomsForServiceRequest":{"type":"object","properties":{"ServiceId":{"type":"string"},"CenterId":{"type":"string"},"TherapistId":{"type":"string"},"StartTime":{"format":"date-time","type":"string"},"AppointmentId":{"type":"string"}}},"GetRoomsForServiceResponse":{"type":"object","properties":{"Rooms":{"type":"array","items":{"$ref":"#/definitions/RoomModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetAdminRoomsForServiceRequest":{"type":"object","properties":{"ServiceId":{"type":"string"},"CenterId":{"type":"string"}}},"GetAdminRoomsForServiceResponse":{"type":"object","properties":{"Rooms":{"type":"array","items":{"$ref":"#/definitions/RoomModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetEquipmentsForServiceRequest":{"type":"object","properties":{"ServiceId":{"type":"string"},"CenterId":{"type":"string"},"AppointmentId":{"type":"string"},"RoomId":{"type":"string"}}},"GetEquipmentsForServiceResponse":{"type":"object","properties":{"Equipments":{"type":"array","items":{"$ref":"#/definitions/EquipmentModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetAdminEquipmentsForServiceRequest":{"type":"object","properties":{"ServiceId":{"type":"string"},"CenterId":{"type":"string"}}},"GetAdminEquipmentsForServiceResponse":{"type":"object","properties":{"Equipments":{"type":"array","items":{"$ref":"#/definitions/EquipmentModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetAddOnsRequest":{"type":"object","properties":{"CenterId":{"type":"string"}}},"GetAddOnsResponse":{"type":"object","properties":{"AddOns":{"type":"array","items":{"$ref":"#/definitions/ServiceModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetClassesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"ClassName":{"type":"string"},"ExpandedPaths":{"type":"string"},"ShowInCatalog":{"format":"int32","type":"integer"},"SelectedDate":{"format":"date-time","type":"string"},"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetClassesResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/ClassModel"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"ClassModel":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"Name":{"type":"string"},"Code":{"type":"string"},"Price":{"$ref":"#/definitions/PriceModel"},"Duration":{"format":"int32","type":"integer"},"CategoryId":{"format":"int64","type":"integer"},"CategoryName":{"type":"string"},"ParentCategoryName":{"type":"string"},"BusinessUnitName":{"type":"string"},"Level":{"format":"int64","type":"integer"}}},"SetTrainingClassRequest":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"Name":{"type":"string"},"CategoryId":{"format":"int64","type":"integer"},"LevelId":{"format":"int64","type":"integer"},"Code":{"type":"string"},"Description":{"type":"string"},"RegistrationNotes":{"type":"string"},"HtmlDescription":{"type":"string"},"AllowNoshowFee":{"type":"boolean"},"AllowCancellationFee":{"type":"boolean"},"BusinessUnitId":{"format":"int64","type":"integer"},"Capacity":{"format":"int32","type":"integer"},"WaitlistLockWindow":{"format":"int32","type":"integer"},"InternalCost":{"format":"double","type":"number"},"DurationInMins":{"format":"int32","type":"integer"},"AllowDirectBooking":{"type":"boolean"},"ClassStartDate":{"format":"date-time","type":"string"},"ClassEndDate":{"format":"date-time","type":"string"},"AllowFreeSession":{"type":"boolean"},"EnableEnrollment":{"type":"boolean"},"CommissionModel":{"format":"int32","type":"integer"},"TagList":{"type":"array","items":{"$ref":"#/definitions/TagsModel"}},"CommissionDetails":{"$ref":"#/definitions/TrainingCommissionModel"}}},"TrainingCommissionModel":{"type":"object","properties":{"Rate":{"format":"double","type":"number"},"BonusMinGuests":{"format":"int32","type":"integer"},"BonusPerGuest":{"format":"double","type":"number"},"MinPay":{"format":"double","type":"number"},"MaxPay":{"format":"double","type":"number"},"IncrementalCommissionList":{"type":"array","items":{"$ref":"#/definitions/TrainingIncrementalCommissionModel"}}}},"TrainingIncrementalCommissionModel":{"type":"object","properties":{"CommissionLevel":{"format":"int32","type":"integer"},"CommissionFk":{"format":"int64","type":"integer"},"VersionId":{"type":"string"},"MinGuests":{"format":"int32","type":"integer"},"MaxGuests":{"format":"int32","type":"integer"},"BonusMinGuests":{"format":"int32","type":"integer"},"Rate":{"format":"double","type":"number"},"Void":{"type":"boolean"}}},"SetTrainingClassResponse":{"type":"object","properties":{"IsClassSaved":{"type":"boolean"},"ClassId":{"format":"int64","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"ExportClassesRequest":{"type":"object","properties":{"Format":{"type":"string"},"CenterId":{"type":"string"},"ClassName":{"type":"string"},"ExpandedPaths":{"type":"string"},"ShowInCatalog":{"format":"int32","type":"integer"},"SelectedDate":{"format":"date-time","type":"string"},"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetClassDetailsResponse":{"type":"object","properties":{"ClassDetail":{"$ref":"#/definitions/TrainingClassDetailModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"TrainingClassDetailModel":{"type":"object","properties":{"Code":{"type":"string"},"ParentCategoryId":{"format":"int64","type":"integer"},"CategoryName":{"type":"string"},"ParentCategoryName":{"type":"string"},"BusinessUnitId":{"format":"int64","type":"integer"},"InternalCost":{"format":"double","type":"number"},"DurationInMins":{"format":"int32","type":"integer"},"AllowFreeSession":{"type":"boolean"},"CommissionModel":{"format":"int32","type":"integer"},"CommissionDetails":{"$ref":"#/definitions/TrainingCommissionModel"},"InstructorList":{"type":"array","items":{"type":"string"}},"RoomsList":{"type":"array","items":{"type":"string"}},"CentersList":{"type":"array","items":{"$ref":"#/definitions/ClassCentersModel"}},"Id":{"format":"int64","type":"integer"},"Name":{"type":"string"},"CategoryId":{"format":"int64","type":"integer"},"ClassStartDate":{"format":"date-time","type":"string"},"ClassEndDate":{"format":"date-time","type":"string"},"Description":{"type":"string"},"HtmlDescription":{"type":"string"},"CatalogPrice":{"type":"string"},"Capacity":{"format":"int32","type":"integer"},"AllowWebBooking":{"type":"boolean"},"AllowDirectBooking":{"type":"boolean"},"AllowCancellationFee":{"type":"boolean"},"AllowNoshowFee":{"type":"boolean"},"DisplayName":{"type":"string"},"ShowInCatalog":{"format":"int32","type":"integer"},"WebCapacity":{"format":"int32","type":"integer"},"SortOrder":{"format":"int32","type":"integer"},"ShowPrice":{"type":"boolean"},"AllowWaitlist":{"type":"boolean"},"WaitlistLockWindow":{"format":"int32","type":"integer"},"EnableEnrollment":{"type":"boolean"},"LevelId":{"format":"int64","type":"integer"},"RegistrationNotes":{"type":"string"},"EnablePayments":{"type":"boolean"},"ImagePaths":{"type":"object","additionalProperties":{"type":"string"}}}},"ClassCentersModel":{"type":"object","properties":{"CenterId":{"type":"string"},"IncludesTax":{"type":"boolean"},"Price":{"format":"double","type":"number"},"CenterTaxId":{"type":"string"}}},"RemoveClassResponse":{"type":"object","properties":{"IsClassDeleted":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetCategoriesRequest":{"type":"object","properties":{"ParentCategoryId":{"format":"int64","type":"integer"},"CenterId":{"type":"string"}}},"GetCategoriesResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/TrainingCategoryModel"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"TrainingCategoryModel":{"type":"object","properties":{"CategoryDesc":{"type":"string"},"CategoryHtmlDesc":{"type":"string"},"ShowInCatalog":{"format":"int32","type":"integer"},"SortOrder":{"format":"int32","type":"integer"},"NumSessions":{"format":"int32","type":"integer"},"Id":{"format":"int64","type":"integer"},"Name":{"type":"string"},"ParentId":{"format":"int64","type":"integer"}}},"SetTrainingCategoryRequest":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"Name":{"type":"string"},"Description":{"type":"string"},"HtmlDescription":{"type":"string"},"ShowInCatalog":{"format":"int32","type":"integer"},"SortOrder":{"format":"int32","type":"integer"},"ParentCategoryId":{"format":"int64","type":"integer"}}},"SetTrainingCategoryResponse":{"type":"object","properties":{"IsCategorySaved":{"type":"boolean"},"CategoryId":{"format":"int64","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SetInstructorsRequest":{"type":"object","properties":{"Instructors":{"type":"array","items":{"$ref":"#/definitions/TrainingInstructorModel"}}}},"TrainingInstructorModel":{"type":"object","properties":{"Id":{"type":"string"},"IsAssociated":{"format":"int32","type":"integer"}}},"SetInstructorsResponse":{"type":"object","properties":{"Success":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SetRoomRequest":{"type":"object","properties":{"Rooms":{"type":"array","items":{"$ref":"#/definitions/TrainingRoomModel"}}}},"TrainingRoomModel":{"type":"object","properties":{"Id":{"type":"string"},"IsAssociated":{"format":"int32","type":"integer"}}},"SetRoomResponse":{"type":"object","properties":{"Success":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetTrainingLevelsRequest":{"type":"object","properties":{"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetTrainingLevelsResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/TrainingLevelModel"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"TrainingLevelModel":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"OrganizationId":{"type":"string"},"Name":{"type":"string"},"Code":{"type":"string"},"Description":{"type":"string"},"HTMLDesc":{"type":"string"},"LastUpdatedBy":{"type":"string"},"LastUpdated":{"format":"date-time","type":"string"},"SortOrder":{"format":"int32","type":"integer"},"Void":{"type":"boolean"},"Guid":{"type":"string"},"IsActive":{"type":"boolean"}}},"SetTrainingLevelRequest":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"Name":{"type":"string"},"Code":{"type":"string"},"Description":{"type":"string"},"HtmlDesc":{"type":"string"},"SortOrder":{"format":"int32","type":"integer"},"IsActive":{"type":"boolean"}}},"SetTrainingLevelResponse":{"type":"object","properties":{"IsTrainingLevelSaved":{"type":"boolean"},"Id":{"format":"int64","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetTrainingLevelDetailsResponse":{"type":"object","properties":{"TrainingLevelDetails":{"$ref":"#/definitions/TrainingLevelModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"RemoveTrainingLevelResponse":{"type":"object","properties":{"IsTrainingLevelDeleted":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetClassDurationOptionsResponse":{"type":"object","properties":{"ClassDurationOptions":{"type":"array","items":{"$ref":"#/definitions/ClassDurationModel"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"ClassDurationModel":{"type":"object","properties":{"ClassTimeDetailText":{"type":"string"},"ClassTimeDetailValue":{"type":"string"}}},"SetCatalogRequest":{"type":"object","properties":{"ShowInCatalog":{"format":"int32","type":"integer"},"DisplayName":{"type":"string"},"CatalogPrice":{"type":"string"},"WebCapacity":{"format":"int32","type":"integer"},"ShowPrice":{"type":"boolean"},"AllowWebBooking":{"type":"boolean"}}},"SetCatalogResponse":{"type":"object","properties":{"IsCatalogSaved":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SetTrainingCentersRequest":{"type":"object","properties":{"TrainingCenters":{"type":"array","items":{"$ref":"#/definitions/CentersAssocModel"}}}},"SetTrainingCentersResponse":{"type":"object","properties":{"Success":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"UploadClassImageResponse":{"type":"object","properties":{"AssetId":{"type":"string"},"ImagePaths":{"type":"object","additionalProperties":{"type":"string"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetClassImagesResponse":{"type":"object","properties":{"results":{"type":"string"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SetClassImageRequest":{"type":"object","properties":{"AssetId":{"type":"string"},"Remove":{"type":"boolean"}}},"SetClassImageResponse":{"type":"object","properties":{"IsSuccess":{"type":"boolean"},"ImagePaths":{"type":"object","additionalProperties":{"type":"string"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetDashboardFirstvisitsRequest":{"type":"object","properties":{"OrganizationId":{"type":"string"},"ZoneId":{"type":"string"},"CenterId":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"}}},"GetDashboardFirstvisitsResponse":{"type":"object","properties":{"FirstVisits":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetDashboardAttendanceRequest":{"type":"object","properties":{"OrganizationId":{"type":"string"},"ZoneId":{"type":"string"},"CenterId":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"}}},"GetDashboardAttendanceResponse":{"type":"object","properties":{"Attendance":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetDashboardFreeTrialsRequest":{"type":"object","properties":{"OrganizationId":{"type":"string"},"ZoneId":{"type":"string"},"CenterId":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"}}},"GetDashboardFreeTrialsResponse":{"type":"object","properties":{"FreeTrials":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetDashboardOnlineBookingsRequest":{"type":"object","properties":{"OrganizationId":{"type":"string"},"ZoneId":{"type":"string"},"CenterId":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"}}},"GetDashboardOnlineBookingsResponse":{"type":"object","properties":{"OnlineBookings":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetDashboadCenterSalesRequest":{"type":"object","properties":{"CenterId":{"type":"string"}}},"GetDashboadCenterSalesResponse":{"type":"object","properties":{"TotalSalesTargetTillDay":{"format":"double","type":"number"},"TotalSalesActual":{"format":"double","type":"number"},"ProjectedSales":{"format":"double","type":"number"},"TotalSalesTargetForMonth":{"format":"double","type":"number"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetDashboardNewMembersRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"}}},"GetDashboardNewMembersResponse":{"type":"object","properties":{"NewMembersCount":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetSchedulesSummaryRequest":{"type":"object","properties":{"ZoneId":{"type":"string"},"CenterId":{"type":"string"},"Status":{"enum":["Active","Cancelled","Upcoming","Inprogress","Completed"],"type":"string"},"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetSchedulesSummaryResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/ScheduleSummaryModel"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"ScheduleSummaryModel":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"RecurrenceId":{"format":"int64","type":"integer"},"CenterId":{"type":"string"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"InstructorId":{"type":"string"},"InstructorName":{"type":"string"},"RoomId":{"type":"string"},"RoomName":{"type":"string"},"Status":{"enum":["Active","Cancelled","Upcoming","Inprogress","Completed"],"type":"string"},"SessionsCount":{"format":"int32","type":"integer"},"RecurrenceDetails":{"$ref":"#/definitions/RecurrenceModel"}}},"RecurrenceModel":{"type":"object","properties":{"Type":{"format":"int32","type":"integer"},"Frequency":{"format":"int32","type":"integer"},"NumOccurrences":{"format":"int64","type":"integer"},"WeekDays":{"format":"int32","type":"integer"},"DaysofWeek":{"type":"string"}}},"EditScheduleRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"ScheduleType":{"format":"int32","type":"integer"},"ScheduleIds":{"type":"array","items":{"format":"int64","type":"integer"}},"RecurrenceId":{"format":"int64","type":"integer"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"InstructorId":{"type":"string"},"RoomId":{"type":"string"},"Capacity":{"format":"int32","type":"integer"},"IsFreeSession":{"type":"boolean"},"MoveToWaitiList":{"type":"boolean"},"OverrideConflictCheck":{"type":"boolean"},"EnforceEditonConflict":{"type":"boolean"}}},"EditScheduleResponse":{"type":"object","properties":{"IsScheduleUpdated":{"type":"boolean"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"AddScheduleRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"InstructorId":{"type":"string"},"RoomId":{"type":"string"},"Capacity":{"format":"int32","type":"integer"},"IsFreeSession":{"type":"boolean"},"IsRecurring":{"type":"boolean"},"RecurrenceStartTime":{"format":"date-time","type":"string"},"RecurrenceEndTime":{"format":"date-time","type":"string"},"RecurrenceType":{"format":"int32","type":"integer"},"Frequency":{"format":"int32","type":"integer"},"NumOccurrences":{"format":"int32","type":"integer"},"WeekDays":{"format":"int32","type":"integer"},"OverrideConflictCheck":{"type":"boolean"},"EnforceAddonConflict":{"type":"boolean"}}},"AddScheduleResponse":{"type":"object","properties":{"IsScheduleAdded":{"type":"boolean"},"Id":{"format":"int64","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"DeleteScheduleRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"RecurrenceId":{"format":"int64","type":"integer"},"ScheduleIds":{"type":"array","items":{"format":"int64","type":"integer"}}}},"DeleteScheduleResponse":{"type":"object","properties":{"DeletedIds":{"type":"array","items":{"format":"int64","type":"integer"}},"UnSuccessfulDeletions":{"type":"array","items":{"$ref":"#/definitions/FailedReasons"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"FailedReasons":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"Date":{"format":"date-time","type":"string"},"Reason":{"type":"string"}}},"GetRecurrencesRequest":{"type":"object","properties":{"StartDate":{"format":"date-time","type":"string"},"Status":{"enum":["Active","Cancelled","Upcoming","Inprogress","Completed"],"type":"string"}}},"GetRecurrencesResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/RecurrenceSchedulesModel"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"RecurrenceSchedulesModel":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"InstructorId":{"type":"string"},"InstructorName":{"type":"string"},"RoomId":{"type":"string"},"RoomName":{"type":"string"},"Status":{"enum":["Active","Cancelled","Upcoming","Inprogress","Completed"],"type":"string"},"RecurrenceType":{"format":"int32","type":"integer"},"WeekDays":{"type":"string"},"Capacity":{"format":"int32","type":"integer"},"IsFreeSession":{"type":"boolean"},"Price":{"format":"double","type":"number"},"RegisteredCount":{"format":"int32","type":"integer"},"WaitListedCount":{"format":"int32","type":"integer"},"CenterId":{"type":"string"}}},"CancelScheduleRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"RecurrenceId":{"format":"int64","type":"integer"},"ScheduleIds":{"type":"array","items":{"format":"int64","type":"integer"}}}},"CancelScheduleResponse":{"type":"object","properties":{"CancelledIds":{"type":"array","items":{"format":"int64","type":"integer"}},"UnSuccessfulCancellations":{"type":"array","items":{"$ref":"#/definitions/FailedReasons"}},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"GetTrainingSchedulesRequest":{"type":"object","properties":{"CenterId":{"type":"string"},"ClassName":{"type":"string"},"ExpandedPaths":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"ClassId":{"format":"int64","type":"integer"},"ShowInCatalog":{"format":"int32","type":"integer"},"Status":{"enum":["Active","Cancelled","Upcoming","Inprogress","Completed"],"type":"string"},"RecurrenceId":{"format":"int64","type":"integer"},"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetTrainingSchedulesResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/SessionModel"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"SessionModel":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"ClassId":{"format":"int64","type":"integer"},"CenterId":{"type":"string"},"Name":{"type":"string"},"Code":{"type":"string"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"IsCancelled":{"type":"boolean"},"InstructorId":{"type":"string"},"RoomId":{"type":"string"},"Description":{"type":"string"},"HtmlDescription":{"type":"string"},"CatalogName":{"type":"string"},"ShowInCatalog":{"format":"int32","type":"integer"},"CatalogPrice":{"type":"string"},"capacity":{"format":"int32","type":"integer"},"webCapacity":{"format":"int32","type":"integer"},"IsOpenForRegistration":{"type":"boolean"},"StatusId":{"format":"int32","type":"integer"},"RecurrenceId":{"format":"int64","type":"integer"},"IsFreeSession":{"type":"boolean"}}},"GetTrainingSessionResponse":{"type":"object","properties":{"SessionDetail":{"$ref":"#/definitions/TrainingSessionDetailModel"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"TrainingSessionDetailModel":{"type":"object","properties":{"Guid":{"type":"string"},"OrganizationId":{"type":"string"},"Code":{"type":"string"},"Description":{"type":"string"},"HtmlDescription":{"type":"string"},"CatalogName":{"type":"string"},"ShowInCatalog":{"format":"int32","type":"integer"},"SortOrder":{"format":"int32","type":"integer"},"ShowPrice":{"type":"boolean"},"CatalogPrice":{"type":"string"},"IsDeleted":{"type":"boolean"},"capacity":{"format":"int32","type":"integer"},"webCapacity":{"format":"int32","type":"integer"},"IsOpenForRegistration":{"type":"boolean"},"AllowWebBooking":{"type":"boolean"},"AllowDirectBooking":{"type":"boolean"},"MinsBeforeClassWebBookingClose":{"format":"int32","type":"integer"},"MinsAfterRegistrationForEarlyCancel":{"format":"int32","type":"integer"},"RecoveryTime":{"format":"int32","type":"integer"},"ComissionEligible":{"type":"boolean"},"CommissionFactor":{"format":"double","type":"number"},"CommissionType":{"format":"int32","type":"integer"},"FlatCommissionValue":{"format":"double","type":"number"},"EarlyCancellationFee":{"format":"double","type":"number"},"LateCancellationFee":{"format":"double","type":"number"},"NoshowFee":{"format":"double","type":"number"},"SignupInstructions":{"type":"string"},"AllowWaitlist":{"type":"boolean"},"AllowSubstitution":{"type":"boolean"},"Lock":{"format":"int32","type":"integer"},"CreatedBy":{"type":"string"},"CreatedDate":{"format":"date-time","type":"string"},"LastUpdatedBy":{"type":"string"},"LastUpdated":{"format":"date-time","type":"string"},"StatusId":{"format":"int32","type":"integer"},"WaitlistLockWindow":{"format":"int32","type":"integer"},"IsFreeSession":{"type":"boolean"},"MinsBeforeClassForEarlyCancel":{"format":"int32","type":"integer"},"InstructorName":{"type":"string"},"RoomName":{"type":"string"},"RegisteredCount":{"format":"int32","type":"integer"},"WaitListedCount":{"format":"int32","type":"integer"},"Id":{"format":"int64","type":"integer"},"Name":{"type":"string"},"ClassId":{"format":"int64","type":"integer"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"Price":{"format":"double","type":"number"},"InstructorId":{"type":"string"},"AssistantId":{"type":"string"},"RoomId":{"type":"string"},"Status":{"enum":["Active","Cancelled","Upcoming","Inprogress","Completed"],"type":"string"},"RecurrenceId":{"format":"int64","type":"integer"},"CenterId":{"type":"string"},"RegistrationId":{"format":"int64","type":"integer"},"RegistrationStatus":{"enum":["Registered","Cancelled","NoShow","SignedIn","Waitlisted","Substituted","ClassCancelled","Closed","Enrolled","Rejected"],"type":"string"},"CanBook":{"type":"boolean"},"CanCancel":{"type":"boolean"},"BookingStage":{"format":"int32","type":"integer"},"CancelStage":{"format":"int32","type":"integer"}}},"GetSimpleTrainingSchedulesRequest":{"type":"object","properties":{"ExcludeInstructorIds":{"type":"string"},"ExcludeClassIds":{"type":"string"},"ExcludeCategoryIds":{"type":"string"},"ExcludeRoomIds":{"type":"string"},"RegistrationId":{"format":"int64","type":"integer"},"SessionId":{"format":"int64","type":"integer"},"CenterId":{"type":"string"},"ClassName":{"type":"string"},"ExpandedPaths":{"type":"string"},"StartDate":{"format":"date-time","type":"string"},"EndDate":{"format":"date-time","type":"string"},"ClassId":{"format":"int64","type":"integer"},"ShowInCatalog":{"format":"int32","type":"integer"},"Status":{"enum":["Active","Cancelled","Upcoming","Inprogress","Completed"],"type":"string"},"RecurrenceId":{"format":"int64","type":"integer"},"page":{"format":"int32","type":"integer"},"size":{"format":"int32","type":"integer"},"sorters":{"type":"array","items":{"$ref":"#/definitions/Sorters"}},"filters":{"type":"array","items":{"$ref":"#/definitions/Filters"}}}},"GetSimpleTrainingSchedulesResponse":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/definitions/TrainingSessionSimpleModel"}},"Classes":{"type":"array","items":{"$ref":"#/definitions/TrainingClassSimple"}},"Instructors":{"type":"array","items":{"$ref":"#/definitions/TrainingInstructorSimple"}},"Categories":{"type":"array","items":{"$ref":"#/definitions/TrainingCategorySimple"}},"Rooms":{"type":"array","items":{"$ref":"#/definitions/TrainingRoomSimple"}},"total":{"format":"int32","type":"integer"},"Error":{"$ref":"#/definitions/ApiResponseError"}}},"TrainingSessionSimpleModel":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"Name":{"type":"string"},"ClassId":{"format":"int64","type":"integer"},"StartTime":{"format":"date-time","type":"string"},"EndTime":{"format":"date-time","type":"string"},"Price":{"format":"double","type":"number"},"InstructorId":{"type":"string"},"AssistantId":{"type":"string"},"RoomId":{"type":"string"},"Status":{"enum":["Active","Cancelled","Upcoming","Inprogress","Completed"],"type":"string"},"RecurrenceId":{"format":"int64","type":"integer"},"CenterId":{"type":"string"},"RegistrationId":{"format":"int64","type":"integer"},"RegistrationStatus":{"enum":["Registered","Cancelled","NoShow","SignedIn","Waitlisted","Substituted","ClassCancelled","Closed","Enrolled","Rejected"],"type":"string"},"IsFreeSession":{"type":"boolean"},"CanBook":{"type":"boolean"},"CanCancel":{"type":"boolean"},"BookingStage":{"format":"int32","type":"integer"},"CancelStage":{"format":"int32","type":"integer"}}},"TrainingClassSimple":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"Name":{"type":"string"},"CategoryId":{"format":"int64","type":"integer"},"ClassStartDate":{"format":"date-time","type":"string"},"ClassEndDate":{"format":"date-time","type":"string"},"Description":{"type":"string"},"HtmlDescription":{"type":"string"},"CatalogPrice":{"type":"string"},"Capacity":{"format":"int32","type":"integer"},"AllowWebBooking":{"type":"boolean"},"AllowDirectBooking":{"type":"boolean"},"AllowCancellationFee":{"type":"boolean"},"AllowNoshowFee":{"type":"boolean"},"DisplayName":{"type":"string"},"ShowInCatalog":{"format":"int32","type":"integer"},"WebCapacity":{"format":"int32","type":"integer"},"SortOrder":{"format":"int32","type":"integer"},"ShowPrice":{"type":"boolean"},"AllowWaitlist":{"type":"boolean"},"WaitlistLockWindow":{"format":"int32","type":"integer"},"EnableEnrollment":{"type":"boolean"},"LevelId":{"format":"int64","type":"integer"},"RegistrationNotes":{"type":"string"},"EnablePayments":{"type":"boolean"},"ImagePaths":{"type":"object","additionalProperties":{"type":"string"}}}},"TrainingInstructorSimple":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"},"Description":{"type":"string"},"ImagePaths":{"type":"object","additionalProperties":{"type":"string"}}}},"TrainingCategorySimple":{"type":"object","properties":{"Id":{"format":"int64","type":"integer"},"Name":{"type":"string"},"ParentId":{"format":"int64","type":"integer"}}},"TrainingRoomSimple":{"type":"object","properties":{"Id":{"type":"string"},"Name":{"type":"string"}}}}}