Emailing an invoice does work although the documentation could be
clearer and the error messages are not at all helpful. To send an
email make a call like the following example:
With the following JSON:
The email parameters are optional so if your contact already has an
email address and if you have email templates set up you shouldn’t
have to supply those parameters. Unfortunately at the moment you do
have to supply something so if you don’t want to override any of the
parameters send the following:
We will improve this so that it works with blank input and the errors
GraemeOn 3 October 2012 11:44, Simon Moxon email@example.com wrote:
Using the V2 API I don’t seem to be able to call the ‘send email’ function, has anyone managed it?
Posting (what I believe to be the correct JSON) to the following url results in a ‘Resource not found’ error.
Is it possible to send e-mails via the API (as this specific function seems to be missing from the official v2 ruby library too)?
You received this message because you are subscribed to the Google Groups “FreeAgent API” group.
To view this discussion on the web visit https://groups.google.com/d/msg/freeagent_api/-/cS1QUbDPPjAJ.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/freeagent_api?hl=en.
Senior Software Engineer
40 Torphichen Street, Edinburgh, EH3 8JB
FreeAgent Central Ltd. Registered in sunny Scotland SC316774