PUT api/Password
This method facilitates the password change.
Request Information
URI Parameters
None.
Body Parameters
The pathWd object to be reset.
Password| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| UserName | string |
None. |
|
| Uid | string |
None. |
|
| PassOld | string |
None. |
|
| PassNew | string |
None. |
|
| PassConfirm | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"UserName": "sample string 2",
"Uid": "sample string 3",
"PassOld": "sample string 4",
"PassNew": "sample string 5",
"PassConfirm": "sample string 6"
}
application/xml, text/xml
Sample:
<Password xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BestaendeWeb.Models"> <PassConfirm>sample string 6</PassConfirm> <PassNew>sample string 5</PassNew> <PassOld>sample string 4</PassOld> <Uid>sample string 3</Uid> <UserId>1</UserId> <UserName>sample string 2</UserName> </Password>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The success as boolean true or false.
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>