Schedular
  1. Auth
Schedular
Actual Apis Schedula
  • Actual Apis Schedula
  • Dev Cases For Schedula
  • Auth
    • Register For Doctor
      POST
    • Register For Patients
      POST
    • Registration For Admin
      POST
    • Registration Error Username & Email should be unique
      POST
  • Login
    • Log in for Doctor
      POST
    • Admin Log in
      POST
    • Log in Error
      POST
  • Roles
    • Get roles related to a role
      POST
    • Permissions for roles
      POST
    • Delete Permissions
      POST
    • Add permission for roles
      POST
  • Patient
    • Get all patients details
      POST
    • get single patient details
      POST
    • Modify patient details
      POST
    • Delete patient
      POST
  • Timings
    • Get all timings for a doctor
      POST
    • add timings for doctor
      POST
    • Update timings
      POST
    • Delete timings
      POST
  • Support ticket
    • Get all support Tickets
      POST
    • Add support ticket
      POST
    • update support ticket
      POST
    • Delete Support Ticket
      POST
  • feedback
    • Get feedback
    • Create Feedback
    • Update Feedback
    • Delete Feedback
  • Chat
    • Get all chat
    • Create chat
    • Update chat
    • Delete chat
    • Chat Subscription
  • Doctor
    • Get all Doctors
    • get single doctor
    • Update doctor details
    • Delete Doctor details
    • search doctor
    • Search Appointment
    • Get all appointmet slots
  • Appointment
    • get all appointment for patient
    • get appointment for doctor
    • Create appointment
    • Delete appointment
    • Update Appointment
    • Bulk update Appointment
  1. Auth

Register For Doctor

POST
http://localhost:3000/graphql
Mutation
Variables
{
  "register": {
    "username": "ravi",
    "speciality": [
      "neurology"
    ],
    "sex": "male",
    "age": 30,
    "phone": "9657970158",
    "services": [
      "consulting",
      "headache pain reflect"
    ],
    "role": "doctor",
    "password": "Rav!3476576",
    "email": "ravi@po.com",
    "facility_type": "clinic",
    "facility_name": "ravi clinic",
    "facility_location": "AP",
    "default_fee": 250.00,
    "average_consulting_time": "00:30:00",
    "experience": 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":{"register":{"email":"ravi@po.com","id":"1","role":"doctor","username":"ravi","sex":"male","age":30,"phone":"9657970158"}}}
Modified at 2024-09-23 04:26:56
Next
Register For Patients
Built with