Can you use API's to transfer data to eCards?

Options

Here is the info from the API Designer.



If you mean to prepopulate an eCard form, then yes that can be done by specifying the appropriate arguments on the link to the eCard form. If you mean to automatically send an eCard, then no and we would probably never support that because of SPAM concerns. Note that the eCard form has been modified to include a CAPTCHA question by default.



To do the first (prepopulate a form):



1. You must include the argument ecard_form=true. This is a signal to parse the rest of the inputs.

2. Provided that argument is included the following arguments can be used to prepopulate the form:

a. sendtoemail=…

b. subject=…

c. message=…

3. To populate the any of the sender information, you also need to include the argument cons_info_component=t, you can then also include these arguments to populate the sender fields:

a. cons_first_name=…

b. cons_last_name=…

c. cons_email=…

4. To preselect a specific card, you need to include the arguments stationery_layout_chooser=true and stationery_layout_id=xxxx where xxxx is the ID of the stationery for the card.



A URL like this prepopulates the entire form:



http://localhost/site/Ecard?ecard_id=1001&sendtoemail=daveh@convio.com&subject=This+is+a+test&message=It+worked.&ecard_form=true&cons_first_name=Dave&cons_last_name=Hart&cons_email=daveh@convio.com&cons_info_component=t&stationery_layout_id=1001&stationery_layout_chooser=true

Tagged:

Categories