Scheduler Plugin
The Schedule plugin allows users to create, edit easily, and track appointments, integrating key details like appointment time, location, and descriptions.
Appointment Management: Add new appointments with customizable details such as date, time, location, and a brief description, ensuring clear communication and tracking.
interface PluginOptions {
selector?: string
contractId?: number
credentials?: {
customerNumber: number
user: string
password: string
}
withoutApi?: boolean
description?: string
address?: string
city?: string
zip?: string
isFormat24Hourly?: boolean
}
<!DOCTYPE html>
<html lang="en">
<head>
<!-- load plugin styles -->
<link
href="https://plugins.wedat.eu/scheduler/plugin.css"
rel="stylesheet"
/>
</head>
<body>
<!-- element to which plugin will be rendered -->
<div class="plugin"></div>
<!-- load plugin JS synchronously -->
<script src="https://plugins.wedat.eu/scheduler/plugin.js"></script>
<!-- init plugin options in your JS file or inline JS like this -->
<script>
document.addEventListener('DOMContentLoaded', () => {
window.SCHEDULER_API &&
window.SCHEDULER_API.init({
selector: '#root',
contractId: 23687100,
onComplete: (o) => {
console.log(JSON.stringify(o, null, 4))
},
withoutApi: true,
description: 'FX950SH',
address: 'France',
city: 'Paris',
zip: '0037'
})
})
</script>
</body>
</html>