Send email

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
friendName: {friend-name}
friendName: {friend-name}
friendEmail: {friend-email}
friendEmail: {friend-email}
- 
-
The prize and friend keys are optional, but if the template requires them, the request may fail.
 
Response:
Response:
Line 16: Line 14:
403 Forbidden
403 Forbidden
</pre>
</pre>
 +
 +
The prize and friend keys are optional, but if the template requires them, the request may fail.
Email templates must conform to ePrize standards. Client defined templates are not supported. In addition, email delivery limits are enforced by ePrize and are not under client control. This API is a request to deliver an email, not a guaranteed email delivery system.
Email templates must conform to ePrize standards. Client defined templates are not supported. In addition, email delivery limits are enforced by ePrize and are not under client control. This API is a request to deliver an email, not a guaranteed email delivery system.
The valid {template-id}s at launch are: reg, win, and taf.
The valid {template-id}s at launch are: reg, win, and taf.

Revision as of 03:12, 4 March 2009

Request representation:
profile: {profile},
prize: {prize},
friendName: {friend-name}
friendEmail: {friend-email}

Response:
200 OK

Response on invalid or missing fields:
400 Bad Request

Response if limit reached or security violation:
403 Forbidden

The prize and friend keys are optional, but if the template requires them, the request may fail.

Email templates must conform to ePrize standards. Client defined templates are not supported. In addition, email delivery limits are enforced by ePrize and are not under client control. This API is a request to deliver an email, not a guaranteed email delivery system.

The valid {template-id}s at launch are: reg, win, and taf.

Personal tools