PUT v1/User/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordViewModelName | Description | Type | Additional information |
---|---|---|---|
CurrentPassword | string |
None. |
|
UserId | string |
None. |
|
NewPassword | string |
None. |
|
ConfirmNewPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CurrentPassword": "sample string 1", "UserId": "sample string 2", "NewPassword": "sample string 3", "ConfirmNewPassword": "sample string 4" }
application/octet-stream
Sample:
{"CurrentPassword":"sample string 1","UserId":"sample string 2","NewPassword":"sample string 3","ConfirmNewPassword":"sample string 4"}
application/xml, text/xml
Sample:
<ChangePasswordViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ConfirmNewPassword>sample string 4</ConfirmNewPassword> <NewPassword>sample string 3</NewPassword> <UserId>sample string 2</UserId> <CurrentPassword>sample string 1</CurrentPassword> </ChangePasswordViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PasswordResultViewModelName | Description | Type | Additional information |
---|---|---|---|
Succeeded | boolean |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Succeeded": true, "Message": "sample string 2" }
application/octet-stream
Sample:
{"Succeeded":true,"Message":"sample string 2"}
application/xml, text/xml
Sample:
<PasswordResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <Message>sample string 2</Message> <Succeeded>true</Succeeded> </PasswordResultViewModel>