Actions11
Get Available Slots
AI-generatedOverview
This node operation retrieves available time slots for a specified service using the Prenoting API. It is useful for scenarios where users need to find open appointment times for booking services, such as medical appointments or other scheduled services. For example, a healthcare provider could use this node to display available appointment slots to patients for online booking.
Use Case Examples
- Retrieve available slots for a specific medical service between given start and end dates to show patients when they can book an appointment.
- Fetch available time slots for a service without specifying dates to get all upcoming available slots.
Properties
| Name | Meaning |
|---|---|
| Service ID | ID of the service to get available slots for. |
| Start Date | Optional start date to filter available slots from this date onward. |
| End Date | Optional end date to filter available slots up to this date. |
Output
JSON
id_servizio- The ID of the service for which slots are retrieved.start_date- The start date filter used for the slot search, if provided.end_date- The end date filter used for the slot search, if provided.slots- Array of available slots returned by the API for the specified service and date range.
Dependencies
- Prenoting API with API key credential
Troubleshooting
- Ensure the Service ID is valid and corresponds to an existing service in the Prenoting system.
- Verify that the date formats for Start Date and End Date are correct and in the expected format (day/month/year).
- If no slots are returned, check if the service has available slots in the specified date range or try expanding the date range.
- Common error messages may include authentication errors if the API key credential is missing or invalid, or parameter validation errors if required fields are empty or incorrectly formatted.