POST api/DoctorProfile/EditProfile

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

DoctorProfileUpdateViewModelForCenter
NameDescriptionTypeAdditional information
DoctorID

integer

None.

EnFullName

string

Required

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

ArFullName

string

Required

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

PersonalPhoto

string

None.

Email

string

Required

DoctorTitle

string

Required

ExaminationPrice

decimal number

None.

EstimatedExaminationTime

integer

Required

ContactPhoneNumber

string

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

UserID

integer

None.

MoreInfo

string

None.

ReservationsNotes

string

None.

SpecializedClinicID

integer

Required

SpecializationID

integer

Required

SubSpecialization

string

None.

AcademicDegreeID

integer

Required

Tags

Collection of DoctorTagsViewModel

None.

TagNames

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "DoctorID": 1,
  "EnFullName": "sample string 2",
  "ArFullName": "sample string 3",
  "PersonalPhoto": "sample string 4",
  "Email": "sample string 5",
  "DoctorTitle": "sample string 6",
  "ExaminationPrice": 1.1,
  "EstimatedExaminationTime": 1,
  "ContactPhoneNumber": "sample string 7",
  "UserID": 8,
  "MoreInfo": "sample string 9",
  "ReservationsNotes": "sample string 10",
  "SpecializedClinicID": 11,
  "SpecializationID": 12,
  "SubSpecialization": "sample string 13",
  "AcademicDegreeID": 14,
  "Tags": [
    {
      "TagID": 1,
      "Name": "sample string 2",
      "DoctorID": 3
    },
    {
      "TagID": 1,
      "Name": "sample string 2",
      "DoctorID": 3
    }
  ],
  "TagNames": [
    "sample string 1",
    "sample string 2"
  ]
}

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
}