A reservation can be created for an individual customer and a group. The reservation can be a service reservation or a personal errand reservation. A service reservation can be for example a yoga class or bike maintenance. A personal errand can be for example a reminder or your working hours. A personal errand reservation's content can be set as private when it shouldn't visible to others. Reservations can be managed by canceling or deleting. You can list the reservations of any selected day.
The service to be booked must be created before it is possible to make reservations. You can only set and get the service provider (user_id) in Tehden. There are different ways to get the customer, see Customer management through the interface.
product/createProduct Create a service. Set the producttype to services or group reservation.
Notice: the product_id in response is the required service_id when booking a reservation.
branch/getAllBranches Get companys branches.
reservation/createReservation Create a reservation for an individual customer and a group.
reservation/createPersonalErrand Create a reservation for personal errand.
reservation/cancelOrDeleteReservation Cancel or delete reservation.
reservation/getReservations Get reservations for selected date.
Tehden calendar with different types of reservations.