<?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: Generating &amp; Emailing an Invoice Through the API</title><link>http://forums.method.me/cs/forums/thread/11922.aspx</link><pubDate>Fri, 20 Apr 2012 16:04:26 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11922</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11922.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11922</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Warren_nickus,&lt;/p&gt;
&lt;p&gt;The information you are looking for is available in the Method&amp;nbsp;CRM help center, located at &amp;nbsp;&lt;a href="http://www.methodintegration.com/method/kb.aspx?folder=MethodCRM&amp;amp;article=Overview&amp;amp;id=73"&gt;http://www.methodintegration.com/method/kb.aspx?folder=MethodCRM&amp;amp;article=Overview&amp;amp;id=73&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In particular, Information about creating method shortulrs is located at &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.methodintegration.com/method/kb.aspx?folder=methodcrm&amp;amp;article=Create-Short-Method-URL&amp;amp;id=165"&gt;http://www.methodintegration.com/method/kb.aspx?folder=methodcrm&amp;amp;article=Create-Short-Method-URL&amp;amp;id=165&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And information about setting up portals is located at &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.methodintegration.com/method/kb.aspx?folder=methodcrm&amp;amp;article=Setup-your-Portal&amp;amp;id=81"&gt;http://www.methodintegration.com/method/kb.aspx?folder=methodcrm&amp;amp;article=Setup-your-Portal&amp;amp;id=81&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: Generating &amp; Emailing an Invoice Through the API</title><link>http://forums.method.me/cs/forums/thread/11912.aspx</link><pubDate>Thu, 19 Apr 2012 19:52:03 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11912</guid><dc:creator>warren_nickus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11912.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11912</wfw:commentRss><description>&lt;p&gt;Dave this is all too vague for me. The method &amp;quot;MethosAPIGetScreenURLV4&amp;quot; has no documentation whatsoever. Can you clarify please?&lt;/p&gt;
&lt;p&gt;Moreover, how would we create a portal which generates the PDF file WITHOUT having to login first? As far as I understood you need to login to the portal prior of actually seeing the data in the browser.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;</description></item><item><title>Re: Generating &amp; Emailing an Invoice Through the API</title><link>http://forums.method.me/cs/forums/thread/11911.aspx</link><pubDate>Thu, 19 Apr 2012 19:44:35 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11911</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11911.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11911</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Warren_nickus,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m gonna correct my self about one thing in my last post&lt;/p&gt;
&lt;p&gt;You should not use the MethodAPIGetScreenURLV4&amp;nbsp; as the strattachment field value in the email function. Instead, use it in the body of an email.&lt;/p&gt;
&lt;p&gt;An example of doing this in method can be found in the Invoice or the sales orders&amp;nbsp;screen. Look into the actions for the save &amp;amp; email button.&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;</description></item><item><title>Re: Generating &amp; Emailing an Invoice Through the API</title><link>http://forums.method.me/cs/forums/thread/11907.aspx</link><pubDate>Thu, 19 Apr 2012 19:15:10 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11907</guid><dc:creator>Method_David</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11907.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11907</wfw:commentRss><description>&lt;p&gt;Warren_nickus,&lt;/p&gt;
&lt;p&gt;No you cannot.&lt;/p&gt;
&lt;p&gt;However there is a workaround.&lt;/p&gt;
&lt;p&gt;From page 31 of the api documentation (located at &lt;a href="http://www.methodintegration.com/self-service-documentation.aspx"&gt;http://www.methodintegration.com/self-service-documentation.aspx&lt;/a&gt;), strAttachment is &amp;quot;the url of an attachment&amp;quot;. &lt;/p&gt;
&lt;p&gt;Also note this field is not required and can have an empty string passed in.&lt;/p&gt;
&lt;p&gt;What you can do is use the function MethodAPIGetScreenURLV4 to generate a url. This url should be a link into a portal which generates the pdf when it loads.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;You can then pass this url into the the email function as the strattachment url.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Generating &amp; Emailing an Invoice Through the API</title><link>http://forums.method.me/cs/forums/thread/11882.aspx</link><pubDate>Thu, 19 Apr 2012 12:03:12 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11882</guid><dc:creator>warren_nickus</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11882.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=11882</wfw:commentRss><description>&lt;p&gt;Is there a way to generate the PDF Invoice through the API and email it?&lt;/p&gt;
&lt;p&gt;I have noticed the API does have an &amp;quot;Email&amp;quot; call but it requries an attachment. Can we generate that attachment through another call?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nick&lt;/p&gt;</description></item></channel></rss>