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.ResetPasswordParamsName | 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": "66c3dee6-c3ad-479b-870e-19ec5c9fac19", "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>66c3dee6-c3ad-479b-870e-19ec5c9fac19</UserId> </ResetPasswordParams>
application/x-www-form-urlencoded
Sample:
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.