Skip to main content

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

curl -X GET \
  'https://api.medisync.com/notes/feedback/apt_abc123?uid=doc_xyz789' \
  -H 'Authorization: Bearer YOUR_JWT_TOKEN'

Path Parameters

id
string
required
The appointment ID to retrieve the feedback score for

Query Parameters

uid
string
required
The user ID of the healthcare provider requesting the feedback score

Response

success
boolean
Indicates if the operation was successful
data
object
Object containing the feedback score data
error
string
Error message if the operation failed

Example Response

{
  "success": true,
  "data": {
    "feedback_score": 4.5
  }
}

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