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": "b793dc6c-a3fd-4756-bd14-73f7076bcc73", "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>b793dc6c-a3fd-4756-bd14-73f7076bcc73</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.