function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
uptime_andrewuptime_andrew 

Case Auto Response Rules when Creating Case through API

I have setup a utility on our website to create cases in SFDC through the API (rather than Web-to-Case).  However, the result is now that the Case Auto Resposne does not fire.

 

I saw a workaround for this for creating cases via APEX by setting the DMLOptions : http://boards.developerforce.com/t5/General-Development/Case-auto-response-rules-not-firing-when-created-through-API/m-p/150150#M34456

 

Any idea if this can be accomplished via PHP through the API?

 

AT

SuperfellSuperfell

You need to send the EmailHeader in your request, with the triggerAutoResponseEmail field set to true.