Update Appointment
POST
http://localhost:3000/graphqlMutation
mutation UpdateAppointment($updateAppointmentDto: updateAppointmentDTO!) {
updateAppointment(updateAppointmentDTO: $updateAppointmentDto) {
message
status
}
}
Variables
{
"updateAppointmentDto": {
"id": 1,
"ivr_app_id": "ivr",
"appointment_date_time": 1727155800000,
"patient_complaint": "pain",
"patient_current_weight": 100,
"status": "scheduled",
"visit_type": "online"
}
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"updateAppointment": {
"message": "Appointment updated successfully",
"status": "success"
}
}
}
Last modified: 2 months ago