Modify patient details
POST
http://localhost:3000/graphqlMutation
mutation ModifyPatientDetails($userId: Float!, $updatePatientDetails: UpdatePatientDto!) {
modifyPatientDetails(user_id: $userId, updatePatientDetails: $updatePatientDetails) {
message
status
}
}
Variables
{
"userId": 4,
"updatePatientDetails": {
"blood_group": "A",
"family_member": [],
"health_issues": ["Asthma", "Body Pain"],
"relation": [],
"weight": 60
}
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"modifyPatientDetails": {
"message": "Patient details updated successfully",
"status": "success"
}
}
}
Last modified: 2 months ago