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 Response: Success
{ "firstName": "Jon", "lastName": "Doe", "emailAddress": "jondoe@helloworld.com", "address1": "3000 Town Center", "address2": "Ste 2100", "city": "Southfield", "zipCode": "48069", "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" } }