ChangePassword

From ePrize Developers Wiki

Revision as of 00:36, 29 June 2016 by Wikiadmin (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Summary

Changes a users password for accessing the loyalty program

Resource

POST api/v1/changePassword

Parameters

memberId password

Example Call http://demo-loyalty.promodev.eprize.com/api/v1/changePassword

Example Request Body: {

   "memberId": 278000000118
   “password”: “ePrize#”

}

Example Response: Success {

   "success": true

}

Example Response: Member Id not Found {

   "Error": {
       "Code": "error.business.RuleProcessingException.RecordNotFound",
       "Message": "Record Not Found"
   }

}