ChangePassword
From ePrize Developers Wiki
(Difference between revisions)
(New page: ==Summary== Changes a users password for accessing the loyalty program '''Resource''' POST api/v1/changePassword '''Parameters''' memberId password Example Call http://demo-loyalty.p...) |
m (→Summary) |
||
Line 5: | Line 5: | ||
'''Resource''' | '''Resource''' | ||
- | POST | + | POST api/v1/changePassword |
- | api/v1/changePassword | + | |
'''Parameters''' | '''Parameters''' | ||
- | memberId | + | * memberId |
- | password | + | * password |
- | + | ||
- | + | ||
- | + | ||
Example Request Body: | Example Request Body: | ||
- | + | ||
- | "memberId": 278000000118 | + | { |
- | + | "memberId": 278000000118 | |
- | } | + | "password": "Passw0rd1" |
+ | } | ||
Example Response: Success | Example Response: Success | ||
- | + | ||
- | "success": true | + | { |
- | } | + | "success": true |
+ | } | ||
Example Response: Member Id not Found | Example Response: Member Id not Found | ||
- | { | + | { |
- | + | "Error": { | |
- | + | "Code": "error.business.RuleProcessingException.RecordNotFound", | |
- | + | "Message": "Record Not Found" | |
+ | } | ||
} | } | ||
- | } |
Current revision
Summary
Changes a users password for accessing the loyalty program
Resource
POST api/v1/changePassword
Parameters
- memberId
- password
Example Request Body:
{ "memberId": 278000000118 "password": "Passw0rd1" }
Example Response: Success
{ "success": true }
Example Response: Member Id not Found
{ "Error": { "Code": "error.business.RuleProcessingException.RecordNotFound", "Message": "Record Not Found" } }