Get all timings for a doctor
POST
http://localhost:3000/graphqlQuery
query GetTimingsForAllDoctor($doctorId: Float!) {
getTimingsForAllDoctor(doctor_id: $doctorId) {
day
from
break_from
break_to
to
id
}
}
variables
{
"doctorId": 2
}
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
ExampleResponse for get all timings for a doctor
{
"data": {
"getTimingsForAllDoctor": [
{
"day": "monday",
"from": "09:00:00",
"break_from": "13:00:00",
"break_to": "14:00:00",
"to": "17:00:00",
"id": 2
},
{
"day": "tuesday",
"from": "09:00:00",
"break_from": "13:00:00",
"break_to": "14:00:00",
"to": "17:00:00",
"id": 2
},
{
"day": "wednesday",
"from": "09:00:00",
"break_from": "13:00:00",
"break_to": "14:00:00",
"to": "17:00:00",
"id": 2
},
{
"day": "thursday",
"from": "09:00:00",
"break_from": "13:00:00",
"break_to": "14:00:00",
"to": "17:00:00",
"id": 2
},
{
"day": "friday",
"from": "09:00:00",
"break_from": "13:00:00",
"break_to": "14:00:00",
"to": "17:00:00",
"id": 2
},
{
"day": "saturday",
"from": "09:00:00",
"break_from": "13:00:00",
"break_to": "14:00:00",
"to": "17:00:00",
"id": 2
}
]
}
}
Last modified: 2 months ago