<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:API Q&amp;A</title><link>http://forums.method.me/cs/forums/15.aspx</link><description>Ask questions specific to the MethodAPI from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Active custom action with MethodAPI</title><link>http://forums.method.me/cs/forums/thread/13586.aspx</link><pubDate>Thu, 30 Aug 2012 12:51:54 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13586</guid><dc:creator>Dominic Riccetti</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13586.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13586</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Wonderful, thank you for the comments!&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Active custom action with MethodAPI</title><link>http://forums.method.me/cs/forums/thread/13583.aspx</link><pubDate>Wed, 29 Aug 2012 21:00:49 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13583</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13583.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13583</wfw:commentRss><description>&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_3_start"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;&lt;span style="overflow:hidden;" id="mce_1_start"&gt;&lt;span style="overflow:hidden;" id="mce_2_start"&gt;Hi Dominic Riccetti,&lt;span style="overflow:hidden;" id="mce_6_start"&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_5_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;" id="mce_4_start"&gt;You cannot run actions in the API. &lt;span style="overflow:hidden;" id="mce_9_start"&gt;&lt;span style="overflow:hidden;" id="mce_10_start"&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_11_start"&gt;&lt;/span&gt;So if actions are being used to populate something&lt;span style="overflow:hidden;" id="mce_13_start"&gt;&lt;/span&gt; like an action result in the UI,&lt;span style="overflow:hidden;" id="mce_14_start"&gt; &lt;/span&gt;and then that action result is used in the send email action&lt;span style="overflow:hidden;" id="mce_12_start"&gt;, you cannot do that via the API. &lt;span style="overflow:hidden;" id="mce_15_start"&gt;The &lt;span style="overflow:hidden;" id="mce_25_start"&gt;&lt;/span&gt;MethodAPIAction&lt;span style="overflow:hidden;" id="mce_23_start"&gt;&lt;span style="overflow:hidden;" id="mce_24_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_21_start"&gt;&lt;span style="overflow:hidden;" id="mce_22_start"&gt;&lt;/span&gt;&lt;/span&gt;Sen&lt;span style="overflow:hidden;" id="mce_18_start"&gt;&lt;span style="overflow:hidden;" id="mce_19_start"&gt;&lt;span style="overflow:hidden;" id="mce_20_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;dMail&lt;span style="overflow:hidden;" id="mce_25_end"&gt;&lt;/span&gt; function takes in the parameters specified and sends an email.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;" id="mce_8_start"&gt;However the application you are building to use the API ,&lt;span style="overflow:hidden;" id="mce_17_start"&gt;&lt;/span&gt;can call other functions, e.g. using &lt;span style="overflow:hidden;" id="mce_16_start"&gt;MethodAPISelect_XMLV2 to retrieve your customer information so you have their email address, etc. &lt;/span&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_7_start"&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_8_end"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;So you should be able to retrieve the information you need beforehand to full populate the &lt;span style="overflow:hidden;" id="mce_26_start"&gt;MethodAPIAction&lt;span style="overflow:hidden;" id="mce_23_start"&gt;&lt;span style="overflow:hidden;" id="mce_24_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_21_start"&gt;&lt;span style="overflow:hidden;" id="mce_22_start"&gt;&lt;/span&gt;&lt;/span&gt;Sen&lt;span style="overflow:hidden;" id="mce_18_start"&gt;&lt;span style="overflow:hidden;" id="mce_19_start"&gt;&lt;span style="overflow:hidden;" id="mce_20_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;dMail&lt;span style="overflow:hidden;" id="mce_25_end"&gt;&lt;/span&gt; function&lt;span style="overflow:hidden;" id="mce_27_start"&gt; call&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Dave&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Active custom action with MethodAPI</title><link>http://forums.method.me/cs/forums/thread/13582.aspx</link><pubDate>Wed, 29 Aug 2012 18:23:23 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13582</guid><dc:creator>Dominic Riccetti</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13582.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13582</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hello,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thank you for the reply, I assume then I can do every action from the MethodAPIActionSendMail that we can in the UI to mock the users action?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Dominic&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item><item><title>Re: Active custom action with MethodAPI</title><link>http://forums.method.me/cs/forums/thread/13577.aspx</link><pubDate>Wed, 29 Aug 2012 17:12:36 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13577</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13577.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13577</wfw:commentRss><description>&lt;p&gt;Hi &lt;span style="overflow:hidden;" id="mce_1_start"&gt;Dominic Riccetti,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;No you cannot&lt;span style="overflow:hidden;" id="mce_2_start"&gt;. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;I will put a&amp;nbsp;suggestion in with the dev team, about adding this to a future release of the API&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Dave&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Active custom action with MethodAPI</title><link>http://forums.method.me/cs/forums/thread/13576.aspx</link><pubDate>Wed, 29 Aug 2012 16:31:59 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:13576</guid><dc:creator>Dominic Riccetti</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/13576.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=13576</wfw:commentRss><description>&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hello, I have a customer whom has a very extensive email action.&amp;nbsp; I have no doubt we can recreate this, but my question is can&amp;rsquo;t we just call the custom action from the MethodAPI?&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Dominic&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>