VALIDATION_ERROR | 400 | Invalid data (format, required fields, duration not allowed, etc.). |
INVALID_DATE_FORMAT | 400 | Incorrect date format; use yyyy-MM-dd HH:mm. |
INVALID_DATE_PAST | 400 | Scheduled date must be in the future. |
INVALID_DATE_TOO_SOON | 400 | At least 15 minutes notice. |
SPECIALTY_REQUIRED | 400 | Must specify specialty for Medico Especialista. |
INVALID_SPECIALTY_FOR_PROFESSIONAL_TYPE | 400 | Must not send specialty for this professional type. |
PROVIDER_NOT_AVAILABLE / PATIENT_NOT_AVAILABLE | 409 | Schedule conflict. |
CONSULTATION_NOT_FOUND | 404 | Consultation does not exist or does not belong to your organization. |
API_KEY_INVALID | 401 | API Key or Secret missing or invalid. |