The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
We are looking to develop an apex trigger that will post all leads assigned to a certain lead queue to an external API. We currently manage a number of websites which generate leads, these leads are then posted to salesforce via web-to-lead. Once the lead is received we will create workflows to assign the lead to its respective lead queue.
We initially need an apex trigger to post the leads to two external API's:
ie. 1. All leads assigned to 'Lead Queue A' post to 'API A'
2. All leads assigned to 'Lead Queue B' post to 'API B'
Here is and example of the PHP:
$ch = curl_init(' [obscured] /webservice/api_valid_form.php');
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, "id_site=108&token=6e9dac83456f55755e3a333623c57b6a&action=submit&id_form=35&id_source=6353&email= [obscured] .uk&f_project_post_code=RG4%201BS&f_civility=Mr&f_first_name=John&f_last_name=Mac&f_delay=1&f_country=0&f_kind=b2...
Sign in or Register to see more