Appointment Booking API · Step 1 of 7
Describe the booking rules
Define a fictional service business, its services, opening hours, appointment duration, time zone, cancellation rule, and whether customers need accounts.
Understand
Business rules should be explicit before endpoint behavior or database constraints are chosen.
Build
Write examples for a valid booking, a closed time, a past time, and two customers requesting the same slot.
Check
You can state what the API must do for each example and which failures should be client errors.
Try it
Decide whether availability is generated or pre-created, and record the tradeoff.
