ForgotPassword

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
(New page: ==Summary== Initiates forgot password flow to send the password change email. '''Resource''' POST api/v1/forgotPassword '''Parameters''' emailAddress '''Example Call''' http://demo-l...)
Current revision (22:20, 29 June 2016) (edit) (undo)
(Summary)
 
Line 10: Line 10:
'''Parameters'''
'''Parameters'''
-
emailAddress
+
* emailAddress
-
 
+
-
'''Example Call'''
+
-
http://demo-loyalty.promodev.eprize.com/api/v1/forgotPassword
+
Example Request Body:
Example Request Body:
-
{
+
{
-
"email": "jon.doe@helloworld.com"
+
"email": "jon.doe@helloworld.com"
-
}
+
}
Example Response: Success
Example Response: Success
-
{
+
{
-
"success": true
+
"success": true
-
}
+
}
Example Response: Email Address not provided
Example Response: Email Address not provided
-
{
+
{
-
"Error": {
+
"Error": {
-
"Code": "error.business.Validation",
+
"Code": "error.business.Validation",
-
"Message": "Error for attribute: Email Address\nThis information is required.\n"
+
"Message": "Error for attribute: Email Address\nThis information is required.\n"
 +
}
}
}
-
}
 

Current revision

Summary

Initiates forgot password flow to send the password change email.

Resource

POST api/v1/forgotPassword

Parameters

  • emailAddress

Example Request Body:

   {
       "email": "jon.doe@helloworld.com"
   }

Example Response: Success

   {
       "success": true
   }

Example Response: Email Address not provided

   {
       "Error": {
           "Code": "error.business.Validation",
           "Message": "Error for attribute: Email Address\nThis information is required.\n"
       }
   }
Personal tools