search doctor
POST
http://localhost:3000/graphqlQuery
query SearchDoctor($searchTerm: searchDTO!) {
searchDoctor(searchTerm: $searchTerm) {
average_consulting_time
experience
facility_location
default_fee
facility_name
facility_type
id
speciality
services
username
}
}
Variables
{
"searchTerm": {
"username": "rav",
"facility_type": "clinic",
"services": ["consulting"],
"default_fee": 300,
"facility_location": "AP",
"speciality": [
"neurology"
]
}
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"data": {
"searchDoctor": [
{
"average_consulting_time": "00:30:00",
"experience": 2,
"facility_location": "AP",
"default_fee": 250,
"facility_name": "ravi clinic",
"facility_type": "clinic",
"id": 1,
"speciality": [
"neurology"
],
"services": [
"consulting",
"headache pain reflect"
],
"username": "ravi"
}
]
}
}
Last modified: 2 months ago