Update doctor details
POST
http://localhost:3000/graphqlMutation
mutation ModifyDoctorById($modifyDoctorByIdId: Float!, $updateDoctorDto: UpdateDoctorDto!) {
modifyDoctorById(id: $modifyDoctorByIdId, updateDoctorDto: $updateDoctorDto) {
message
status
}
}
Variables
{
"modifyDoctorByIdId": 1,
"updateDoctorDto": {
"facility_name": "clinics",
"facility_type": "alone",
"services": [
"headache"
],
"default_fee": 230
}
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"modifyDoctorById": {
"message": "Doctor updated successfully",
"status": "success"
}
}
}
Last modified: 2 months ago