add timings for doctor
POST
http://localhost:3000/graphqlMutation
mutation AddTiming($createTimingDto: createTimingDto!) {
addTiming(createTimingDTO: $createTimingDto) {
message
status
}
}
variables
{
"createTimingDto": {
"doctor_user_id": 2,
"day": "saturday",
"from": "09:00:00",
"to": "17:00:00",
"break_from": "13:00:00",
"break_to": "14:00:00"
}
}
Request
None
Request samples
Respostas
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
object {0}
Exemplo
{
"data": {
"addTiming": {
"message": "Timing added successfully",
"status": "success"
}
}
}
Last modified: 2 months ago