Pool maintenance
TEMPLATE ID: DS-2266

Pool maintenance Appointment Booking Template

Template for booking pool maintenance services

Template preview

API

The free customizable booking templates with appointment management system and API to integrate in any app.

Time slots

You can use the API to generate time slots, check calendar availability, find available slots and book an appointment online for your services.

# Check calendar availability by date
curl --request GET
--url https://api.dayschedule.com/v1/availability/1?start=2024-07-01&end=2024-07-30&duration=30
--header 'Content-Type: application/json'

# Return available time slots
[
    {
        "date": "2024-07-17",
        "capacity": 4,
        "slots": [
            {
                "time": "2024-07-17T14:00:00+05:30",
                "available": 1,
                "users": [1411]
            }
        ]
    }
]

Booking

Send a POST request to create a booking for selected event and time slot by passing the resource_id, start dates etc.

# Check calendar availability by date
curl --request POST
--url https://api.dayschedule.com/v1/bookings
--header 'Content-Type: application/json'
--data 
{
    "resource":{
        "resource_id":"1",
    },
    "host":{
        "user_id":758
    },
    "start_at":"2024-07-10T09:00:00.000Z",
    "end_at":"2024-07-10T09:30:00.000Z",
    "invitees":[{
        "name":"John Doe",
        "email":"[email protected]"
        "phone": "+91 9999912345"
        "questions":[]
    }]
}
# Return the confirmed booking object

Embed to website

  1. Install dayschedule-widget from NPM.
    npm i dayschedule-widget
  2. Generate widget code
  3. Add JavaScript in header
  4. Paste the inline or popup code on your website
See examples →
Christmas sale

Christmas Sale

Get 30% off on all plans!
Use code: CHRISTMAS

Terms
  • Only for new customers
  • Payment method: Stripe, Razorpay
Manage your appointments on the App
OpenOpen