<?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: Using API with Multi-Tenancy</title><link>http://forums.method.me/cs/forums/thread/14111.aspx</link><pubDate>Mon, 15 Oct 2012 22:39:46 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14111</guid><dc:creator>Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14111.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=14111</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Yup, it works now, and yes, I probably hit finished editing fields. I was wondering why the TenantID field wasn&amp;#39;t showing up in there. It is showing up now.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;Did you see my earlier post about the&amp;nbsp;&lt;span&gt;CreateMethodUserV2 call?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span&gt;Thanks for getting the account straightened out.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Using API with Multi-Tenancy</title><link>http://forums.method.me/cs/forums/thread/14109.aspx</link><pubDate>Mon, 15 Oct 2012 22:23:31 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14109</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14109.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=14109</wfw:commentRss><description>&lt;p&gt;...and I bet the reason the Campaign worked was because you went into Customize &amp;gt; Tables / Fields and hit Finish Editing fields between your original post and my response that it &amp;#39;should work&amp;#39;.&lt;/p&gt;
&lt;p&gt;Sound about right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;</description></item><item><title>Re: Using API with Multi-Tenancy</title><link>http://forums.method.me/cs/forums/thread/14108.aspx</link><pubDate>Mon, 15 Oct 2012 22:22:15 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14108</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14108.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=14108</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Matt - I just regenerated all the field definitions on the account in question.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;I have a hunch as to why they weren&amp;#39;t generated the first time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you try now?&lt;/p&gt;
&lt;p&gt;paul&lt;/p&gt;</description></item><item><title>Re: Using API with Multi-Tenancy</title><link>http://forums.method.me/cs/forums/thread/14105.aspx</link><pubDate>Mon, 15 Oct 2012 21:24:28 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14105</guid><dc:creator>Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14105.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=14105</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Sorry, I meant to include that, CampaignStatus is the table I am getting the error on.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Using API with Multi-Tenancy</title><link>http://forums.method.me/cs/forums/thread/14103.aspx</link><pubDate>Mon, 15 Oct 2012 21:14:01 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14103</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14103.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=14103</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Depends on the table. Which table is it?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Using API with Multi-Tenancy</title><link>http://forums.method.me/cs/forums/thread/14102.aspx</link><pubDate>Mon, 15 Oct 2012 20:41:47 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14102</guid><dc:creator>Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14102.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=14102</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;I was able to insert records into the Campaign table&lt;span id="mce_2_start" style="overflow:hidden;"&gt;, but when I use the same exact code and only change the table and the&amp;nbsp;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;field/value arrays parameters,&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt; I get the following response:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;windows-1252&amp;quot; ?&amp;gt;&amp;lt;MethodAPI response = &amp;quot;The field TenantID does not support add.&amp;quot; &amp;gt;&amp;lt;/MethodAPI&amp;gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;Any ideas why I would get this error one one table, but not another?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Using API with Multi-Tenancy</title><link>http://forums.method.me/cs/forums/thread/14099.aspx</link><pubDate>Mon, 15 Oct 2012 20:13:38 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14099</guid><dc:creator>Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14099.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=14099</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;You make a good point!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;I didn&amp;#39;t see anywhere in&amp;nbsp;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;CreateMethodUserV2 that would allow me to set which franchisee a new user is associated with. Am I just missing it? Or is it something that could be added?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Using API with Multi-Tenancy</title><link>http://forums.method.me/cs/forums/thread/14092.aspx</link><pubDate>Mon, 15 Oct 2012 14:12:25 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14092</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14092.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=14092</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;Nope.&amp;nbsp;&lt;/span&gt;If that wasn&amp;#39;t already working like that we&amp;#39;d have some big issues!!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;Paul&lt;/p&gt;</description></item><item><title>Re: Using API with Multi-Tenancy</title><link>http://forums.method.me/cs/forums/thread/14091.aspx</link><pubDate>Mon, 15 Oct 2012 13:53:32 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14091</guid><dc:creator>Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14091.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=14091</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hey Paul,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;Things are good here, hope all is well with you too.&lt;/p&gt;
&lt;p&gt;I ran my code after your reply so that I could copy and paste the exact response I was getting and it was successful!&lt;/p&gt;
&lt;p&gt;Are you sure you didn&amp;#39;t change the properties for the TenantID field?&amp;nbsp;&lt;img src="http://www.methodintegration.com/cs/emoticons/emotion-4.gif" alt="Stick out tongue" /&gt;&lt;/p&gt;</description></item><item><title>Re: Using API with Multi-Tenancy</title><link>http://forums.method.me/cs/forums/thread/14087.aspx</link><pubDate>Sun, 14 Oct 2012 12:38:55 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14087</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14087.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=14087</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hey Matt - hope all is with you, it&amp;#39;s been a while!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The TenantID should not be read-only.&lt;/p&gt;
&lt;p&gt;Does the user you are authenticating with have access to that Tenant? i.e. are you able to sign into Method normally to that Tenant with the user name and password/sessionid you are specifying in your request?&lt;/p&gt;
&lt;p&gt;Also, are you sure that the account you are doing this to is a multi-tenant account? i.e. if you have a sandbox account that you are using to test things out for your client, you should make sure that the sandbox account has been converted to multi-tenancy as well (you need to email us so that we can run the conversion).&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Using API with Multi-Tenancy</title><link>http://forums.method.me/cs/forums/thread/14086.aspx</link><pubDate>Sat, 13 Oct 2012 16:23:12 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14086</guid><dc:creator>Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14086.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=14086</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;What is the reccomended approach for using the API with a multi-tenancy account?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;For example if I want to insert a Campaign for a tenant.&lt;/p&gt;
&lt;p&gt;If I try using the tenant Company Account for the&amp;nbsp;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;strCompanyAccount parameter I get an authentication error, which probably makes sense since the record should be added to the head-office account and have the TenantID field set accordingly. However, that doesn&amp;#39;t work either since the TenantID field does not support add or edit.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>