Search Appointment
POST
http://localhost:3000/graphqlQuery
query SearchAppointments($searchTerm: searchAppointmentDTO!) {
searchAppointments(searchTerm: $searchTerm) {
created_at
fees
id
patient_id
status
visit_type
}
}
Varaibles
{
"searchTerm": {
"doctor_user_id": 2,
"visit_type": "offline",
"id": null,
"patient_user_id": null
}
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"searchAppointments": [
{
"created_at": "2024-09-24T00:46:51.467Z",
"fees": 450,
"id": 5,
"patient_id": 5,
"status": "rescheduled",
"visit_type": "offline"
}
]
}
}
Last modified: 2 months ago