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
Bujji vBujji v 

WebHook

Hi,

 I want to create Webhook for Campaign Monitor. I just gone through http://www.campaignmonitor.com/api/webhooks/....

In that I found, we have to mention an URL in JSON body to create a Webhook. For that what is the URL I have to specify.

 

 

Ashish_SFDCAshish_SFDC
Hi Bujji, 


See the links below for further related information. 

http://blogs.developerforce.com/developer-relations/2012/02/quick-tip-public-restful-web-services-on-force-com-sites.html


http://salesforce.stackexchange.com/questions/15578/restrequest-requestbody-instead-of-params


sounds like a job for the REST API, have a look here http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_rest_code_sample_basic.htm

depending on the complexity of your JSON object you might be able to archive this by passing the values via apex:actionFunction and apex:param

have a look here: http://boards.developerforce.com/t5/Apex-Code-Development/How-do-I-pass-value-of-apex-inputField-to-Custom-Controller/td-p/532905

In a previous project I was working with a quite complex JSON object and tried to pass it via function and param to the Controller, but it was always null for the controller. I found a workaround by saving the JSON object in a Note record via API and just passing the Note ID to the controller

http://salesforce.stackexchange.com/questions/13026/how-to-get-the-parameters-coming-from-webhook-post-api

https://developer.atlassian.com/display/JIRADEV/JIRA+Webhooks+Overview


Regards,
Ashish


Dejan CvetkoskiDejan Cvetkoski
Hi everyone,
I have similar problem, i can't send request from woocomerce who work with webhook. I can't send to my webservice. When i try to send i have this problem. Anyone help me. Thanks.
User-added image