POST api/account/change/password
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordViewModelName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
OldPassword | string |
None. |
|
NewPassword | string |
None. |
|
ConfirmPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "de5ac3cd-d4bb-47fe-95e5-8c91a5676605", "OldPassword": "sample string 2", "NewPassword": "sample string 3", "ConfirmPassword": "sample string 4" }
text/html
Sample:
{"UserId":"de5ac3cd-d4bb-47fe-95e5-8c91a5676605","OldPassword":"sample string 2","NewPassword":"sample string 3","ConfirmPassword":"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/SingersBabel.BAL.ViewModel"> <ConfirmPassword>sample string 4</ConfirmPassword> <NewPassword>sample string 3</NewPassword> <OldPassword>sample string 2</OldPassword> <UserId>de5ac3cd-d4bb-47fe-95e5-8c91a5676605</UserId> </ChangePasswordViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.