I'm trying to invoke an action through the Force.com REST API but I haven't been able to figure out the correct syntax of the request body. I looked for an example of this command but didn't see any. Here is what I've got in a REST client:
POST 'https://na1.salesforce.com/services/data/v32.0/actions/standard/emailSimple' Content-Type: application/json 'Authorization : Bearer XXXXXXXXXXXXXXXXXXXX' {"emailAddresses":"[email protected]","emailSubject":"TESTING","emailBody":"message body"}
I get the following error: "Unrecognized field "emailAddresses" at [line:1, column:20]"