ZMS API Schema

90%
classDiagram
class c_client {
    +string email?
    +number emailSendCount?
    +string familyName?
    +number notificationsSendCount?
    +boolean surveyAccepted?
    +string telephone?
}

class c_availability_c_bookable {
    +any startInDays?
    +number endInDays?
}

class c_availability_c_repeat {
    +number afterWeeks?
    +number weekOfMonth?
}

class c_availability_c_weekday {
    +any monday?
    +any tuesday?
    +any wednesday?
    +any thursday?
    +any friday?
    +any saturday?
    +any sunday?
}

class c_availability_c_workstationCount {
    +number callcenter?
    +number intern?
    +number public?
}

class c_availability {
    +c_availability_c_bookable bookable?
    +string description?
    +number endDate
    +string endTime?
    +any id?
    +number lastChange?
    +any multipleSlotsAllowed?
    +string[] processingNote?
    +c_availability_c_repeat repeat?
    +c_scope scope
    +number slotTimeInMinutes?
    +number startDate
    +string startTime?
    +string type
    +c_availability_c_weekday weekday
    +c_availability_c_workstationCount workstationCount?
}

class c_request {
    +string id
    +string link?
    +any data?
    +string group?
    +string name
    +string source
    +number timeSlotCount?
}

class c_apiclient {
    +number apiClientID?
    +string clientKey
    +string shortname?
    +string accesslevel?
    +number lastChange?
}

class c_queue {
    +number arrivalTime
    +number callCount?
    +number callTime?
    +string destination?
    +string destinationHint?
    +number lastCallTime?
    +any number
    +number waitingTime?
    +number wayTime?
    +number waitingTimeEstimate?
    +number waitingTimeOptimistic?
    +boolean withAppointment?
    +string status?
}

class c_mail {
    +number id?
    +string createIP?
    +number createTimestamp?
    +c_department department
    +c_mimepart[] multipart
    +c_process process
    +string subject
    +c_client client
}

class c_requestrelation {
    +c_request request?
    +c_provider provider?
    +number slots?
    +string source?
}

class c_session_c_content_c_basket {
    +any requests?
    +any providers?
    +any scope?
    +any process?
    +any date?
    +any firstDay?
    +any lastDay?
    +string familyName?
    +string clientEmail?
    +number clientTelephone?
    +string clientAmendment?
    +string clientCustomTextfield?
    +string authKey?
    +boolean notificationConfirmation?
}

class c_session_c_content_c_human_c_step {
    +number dayselect?
    +number timeselect?
    +number register?
    +number summary?
}

class c_session_c_content_c_human {
    +string captcha_text?
    +number client?
    +number ts?
    +string origin?
    +string remoteAddress?
    +string referrer?
    +c_session_c_content_c_human_c_step step?
}

class c_session_c_content_c_entry {
    +string source?
    +any providers?
    +any requests?
    +any scope?
}

class c_session_c_content {
    +c_session_c_content_c_basket basket?
    +c_session_c_content_c_human human?
    +string source?
    +c_session_c_content_c_entry entry?
    +string status?
    +string X-Authkey?
    +string error?
}

class c_session {
    +string name
    +string id
    +c_session_c_content content?
}

class c_notification {
    +number id?
    +string createIP?
    +number createTimestamp?
    +c_department department
    +string message
    +c_process process
    +c_client client
}

class c_cluster {
    +string callDisplayText?
    +string hint?
    +number id?
    +string name?
    +c_scope[] scopes?
    +any shortNameEnabled?
}

class c_provider {
    +c_contact contact?
    +number id
    +string link?
    +any data?
    +string name
    +string source
    +string displayName?
}

class c_workstation_c_emergency {
    +number refreshInterval?
}

class c_workstation_c_queue {
    +any appointmentsOnly?
    +any clusterEnabled?
}

class c_workstation_c_support {
    +string telephone?
    +string eMail?
}

class c_workstation {
    +string authkey?
    +string hint?
    +number id
    +c_workstation_c_emergency emergency?
    +string name?
    +c_process process?
    +c_workstation_c_queue queue?
    +c_scope scope?
    +c_useraccount useraccount
    +c_link[] linkList?
    +c_workstation_c_support support?
}

class c_useraccount_c_rights {
    +any availability?
    +any basic?
    +any cluster?
    +any department?
    +any organisation?
    +any scope?
    +any sms?
    +any superuser?
    +any ticketprinter?
    +any useraccount?
}

class c_useraccount {
    +number lastLogin?
    +string id
    +string email?
    +string password?
    +string[] changePassword?
    +c_useraccount_c_rights rights
    +c_department[] departments?
}

class c_appointment {
    +c_availability availability?
    +number date
    +c_scope scope
    +number slotCount
}

class c_mimepart {
    +number queueId?
    +string mime
    +string content
    +boolean base64?
}

class c_month {
    +number year
    +number month
    +boolean appointmentExists?
    +string calHeadline
    +number startDow?
    +c_day[] days
}

class c_scope_c_preferences_c_appointment {
    +number deallocationDuration?
    +any multipleSlotsEnabled?
    +any notificationConfirmationEnabled?
    +any notificationHeadsUpEnabled?
    +number reservationDuration?
    +number activationDuration?
    +number startInDaysDefault?
    +number endInDaysDefault?
}

class c_scope_c_preferences_c_client {
    +string alternateAppointmentUrl?
    +string appointmentsPerMail?
    +string slotsPerAppointment?
    +string whitelistedMails?
    +string amendmentLabel?
    +any amendmentActivated?
    +string customTextfieldLabel?
    +any customTextfieldActivated?
    +any customTextfieldRequired?
    +any captchaActivatedRequired?
    +string emailFrom?
    +any emailRequired?
    +any emailConfirmationActivated?
    +any telephoneActivated?
    +any telephoneRequired?
    +any adminMailOnAppointment?
    +any adminMailOnUpdated?
    +any adminMailOnDeleted?
    +any adminMailOnMailSent?
}

class c_scope_c_preferences_c_logs {
    +string deleteLogsOlderThanDays?
}

class c_scope_c_preferences_c_notifications {
    +string confirmationContent?
    +number headsUpTime?
    +string headsUpContent?
}

class c_scope_c_preferences_c_pickup {
    +string alternateName?
    +any isDefault?
}

class c_scope_c_preferences_c_queue {
    +number callCountMax?
    +string callDisplayText?
    +number firstNumber?
    +number lastNumber?
    +number maxNumberContingent?
    +any publishWaitingTimeEnabled?
    +number processingTimeAverage?
    +any statisticsEnabled?
}

class c_scope_c_preferences_c_survey {
    +string emailContent?
    +any enabled?
    +string label?
}

class c_scope_c_preferences_c_ticketprinter {
    +string buttonName?
    +any confirmationEnabled?
    +string deactivatedText?
    +any notificationsAmendmentEnabled?
    +any notificationsEnabled?
    +number notificationsDelay?
}

class c_scope_c_preferences_c_workstation {
    +any emergencyEnabled?
    +number emergencyRefreshInterval?
}

class c_scope_c_preferences {
    +c_scope_c_preferences_c_appointment appointment?
    +c_scope_c_preferences_c_client client?
    +c_scope_c_preferences_c_logs logs?
    +c_scope_c_preferences_c_notifications notifications?
    +c_scope_c_preferences_c_pickup pickup?
    +c_scope_c_preferences_c_queue queue?
    +c_scope_c_preferences_c_survey survey?
    +c_scope_c_preferences_c_ticketprinter ticketprinter?
    +c_scope_c_preferences_c_workstation workstation?
}

class c_scope_c_status_c_emergency {
    +any acceptedByWorkstation?
    +any activated?
    +any calledByWorkstation?
}

class c_scope_c_status_c_queue {
    +number givenNumberCount?
    +number ghostWorkstationCount?
    +number workstationCount?
    +number lastGivenNumber?
    +number lastGivenNumberTimestamp?
}

class c_scope_c_status_c_ticketprinter {
    +any deactivated?
}

class c_scope_c_status_c_availability {
    +any isOpened?
}

class c_scope_c_status {
    +c_scope_c_status_c_emergency emergency?
    +c_scope_c_status_c_queue queue?
    +c_scope_c_status_c_ticketprinter ticketprinter?
    +c_scope_c_status_c_availability availability?
}

class c_scope {
    +c_contact contact?
    +c_dayoff[] dayoff?
    +string hint?
    +number id?
    +string source?
    +number lastChange?
    +c_scope_c_preferences preferences?
    +c_provider provider
    +string shortName
    +c_scope_c_status status?
}

class c_day {
    +number year
    +number month
    +number day
    +c_slot freeAppointments?
    +c_slot allAppointments?
    +c_slot firstAppointmentTimestamp?
    +c_slot lastAppointmentTimestamp?
    +c_process[] processList?
    +string status?
}

class c_processarchived {
    +any amendment?
    +any customTextfield?
    +c_apiclient apiclient?
    +c_appointment[] appointments?
    +number archiveId?
    +string authKey?
    +c_client[] clients?
    +string createIP?
    +number createTimestamp?
    +number id
    +number lastChange?
    +string showUpTime?
    +string processingTime?
    +string finishTime?
    +c_queue queue?
    +number reminderTimestamp?
    +c_request[] requests?
    +c_scope scope?
    +string status?
}

class c_calldisplay_c_image {
    +string data?
    +string name?
    +string mime?
}

class c_calldisplay {
    +c_calldisplay_c_image image?
    +number serverTime
    +c_cluster[] clusters?
    +c_scope[] scopes?
    +c_organisation organisation
    +c_contact contact?
}

class c_ticketprinter_c_buttons_Item {
    +string name?
    +string type?
    +boolean enabled?
    +string url?
    +c_scope scope?
    +c_cluster cluster?
}

class c_ticketprinter {
    +c_ticketprinter_c_buttons_Item[] buttons?
    +string buttonlist?
    +any enabled?
    +string hash
    +number id?
    +number lastUpdate?
    +string name?
    +string home?
    +number reload?
    +c_contact contact?
}

class c_contact {
    +string city?
    +string country?
    +number lat?
    +number lon?
    +string name?
    +string postalCode?
    +string region?
    +string street?
    +string streetNumber?
    +string email?
    +string telephone?
}

class c_slot {
    +number callcenter?
    +number intern?
    +number public?
    +number slotnumber?
    +string time?
    +string type?
}

class c_ics {
    +string content?
}

class c_organisation_c_preferences {
    +any ticketPrinterProtectionEnabled?
}

class c_organisation {
    +c_contact contact?
    +c_department[] departments?
    +number id?
    +string name
    +c_organisation_c_preferences preferences?
    +c_ticketprinter[] ticketprinters?
}

class c_eventlog_c_context {
    +any _empty
}

class c_eventlog {
    +number id
    +string name
    +string origin?
    +string referenceType?
    +any reference?
    +any sessionid?
    +c_eventlog_c_context context?
    +string creationDateTime
    +string expirationDateTime?
}

class c_status_c_processes {
    +number blocked?
    +number confirmed?
    +number deleted?
    +string lastCalculate?
    +number lastInsert?
    +number missed?
    +number parked?
    +number outdated?
    +string outdatedOldest?
    +number reserved?
}

class c_status_c_sources_c_dldb {
    +string last?
}

class c_status_c_sources {
    +c_status_c_sources_c_dldb dldb?
}

class c_status_c_mail {
    +number queueCount?
    +number oldestSeconds?
    +number newestSeconds?
}

class c_status_c_notification {
    +number queueCount?
    +number oldestSeconds?
    +number newestSeconds?
}

class c_status_c_database {
    +string clusterStatus?
    +number locks?
    +string logbin?
    +number nodeConnections?
    +string problems?
    +number threads?
}

class c_status_c_version {
    +number major?
    +number minor?
    +number patch?
}

class c_status {
    +string generated?
    +string server?
    +c_status_c_processes processes?
    +c_status_c_sources sources?
    +c_status_c_mail mail?
    +c_status_c_notification notification?
    +c_status_c_database database?
    +c_status_c_version version?
}

class c_log {
    +string type
    +string reference?
    +number ts?
    +string message
    +number scope_id?
    +string user_id?
    +string data?
}

class c_dayoff {
    +number id?
    +number date
    +number lastChange?
    +string name
}

class c_metaresult {
    +boolean error?
    +string generated?
    +number length?
    +string message?
    +string retryAfter?
    +string status?
    +string route?
    +boolean reducedData?
    +string server?
    +string exception?
}

class c_link {
    +number id?
    +string name
    +string url
    +any target?
    +any public?
    +number organisation?
}

class c_owner {
    +c_contact contact?
    +number id?
    +string name?
    +string url?
    +c_organisation[] organisations?
}

class c_department_c_preferences_c_notifications {
    +any enabled?
    +any identification?
    +any sendConfirmationEnabled?
    +any sendReminderEnabled?
}

class c_department_c_preferences {
    +c_department_c_preferences_c_notifications notifications?
}

class c_department {
    +number id?
    +c_contact contact?
    +c_cluster[] clusters?
    +c_dayoff[] dayoff?
    +string email?
    +boolean sendEmailReminderEnabled?
    +any sendEmailReminderMinutesBefore?
    +c_link[] links?
    +string name?
    +c_department_c_preferences preferences?
    +c_scope[] scopes?
}

class c_source {
    +c_contact contact?
    +string source
    +boolean editable?
    +string label?
    +number lastChange?
    +c_provider[] providers?
    +c_request[] requests?
    +c_requestrelation[] requestrelation?
    +c_scope[] scopes?
}

class c_exchange_c_dictionary_Item {
    +integer position?
    +string variable?
    +string description?
    +string type?
    +string reference?
}

class c_exchange_c_visualization {
    +string[] xlabel?
    +string[] ylabel?
}

class c_exchange {
    +c_day firstDay?
    +c_day lastDay?
    +string period?
    +c_exchange_c_dictionary_Item[] dictionary
    +array[] data?
    +string title?
    +c_exchange_c_visualization visualization?
}

class c_mailtemplate_c_appointments {
    +string urlAppointments?
    +string urlChange?
}

class c_mailtemplate_c_emergency {
    +number refreshInterval?
}

class c_mailtemplate_c_notifications {
    +any absage?
    +number benachrichtigungsfrist?
    +string confirmationContent?
    +string costs?
    +any eMailkonfigurierbar?
    +number erinnerungsvorlauf?
    +string gateway?
    +string gatewayUrl?
    +string headsUpContent?
    +string kommandoAbfrage?
    +string kommandoAbsage?
    +string number?
}

class c_mailtemplate_c_ticketprinter {
    +string baseUrl?
}

class c_mailtemplate {
    +c_mailtemplate_c_appointments appointments?
    +c_mailtemplate_c_emergency emergency?
    +c_mailtemplate_c_notifications notifications?
    +c_mailtemplate_c_ticketprinter ticketprinter?
}

class c_apikey_c_quota_Item {
    +string route?
    +string period?
    +number requests?
    +number ts?
}

class c_apikey {
    +string key
    +c_apiclient apiclient?
    +c_mimepart captcha?
    +c_apikey_c_quota_Item[] quota?
    +string createIP?
    +number ts?
}

class c_calendar {
    +number bookableEnd?
    +c_cluster[] clusters?
    +c_day[] days?
    +c_day firstDay
    +c_day lastDay
    +c_provider[] providers?
    +c_request[] requests?
    +c_process[] freeProcesses?
    +c_scope[] scopes?
}

class c_process {
    +any amendment?
    +any customTextfield?
    +c_apiclient apiclient?
    +c_appointment[] appointments?
    +number archiveId?
    +string authKey?
    +c_client[] clients?
    +string createIP?
    +number createTimestamp?
    +number id
    +number lastChange?
    +string showUpTime?
    +string processingTime?
    +string timeoutTime?
    +string finishTime?
    +c_queue queue?
    +number reminderTimestamp?
    +c_request[] requests?
    +c_scope scope?
    +string status?
}

class c_config_c_appointments {
    +string urlAppointments?
    +string urlChange?
}

class c_config_c_emergency {
    +number refreshInterval?
}

class c_config_c_notifications {
    +any absage?
    +number benachrichtigungsfrist?
    +string confirmationContent?
    +string costs?
    +any eMailkonfigurierbar?
    +number erinnerungsvorlauf?
    +string gateway?
    +string gatewayUrl?
    +string headsUpContent?
    +string kommandoAbfrage?
    +string kommandoAbsage?
    +string number?
}

class c_config_c_ticketprinter {
    +string baseUrl?
}

class c_config {
    +c_config_c_appointments appointments?
    +c_config_c_emergency emergency?
    +c_config_c_notifications notifications?
    +c_config_c_ticketprinter ticketprinter?
}

c_availability --> c_availability_c_bookable
c_availability --> c_availability_c_repeat
c_availability --> c_scope
c_availability --> c_availability_c_weekday
c_availability --> c_availability_c_workstationCount
c_mail --> c_department
c_mail --> "*" c_mimepart
c_mail --> c_process
c_mail --> c_client
c_requestrelation --> c_request
c_requestrelation --> c_provider
c_session --> c_session_c_content
c_session_c_content --> c_session_c_content_c_basket
c_session_c_content --> c_session_c_content_c_human
c_session_c_content_c_human --> c_session_c_content_c_human_c_step
c_session_c_content --> c_session_c_content_c_entry
c_notification --> c_department
c_notification --> c_process
c_notification --> c_client
c_cluster --> "*" c_scope
c_provider --> c_contact
c_workstation --> c_workstation_c_emergency
c_workstation --> c_process
c_workstation --> c_workstation_c_queue
c_workstation --> c_scope
c_workstation --> c_useraccount
c_workstation --> "*" c_link
c_workstation --> c_workstation_c_support
c_useraccount --> c_useraccount_c_rights
c_useraccount --> "*" c_department
c_appointment --> c_availability
c_appointment --> c_scope
c_month --> "*" c_day
c_scope --> c_contact
c_scope --> "*" c_dayoff
c_scope --> c_scope_c_preferences
c_scope_c_preferences --> c_scope_c_preferences_c_appointment
c_scope_c_preferences --> c_scope_c_preferences_c_client
c_scope_c_preferences --> c_scope_c_preferences_c_logs
c_scope_c_preferences --> c_scope_c_preferences_c_notifications
c_scope_c_preferences --> c_scope_c_preferences_c_pickup
c_scope_c_preferences --> c_scope_c_preferences_c_queue
c_scope_c_preferences --> c_scope_c_preferences_c_survey
c_scope_c_preferences --> c_scope_c_preferences_c_ticketprinter
c_scope_c_preferences --> c_scope_c_preferences_c_workstation
c_scope --> c_provider
c_scope --> c_scope_c_status
c_scope_c_status --> c_scope_c_status_c_emergency
c_scope_c_status --> c_scope_c_status_c_queue
c_scope_c_status --> c_scope_c_status_c_ticketprinter
c_scope_c_status --> c_scope_c_status_c_availability
c_day --> c_slot
c_day --> c_slot
c_day --> c_slot
c_day --> c_slot
c_day --> "*" c_process
c_processarchived --> c_apiclient
c_processarchived --> "*" c_appointment
c_processarchived --> "*" c_client
c_processarchived --> c_queue
c_processarchived --> "*" c_request
c_processarchived --> c_scope
c_calldisplay --> c_calldisplay_c_image
c_calldisplay --> "*" c_cluster
c_calldisplay --> "*" c_scope
c_calldisplay --> c_organisation
c_calldisplay --> c_contact
c_ticketprinter --> "*" c_ticketprinter_c_buttons_Item
c_ticketprinter_c_buttons_Item --> c_scope
c_ticketprinter_c_buttons_Item --> c_cluster
c_ticketprinter --> c_contact
c_organisation --> c_contact
c_organisation --> "*" c_department
c_organisation --> c_organisation_c_preferences
c_organisation --> "*" c_ticketprinter
c_eventlog --> c_eventlog_c_context
c_status --> c_status_c_processes
c_status --> c_status_c_sources
c_status_c_sources --> c_status_c_sources_c_dldb
c_status --> c_status_c_mail
c_status --> c_status_c_notification
c_status --> c_status_c_database
c_status --> c_status_c_version
c_owner --> c_contact
c_owner --> "*" c_organisation
c_department --> c_contact
c_department --> "*" c_cluster
c_department --> "*" c_dayoff
c_department --> "*" c_link
c_department --> c_department_c_preferences
c_department_c_preferences --> c_department_c_preferences_c_notifications
c_department --> "*" c_scope
c_source --> c_contact
c_source --> "*" c_provider
c_source --> "*" c_request
c_source --> "*" c_requestrelation
c_source --> "*" c_scope
c_exchange --> c_day
c_exchange --> c_day
c_exchange --> "*" c_exchange_c_dictionary_Item
c_exchange --> c_exchange_c_visualization
c_mailtemplate --> c_mailtemplate_c_appointments
c_mailtemplate --> c_mailtemplate_c_emergency
c_mailtemplate --> c_mailtemplate_c_notifications
c_mailtemplate --> c_mailtemplate_c_ticketprinter
c_apikey --> c_apiclient
c_apikey --> c_mimepart
c_apikey --> "*" c_apikey_c_quota_Item
c_calendar --> "*" c_cluster
c_calendar --> "*" c_day
c_calendar --> c_day
c_calendar --> c_day
c_calendar --> "*" c_provider
c_calendar --> "*" c_request
c_calendar --> "*" c_process
c_calendar --> "*" c_scope
c_process --> c_apiclient
c_process --> "*" c_appointment
c_process --> "*" c_client
c_process --> c_queue
c_process --> "*" c_request
c_process --> c_scope
c_config --> c_config_c_appointments
c_config --> c_config_c_emergency
c_config --> c_config_c_notifications
c_config --> c_config_c_ticketprinter