Overview
Retrieve the feedback score for notes associated with a specific appointment in MediSync. This endpoint returns only the feedback score field from the notes, allowing you to check user ratings or quality assessments for the clinical documentation.Feedback Score Only: This endpoint returns only the feedback_score field from the notes. The feedback score is an optional field that may not be present in all notes.
Authentication
Path Parameters
The appointment ID to retrieve the feedback score for
Query Parameters
The user ID of the healthcare provider requesting the feedback score
Response
Indicates if the operation was successful
Object containing the feedback score data
Error message if the operation failed
Example Response
Behavior Notes
- Single Feedback Score: This endpoint returns the feedback score from the first notes record found for the appointment
- Appointment-Based: The lookup is performed using the appointment ID to find associated notes
- Optional Field: The feedback_score field is optional and may be null if no feedback has been provided
- Required Notes: If no notes exist for the appointment, a 404 error is returned
Status Codes
- 200 - Feedback score retrieved successfully (including null values)
- 400 - Invalid request or database error
- 404 - Notes not found for the specified appointment