POST api/UserAPI/NewChangePassword
Request Information
URI Parameters
None.
Body Parameters
UserChangePasswordDTOName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required Range: inclusive between 1 and 2147483647 |
|
OldPassword | string |
Required |
|
NewPassword | string |
Max length: 50 Min length: 8 |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "OldPassword": "sample string 2", "NewPassword": "sample string 3" }
application/xml, text/xml
Sample:
<UserChangePasswordDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <Id>1</Id> <NewPassword>sample string 3</NewPassword> <OldPassword>sample string 2</OldPassword> </UserChangePasswordDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.