curl -X POST /appointments/update/65f8a1b2c3d4e5f6789012ef \ -H "Authorization: Bearer your_jwt_token_here" \ -H "Content-Type: application/json" \ -d '{ "status": "finished", "notes": "Consultation completed successfully" }'
{ "success": true, "data": { "_id": "65f8a1b2c3d4e5f6789012ef", "name": "General Consultation", "date": "2024-03-15", "time": "14:30", "recording_id": "rec_123", "recording_url": "https://storage.example.com/recording.mp3", "recording_key": "recordings/rec_123.mp3", "status": "finished", "doctor_id": "doctor_uid_123", "patient_id": "65f8a1b2c3d4e5f6789012ab", "notes": "Consultation completed successfully", "language": "de", "notes_type": "soap_clinical_notes_de", "appointment_type": "in_person" } }
Update an existing appointment by its ID
Authorization: Bearer your_jwt_token_here
planned
recording
transcribing
processing
finished
error
Show Appointment Object
{ "success": false, "error": "Appointment not found" }
{ "success": false, "error": "Invalid patient_id format for update." }
{ "success": false, "error": "Error saving appointment" }
{ "success": false, "error": "Error finding appointment for update" }