<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS Online REST API - Analyze task in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/arcgis-online-rest-api-analyze-task/m-p/378750#M453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;I am trying to push a CSV file and publish it as a feature service to an ArcGIS Online for Organization account and am finding the documentation here &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r30000007r000000" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r30000007r000000"&gt;ArcGIS REST API&lt;/A&gt; incomplete and/or &lt;/SPAN&gt;inconsistent.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been attempting to analyze a CSV (for several days now), but a&lt;SPAN style="line-height: 1.5;"&gt;ll my requests are returning 200/OK with a mostly-blank html page.&amp;nbsp; I'd guess that means that I'm sending the wrong parameters, hitting the wrong url, or not setting some required header, but I've tried everything I can think of without success.&amp;nbsp; Here's what I'm POSTing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;URL: &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/sharing/rest/content/features/analyze" rel="nofollow" target="_blank"&gt;http://www.arcgis.com/sharing/rest/content/features/analyze&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Data: &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt;token=[valid token]&amp;amp;itemid=fd8faaef968648949802b014bb034db6&amp;amp;filetype=csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;A few other things:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 1.5;"&gt;I've also tried setting the text parameter to my csv text (which is the goal in the long run) but produces the same result.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 1.5;"&gt;The documentation is unclear on whether the parameter should be called "id" or "itemid", with one sample and the parameter name as "itemid", but another example as "id".&amp;nbsp; I've tried both and get the same results&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Anyone see this problem before or know a good way to troubleshoot this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 14:04:23 GMT</pubDate>
    <dc:creator>AshleyDePottey</dc:creator>
    <dc:date>2014-09-24T14:04:23Z</dc:date>
    <item>
      <title>ArcGIS Online REST API - Analyze task</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/arcgis-online-rest-api-analyze-task/m-p/378750#M453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;I am trying to push a CSV file and publish it as a feature service to an ArcGIS Online for Organization account and am finding the documentation here &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r30000007r000000" title="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r30000007r000000"&gt;ArcGIS REST API&lt;/A&gt; incomplete and/or &lt;/SPAN&gt;inconsistent.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been attempting to analyze a CSV (for several days now), but a&lt;SPAN style="line-height: 1.5;"&gt;ll my requests are returning 200/OK with a mostly-blank html page.&amp;nbsp; I'd guess that means that I'm sending the wrong parameters, hitting the wrong url, or not setting some required header, but I've tried everything I can think of without success.&amp;nbsp; Here's what I'm POSTing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;URL: &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/sharing/rest/content/features/analyze" rel="nofollow" target="_blank"&gt;http://www.arcgis.com/sharing/rest/content/features/analyze&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Data: &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5;"&gt;token=[valid token]&amp;amp;itemid=fd8faaef968648949802b014bb034db6&amp;amp;filetype=csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;A few other things:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="line-height: 1.5;"&gt;I've also tried setting the text parameter to my csv text (which is the goal in the long run) but produces the same result.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="line-height: 1.5;"&gt;The documentation is unclear on whether the parameter should be called "id" or "itemid", with one sample and the parameter name as "itemid", but another example as "id".&amp;nbsp; I've tried both and get the same results&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5;"&gt;Anyone see this problem before or know a good way to troubleshoot this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 14:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/arcgis-online-rest-api-analyze-task/m-p/378750#M453</guid>
      <dc:creator>AshleyDePottey</dc:creator>
      <dc:date>2014-09-24T14:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online REST API - Analyze task</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/arcgis-online-rest-api-analyze-task/m-p/378751#M454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you do a POST request and set &lt;CODE&gt;f=json&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 21:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/arcgis-online-rest-api-analyze-task/m-p/378751#M454</guid>
      <dc:creator>HeikoHeijenga</dc:creator>
      <dc:date>2014-12-08T21:27:54Z</dc:date>
    </item>
  </channel>
</rss>

