Description:
The user inquires about the availability of the event on a given day.
Question: Which response code should I send back if new event can not be created on this day? 404? 400? 422?
My choice: I chose the "404 Not Found" status code:
{
"statusCode": 404,
"error": "Not Found",
"message": "The event can not be created on the selected date."
}