POST api/ResetPassword
Used for resetting the user's password
Request Information
URI Parameters
None.
Body Parameters
ResetPasswordDTOName | Description | Type | Additional information |
---|---|---|---|
Email ID of user to reset password of |
string |
None. |
|
AuthenticationCode |
Auth code received from email |
string |
None. |
NewPassword |
New password |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Email": "sample string 1", "AuthenticationCode": "sample string 2", "NewPassword": "sample string 3" }
text/xml
Sample:
<ResetPasswordDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"> <AuthenticationCode>sample string 2</AuthenticationCode> <Email>sample string 1</Email> <NewPassword>sample string 3</NewPassword> </ResetPasswordDTO>
multipart/form-data
Sample:
<ResetPasswordDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models.DTO"><AuthenticationCode>sample string 2</AuthenticationCode><Email>sample string 1</Email><NewPassword>sample string 3</NewPassword></ResetPasswordDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
text/xml, multipart/form-data
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>