CreateEmailReferral

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
(New page: ==Summary== Create an email referral. '''Resource''' POST api/v1/createEmailReferral '''Parameters''' userId refereeName refereeEmail '''Example Call''' http://demo-loyalty.promodev....)
Current revision (19:08, 29 June 2016) (edit) (undo)
m (Summary)
 
Line 10: Line 10:
'''Parameters'''
'''Parameters'''
-
userId
+
* userId
-
refereeName
+
* refereeName
-
refereeEmail
+
* refereeEmail
-
'''Example Call'''
+
Example Request Body
-
http://demo-loyalty.promodev.eprize.com api/v1/createEmailReferral
+
{
-
 
+
"userId": 278000000118,
-
{
+
"refereeName": “Jon”,
-
"userId": 278000000118,
+
"refereeEmail": " jon.doe@helloworld.com "
-
"refereeName": “Jon”,
+
}
-
"refereeEmail": " jon.doe@helloworld.com ",
+
-
}
+
Example Response: Success
Example Response: Success
-
{
+
{
-
"success": true
+
"success": true
-
}
+
}

Current revision

Summary

Create an email referral.

Resource

POST api/v1/createEmailReferral

Parameters

  • userId
  • refereeName
  • refereeEmail

Example Request Body

   {
       "userId":  278000000118,
       "refereeName": “Jon”,
       "refereeEmail": " jon.doe@helloworld.com "
   }

Example Response: Success

   {
       "success": true
   }
Personal tools