POST api/MedicalCenter/DoctorManagement/Add

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

DoctorRegisterViewModel
NameDescriptionTypeAdditional information
DoctorID

integer

None.

EnName

string

Required

Matching regular expression pattern: [a-zA-Z\s]{1,}

ArName

string

Required

Matching regular expression pattern: [\u0621-\u064A\u0660-\u0669 ]+$

GenderID

integer

Range: inclusive between 1 and 2147483647

AccounEmail

string

Required

DoctorTage

string

Required

ExaminationPrice

decimal number

None.

EstimatedExaminationTime

integer

Required

DoctorEngCertification

string

Required

Matching regular expression pattern: [a-zA-Z\s]{1,}

DoctorArbCertification

string

Required

Matching regular expression pattern: [\u0621-\u064A\u0660-\u0669 ]+$

DoctoCertificationDate

date

Required

Data type: Date

ContactPhoneNumber

string

Matching regular expression pattern: ^[0-9]{9,15}$

Title

string

Required

MedicalCenterSpecializedClinicID

integer

Range: inclusive between 1 and 2147483647

DoctorSpecializationID

integer

Range: inclusive between 1 and 2147483647

DoctorAcademicDegreeID

integer

Range: inclusive between 1 and 2147483647

Password

string

None.

UserID

integer

None.

IsLoginFirst

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DoctorID": 1,
  "EnName": "sample string 2",
  "ArName": "sample string 3",
  "GenderID": 4,
  "AccounEmail": "sample string 5",
  "DoctorTage": "sample string 6",
  "ExaminationPrice": 1.1,
  "EstimatedExaminationTime": 7,
  "DoctorEngCertification": "sample string 8",
  "DoctorArbCertification": "sample string 9",
  "DoctoCertificationDate": "2019-10-22T22:01:49.3460867-04:00",
  "ContactPhoneNumber": "sample string 11",
  "Title": "sample string 12",
  "MedicalCenterSpecializedClinicID": 13,
  "DoctorSpecializationID": 14,
  "DoctorAcademicDegreeID": 15,
  "Password": "sample string 16",
  "UserID": 17,
  "IsLoginFirst": true
}

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Status

integer

None.

Response

Object

None.

Errors

Object

None.

Authorized

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Response": {},
  "Errors": {},
  "Authorized": true
}