Create Feedback
POST
http://localhost:3000/graphqlMutation
mutation CreateFeedback($feedbackData: CreateFeedbackInput!) {
createFeedback(feedbackData: $feedbackData) {
clinic_or_hospital_feedback
consulting_feedback
id
patient_user_id
waiting_time
}
}
variables
{
"feedbackData": {
"clinic_or_hospital_feedback": 3,
"consulting_feedback": 4,
"patient_user_id": 5,
"doctor_user_id": 4,
"waiting_time": 5
}
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"createFeedback": {
"clinic_or_hospital_feedback": 3,
"consulting_feedback": 4,
"id": 6,
"patient_user_id": 5,
"waiting_time": 5
}
}
}
Last modified: 2 months ago