GetMember
From ePrize Developers Wiki
getMember
Summary
Retrieve the members profile information, including their points balance.
Resource
GET api/v1/getMember
Parameters
emailAddress memberId
Example Call http://demo-loyalty.promodev.eprize.com/api/v1/getMember?memberId=278000000118
Example Response: Success
{
"firstName": "Jon", "lastName": "Doe", "emailAddress": "dere03@helloworld.com", "address1": "1 ePrize Dr", "address2": "This Bldg", "city": "Pleasant Ridge", "zipCode": "48033", "state": "MI", “currentBalance”: 540 //always default currency
}
Example Response: Member Id not provided
{
"Error": { "Code": "error.business.Validation", "Message": "Error for attribute: Member Id\nThis information is required.\n" }
}
Example Response: Email Address not provided
{
"Error": { "Code": "error.business.Validation", "Message": "Error for attribute: Email Address\nThis information is required.\n" }
}
Example Response: Email Address and Member Id do no match
{
"Error": { "Code": "error.business.RuleProcessingException.F", "Message": "F" }
}