- Auth
- Login
- Roles
- Patient
- Timings
- Support ticket
- feedback
- Chat
- Doctor
- Appointment
get single doctor
POST
http://localhost:3000/graphql
{
"findDoctorByIdId": 2
}
Request
Header Params
Authorization
string
optional
Default:
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImRldjEiLCJ1c2VySWQiOjQsInVzZXJfYXNzaWdubWVudCI6ImFkbWluIiwiaWF0IjoxNzI3MzYxMDk0LCJleHAiOjE3MjczNjQ2OTR9.Zckr61S0kHq7ZogL6aI7FTeF45rSMqZM74YQ1_MAqoA
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:3000/graphql' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImRldjEiLCJ1c2VySWQiOjQsInVzZXJfYXNzaWdubWVudCI6ImFkbWluIiwiaWF0IjoxNzI3MzYxMDk0LCJleHAiOjE3MjczNjQ2OTR9.Zckr61S0kHq7ZogL6aI7FTeF45rSMqZM74YQ1_MAqoA'
Responses
🟢200Success
application/json
Body
object {0}
Example
{
"data": {
"findDoctorById": {
"id": 2,
"username": "ravi",
"services": [
"consulting",
"headache pain reflect"
],
"speciality": [
"neurology"
],
"facility_type": "clinic",
"facility_name": "ravi clinic",
"facility_location": "AP",
"default_fee": 250,
"average_consulting_time": "00:30:00",
"timings": [
{
"day": "monday",
"from": "09:00:00",
"to": "17:00:00"
},
{
"day": "tuesday",
"from": "09:00:00",
"to": "17:00:00"
},
{
"day": "wednesday",
"from": "09:00:00",
"to": "17:00:00"
},
{
"day": "thursday",
"from": "09:00:00",
"to": "17:00:00"
},
{
"day": "friday",
"from": "09:00:00",
"to": "17:00:00"
},
{
"day": "saturday",
"from": "09:00:00",
"to": "17:00:00"
}
]
}
}
}
Modified at 2024-09-26 09:52:55