POST api/user/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordVM
NameDescriptionTypeAdditional information
UserId

integer

None.

NewPassword

string

None.

OldPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "newPassword": "sample string 1",
  "oldPassword": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ChangePasswordVM'.

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional information
IsSuccess

ResponseStatus

None.

Message

string

None.

ID

integer

None.

ResponseData

boolean

None.

ShowAlert

boolean

None.

Response Formats

application/json, text/json

Sample:

Sample not available.