<?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: FullName not being generated upon API insert</title><link>http://forums.method.me/cs/forums/thread/35543.aspx</link><pubDate>Thu, 07 Dec 2017 02:25:43 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35543</guid><dc:creator>GroGreen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/35543.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=35543</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Awesome!! Thank you!!&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: FullName not being generated upon API insert</title><link>http://forums.method.me/cs/forums/thread/35542.aspx</link><pubDate>Wed, 06 Dec 2017 17:55:03 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35542</guid><dc:creator>Method_Peter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/35542.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=35542</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;As part of troubleshooting this ticket we generated a quick PHP sample - see here:&amp;nbsp;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;a href="https://www.method.me/api/" title="https://www.method.me/api/"&gt;https://www.method.me/api/&lt;span id="mce_1_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(right hand side, bottom).&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: FullName not being generated upon API insert</title><link>http://forums.method.me/cs/forums/thread/35530.aspx</link><pubDate>Tue, 28 Nov 2017 22:07:24 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35530</guid><dc:creator>Method_Peter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/35530.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=35530</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_9_start" style="overflow:hidden;"&gt;&lt;span id="mce_10_start" style="overflow:hidden;"&gt;&lt;span id="mce_15_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_11_start" style="overflow:hidden;"&gt;&lt;span id="mce_12_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="mce_16_start" style="overflow:hidden;"&gt;I&amp;#39;m going to reach out to you directly.&lt;/span&gt;&lt;span id="mce_4_end" style="overflow:hidden;"&gt;&lt;span id="mce_5_end" style="overflow:hidden;"&gt;&lt;span id="mce_6_end" style="overflow:hidden;"&gt;&lt;span id="mce_7_end" style="overflow:hidden;"&gt;&lt;span id="mce_9_end" style="overflow:hidden;"&gt;&lt;span id="mce_10_end" style="overflow:hidden;"&gt;&lt;span id="mce_11_end" style="overflow:hidden;"&gt;&lt;span id="mce_12_end" style="overflow:hidden;"&gt;&lt;span id="mce_13_start" style="overflow:hidden;"&gt;&amp;nbsp;&amp;nbsp;&lt;span id="mce_14_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: FullName not being generated upon API insert</title><link>http://forums.method.me/cs/forums/thread/35529.aspx</link><pubDate>Tue, 28 Nov 2017 21:29:02 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35529</guid><dc:creator>GroGreen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/35529.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=35529</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Peter,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I tried deleting the Contact portion of the code, however FullName is still not being interted. I see FirstName, LastName and Name, but FullName is blank when looking at the customer.&lt;/p&gt;</description></item><item><title>Re: FullName not being generated upon API insert</title><link>http://forums.method.me/cs/forums/thread/35528.aspx</link><pubDate>Tue, 28 Nov 2017 21:04:11 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35528</guid><dc:creator>Method_Peter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/35528.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=35528</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;I should have reviewed your code before responding.&amp;nbsp; &lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="mce_9_start" style="overflow:hidden;"&gt;M&lt;/span&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_end" style="overflow:hidden;"&gt;&lt;span id="mce_4_end" style="overflow:hidden;"&gt;&lt;span id="mce_5_end" style="overflow:hidden;"&gt;&lt;span id="mce_6_end" style="overflow:hidden;"&gt;&lt;span id="mce_7_end" style="overflow:hidden;"&gt;y read of your code is that the Contact section is creating the problem and should not be executed.&amp;nbsp; When you create the Customer you are&amp;nbsp;&lt;span id="mce_14_start" style="overflow:hidden;"&gt;&lt;/span&gt;creating the first Contact for that Customer&lt;span id="mce_17_start" style="overflow:hidden;"&gt; automatically&lt;/span&gt;&lt;span id="mce_12_start" style="overflow:hidden;"&gt;&lt;/span&gt;.&amp;nbsp; You do not need to execute the Contact section of your code&lt;span id="mce_13_start" style="overflow:hidden;"&gt; (everything inside the &lt;span class="pl-s1"&gt;&lt;span class="pl-k"&gt;if&lt;/span&gt;(&lt;span class="pl-smi"&gt;$RecordID&lt;/span&gt;) block)&lt;/span&gt;&lt;/span&gt;, and in fact, you will end up creating new a new Contact that is not associated to a Customer (that is bad).&amp;nbsp; &lt;span id="mce_11_start" style="overflow:hidden;"&gt;&lt;span id="mce_18_start" style="overflow:hidden;"&gt;If you query the contacts table for all records you should see the issue.&lt;span id="mce_22_start" style="overflow:hidden;"&gt;&amp;nbsp;&amp;nbsp;Let me know if that doesn&amp;#39;t make sense.&lt;span id="mce_11_start"&gt;&lt;span id="mce_18_start"&gt;&amp;nbsp;&amp;nbsp;&lt;span id="mce_21_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: FullName not being generated upon API insert</title><link>http://forums.method.me/cs/forums/thread/35527.aspx</link><pubDate>Tue, 28 Nov 2017 18:48:13 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35527</guid><dc:creator>Method_Peter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/35527.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=35527</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;I haven&amp;#39;t reviewed t&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;he&lt;/span&gt;&amp;nbsp;code you provide but I suspect I know what is happening.&amp;nbsp; There is a bit of business logic that needs to be included to make Contacts work properly.&amp;nbsp; In short, Contacts should (must) always be associated to a Customer.&amp;nbsp; However, the API does not prevent you from creating a Contact without associating it to a Customer (because technically it is not required, but it is required to make Method business logic &lt;span id="mce_5_end" style="overflow:hidden;"&gt;&lt;/span&gt;work correctly).&amp;nbsp; The mechanism to associate a Contact to a Customer is to include the Customer as the Entity for the Contact.&amp;nbsp; Entity is actually the parent table/object to&amp;nbsp;Customer.&amp;nbsp; If you do this the business logic will execute correctly and the FullName field will be generated (and a few other fields&lt;span id="mce_26_start" style="overflow:hidden;"&gt;&lt;/span&gt;) automatically.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;This is discussed in more detail in another post here&lt;span id="mce_23_start" style="overflow:hidden;"&gt; (with a snipet of sample code)&lt;/span&gt;:&lt;span id="mce_12_start" style="overflow:hidden;"&gt;&lt;/span&gt;&amp;nbsp;&lt;span id="mce_11_start" style="overflow:hidden;"&gt;&lt;span id="mce_12_end" style="overflow:hidden;"&gt;&lt;span id="mce_16_start" style="overflow:hidden;"&gt;&lt;span id="mce_19_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;a href="https://www.method.me/cs/forums/p/9709/35424.aspx#35424" title="https://www.method.me/cs/forums/p/9709/35424.aspx#35424" target="_blank"&gt;https://www.method.me/cs/forums/p/9709/35424.aspx#35424&lt;/a&gt;&lt;span id="mce_18_start" style="overflow:hidden;"&gt;&lt;a href="https://www.method.me/cs/forums/p/9709/35424.aspx#35424" title="https://www.method.me/cs/forums/p/9709/35424.aspx#35424" target="_blank"&gt;&lt;/a&gt;&lt;span id="mce_19_end" style="overflow:hidden;"&gt;&lt;a href="https://www.method.me/cs/forums/p/9709/35424.aspx#35424" title="https://www.method.me/cs/forums/p/9709/35424.aspx#35424" target="_blank"&gt;&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&amp;nbsp;&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;"&gt;&lt;span style="overflow:hidden;"&gt;Let us know if that &lt;span id="mce_25_start" style="overflow:hidden;"&gt;helps&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;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: FullName not being generated upon API insert</title><link>http://forums.method.me/cs/forums/thread/35523.aspx</link><pubDate>Sun, 26 Nov 2017 20:39:23 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35523</guid><dc:creator>GroGreen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/35523.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=35523</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Jim,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The code is inserting &amp;#39;Name&amp;#39;. When I look at the contact screen Name is there but FullName is blank.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried modifying the code to enter both Name and FullName but it won&amp;#39;t allow an insert of the FullName field.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: FullName not being generated upon API insert</title><link>http://forums.method.me/cs/forums/thread/35522.aspx</link><pubDate>Sun, 26 Nov 2017 19:18:45 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35522</guid><dc:creator>Method_Jim</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/35522.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=35522</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;H&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;i GroGreen,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;The API should be taking the Name field provided in the code and generating the FullName. Can you please pass the code that you used to pass to Method originally and the account that this is in so that we can have a look?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;Jim&lt;/span&gt;&lt;/p&gt;</description></item><item><title>FullName not being generated upon API insert</title><link>http://forums.method.me/cs/forums/thread/35521.aspx</link><pubDate>Sun, 26 Nov 2017 05:38:09 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:35521</guid><dc:creator>GroGreen</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/35521.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=15&amp;PostID=35521</wfw:commentRss><description>&lt;p&gt;Hey all,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Using arrowplane&amp;#39;s code from here:&amp;nbsp;&lt;span&gt;https://gist.git&lt;/span&gt;&lt;span id="mce_4_start"&gt;&lt;/span&gt;&lt;span&gt;hub.com/relish27/67432c710f4b4904ca6f&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Everything works ok, however the FullName field is not being generated. It is my understanding that FullName is generated by Method. If I try to add FullName to the insert I get the response: &amp;#39;The field FullName does not support add.&amp;#39;&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;</description></item></channel></rss>