Bulk update Appointment
DevelopingPOST
http://localhost:3000/graphqlMutation
mutation BulkUpdateAppointments($bulkUpdate: bulkUpdateDTO!) {
bulkUpdateAppointments(bulkUpdate: $bulkUpdate) {
message
status
}
}
Variables
{
"bulkUpdate": {
"appointment_ids": [1, 5],
"doctor_user_id": 2,
"from": 1727321400000,
"to": 1727494200000,
"preference": "asc"
}
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"bulkUpdateAppointments": {
"message": "Appointments updated successfully",
"status": "success"
}
}
}
Last modified: 2 months ago