POST api/MedicalCenter/ChangePassword

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

ChangePasswordViewModel
NameDescriptionTypeAdditional information
OldPassword

string

Required

Data type: Password

NewPassword

string

Required

Matching regular expression pattern: ^.{6,}$

ConfirmPassword

string

Required

Request Formats

application/json, text/json

Sample:
{
  "OldPassword": "sample string 1",
  "NewPassword": "sample string 2",
  "ConfirmPassword": "sample string 3"
}

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
}