Send email

From ePrize Developers Wiki

(Difference between revisions)
Jump to: navigation, search

Ken-fox (Talk | contribs)
(New page: <pre>Request representation: profile: {profile}, prize: {prize}, friend: [ [name: {friend-name}, email: {friend-email}], ... ] The prize and friend keys are optional, but if the template ...)
Next diff →

Revision as of 13:04, 2 March 2009

Request representation:
profile: {profile},
prize: {prize},
friend: [
[name: {friend-name}, email: {friend-email}],
...
]

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

Response:
200 OK

Response on invalid or missing fields:
400 Bad Request

Response if limit reached or security violation:
403 Forbidden

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