POST api/Customer/ChangePassword
To Change Password By Customer - Need Authorization
Request Information
URI Parameters
None.
Body Parameters
CustomerChangePasswordModelName | Description | Type | Additional information |
---|---|---|---|
Username | string |
Required |
|
CurrentPassword | string |
Required |
|
NewPassword | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "username": "sample string 1", "currentPassword": "sample string 2", "newPassword": "sample string 3" }
text/html
Sample:
{"username":"sample string 1","currentPassword":"sample string 2","newPassword":"sample string 3"}
application/xml, text/xml
Sample:
<CustomerChangePasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saba.Common.PublicApi"> <CurrentPassword>sample string 2</CurrentPassword> <NewPassword>sample string 3</NewPassword> <Username>sample string 1</Username> </CustomerChangePasswordModel>
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.