PUT api/useraccount/resetpassword
Changes the password for the (customer) user specified. This is for users who appear in the PortalUser table only; i.e. it cannot be used on an account that resides anywhere else.
Request Information
URI Parameters
None.
Body Parameters
ERP.Api.Controllers.CustomerPortal.ResetPasswordParams| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId |
Gets or sets the user id. |
globally unique identifier |
None. |
| NewPass |
Gets or sets the new password. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "0e7ba375-75b1-47bf-89e7-84d516fe7c86",
"newPass": "********"
}
application/xml, text/xml
Sample:
<ResetPasswordParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP.Api.Controllers.CustomerPortal"> <NewPass>sample string 2</NewPass> <UserId>0e7ba375-75b1-47bf-89e7-84d516fe7c86</UserId> </ResetPasswordParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A response with no data.
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.