Overview
Update the feedback score for notes associated with a specific appointment in MediSync. This endpoint allows you to set or modify the feedback score that represents user ratings or quality assessments for the clinical documentation.Feedback Score Update: This endpoint updates only the feedback_score field of the notes. Other fields remain unchanged. The feedback score can be used to track quality ratings or user satisfaction.
Authentication
Path Parameters
The appointment ID to update the feedback score for
Query Parameters
The user ID of the healthcare provider updating the feedback score
Body Parameters
The feedback score to set for the notes (will preserve existing value if not provided)
Response
Indicates if the operation was successful
The updated notes object with the new feedback score
Error message if the operation failed
Example Response
Behavior Notes
- Appointment-Based Update: The endpoint finds notes by appointment ID and updates the feedback score
- Partial Update: Only the feedback_score field is updated; other fields remain unchanged
- Automatic Timestamps: The
updatedAtfield is automatically updated when the feedback score is modified - Preserves Existing Data: If feedback_score is not provided in the request, the existing value is preserved
Status Codes
- 200 - Feedback score updated successfully
- 400 - Invalid request data or database error
- 404 - Notes not found for the specified appointment