POST api/patient/editProfile

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

PatientEditProfileViewModel
NameDescriptionTypeAdditional information
Email

string

Matching regular expression pattern: ^\s*[\w\-\+_]+(\.[\w\-\+_]+)*\@[\w\-\+_]+\.[\w\-\+_]+(\.[\w\-\+_]+)*\s*$

FullName

string

Required

CityID

integer

Range: inclusive between 1 and 2147483647

DetailedAddress

string

None.

MobileNumber

string

Required

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

GenderID

integer

Matching regular expression pattern: 1|2

BirthDate

date

None.

CalledVia

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "FullName": "sample string 2",
  "CityID": 1,
  "DetailedAddress": "sample string 3",
  "MobileNumber": "sample string 4",
  "GenderID": 1,
  "BirthDate": "2019-10-20T21:00:00.7448416-04:00",
  "CalledVia": "sample string 5"
}

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
}