<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/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>422 unprocessable entity on get_entry_list (record_list)</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/5603/422-unprocessable-entity-on-get_entry_list-record_list</link><description>Hiya, 
 I have recently been having an issue with my python program, I have been trying to retrieve a record list which you can read about here or what is defined as &amp;quot;get_entry_list&amp;quot; in the doccumetation so I can then use the ID to proceed with a export</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: 422 unprocessable entity on get_entry_list (record_list)</title><link>https://sugarclub.sugarcrm.com/thread/26399?ContentTypeID=1</link><pubDate>Mon, 02 May 2022 15:06:45 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:a87b5905-59f1-4c52-a3c4-94510a22d297</guid><dc:creator>Rafael Fernandes</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/thomasdurham329191"&gt;Thomas Durham&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;The first link you sent points to a &amp;quot;Legacy API&amp;quot;, which is not recommended, also I see in your request that you&amp;#39;re using&amp;nbsp;(rest/v11_8) which is pretty old.. our latest is v11_16, check them all &lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_11.2/Integration/Web_Services/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You&amp;#39;re request can be simplified as:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;curl --location --request GET &amp;#39;https://&amp;lt;your sugar&amp;gt;/rest/v11_14/ProductTemplates&amp;#39; \
--header &amp;#39;OAuth-Token: your token&amp;#39; \
--header &amp;#39;Content-Type: application/json&amp;#39; \
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Specifically for ProductTemplates we offer an &lt;a href="https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_12.0/Integration/Web_Services/REST_API/Endpoints/ProductTemplatestree_GET/"&gt;endpoint&lt;/a&gt; you could use to navigate it through its tree.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;rafa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>