call url from script in action

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

jhagstrand
Posts: 22
Joined: Thu Apr 17, 2008 8:38 pm

call url from script in action

Post by jhagstrand »

Hi,
When I run an unsubscribe action, I want to call a web service on another server. (We have another system that needs to be notified when a customer unsubscribes.) How can I do that?
Thanks, John.
Fatalin
Posts: 111
Joined: Wed Aug 05, 2009 10:51 am
Location: Troisdorf, Germany
Contact:

Re: call url from script in action

Post by Fatalin »

We solved this by creating a form with entry action "load user data" and the following HTML Code in the success field:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>
  <head>
  <meta http-equiv="refresh" content="1; URL=http://YOUR DOMAIN NAME&uid=$agnUID&email=$customerData.email">
  <title></title>
  </head>
  <body>
  </body>
</html>
From our external server we call another OpenEMM Form with the UID to continue processing the case within OpenEMM (follow-up action etc.).

Hope that helps.

Best Regards
Markus
Günstige Software gibt es bei http://www.Software-Butler.de
Post Reply