<?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 Re: Using REST API for spatial analysis in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-rest-api-for-spatial-analysis/m-p/253945#M1211</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same issue, apparently to use the API REST you should have additional permission. &lt;A href="https://community.esri.com/thread/119201"&gt;interpolation using API REST&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jan 2015 09:53:32 GMT</pubDate>
    <dc:creator>AidaMonfort_Muriach</dc:creator>
    <dc:date>2015-01-23T09:53:32Z</dc:date>
    <item>
      <title>Using REST API for spatial analysis</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-rest-api-for-spatial-analysis/m-p/253943#M1209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the following problem. I'm trying to access the ArcGIS Online services as described here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Accessing_services_provided_by_Esri/02r300000268000000/"&gt;http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Accessing_services_provided_by_Esri/02r300000268000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I succeeded in getting a token and also the test with the routing service (proposed in the same guide) has gone well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, if I try to access to one of the services under the "Spatial analysis" category, simply checking for the input parameters using an url like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://analysis.arcgis.com/arcgis/rest/services/tasks/GPServer/AggregatePoints?f=pjson&amp;amp;token=" rel="nofollow" target="_blank"&gt;http://analysis.arcgis.com/arcgis/rest/services/tasks/GPServer/AggregatePoints?f=pjson&amp;amp;token=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;My Token&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I always get the same error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "error" : {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "code" : 401,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "message" : "You do not have permissions to use this resource.",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "details" : [ ]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something? Should I do something to enable the use of the spatial analysis services?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 13:16:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-rest-api-for-spatial-analysis/m-p/253943#M1209</guid>
      <dc:creator>DamianoMorosi</dc:creator>
      <dc:date>2014-06-18T13:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using REST API for spatial analysis</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-rest-api-for-spatial-analysis/m-p/253944#M1210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you discover a solution to this? Same exact issue here...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 11:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-rest-api-for-spatial-analysis/m-p/253944#M1210</guid>
      <dc:creator>ChristopherMilack2</dc:creator>
      <dc:date>2014-10-03T11:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using REST API for spatial analysis</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-rest-api-for-spatial-analysis/m-p/253945#M1211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had the same issue, apparently to use the API REST you should have additional permission. &lt;A href="https://community.esri.com/thread/119201"&gt;interpolation using API REST&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 09:53:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-rest-api-for-spatial-analysis/m-p/253945#M1211</guid>
      <dc:creator>AidaMonfort_Muriach</dc:creator>
      <dc:date>2015-01-23T09:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using REST API for spatial analysis</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-rest-api-for-spatial-analysis/m-p/253946#M1212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The help (&lt;A href="http://doc.arcgis.com/en/arcgis-online/use-maps/perform-analysis.htm" title="http://doc.arcgis.com/en/arcgis-online/use-maps/perform-analysis.htm"&gt;Perform analysis—ArcGIS Online Help | ArcGIS&lt;/A&gt; ) states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;License:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 0.875em;"&gt;&lt;EM&gt;In order to perform analysis, the administrator of your organization needs to grant you certain &lt;A class="xref" href="http://doc.arcgis.com/en/arcgis-online/reference/roles.htm" style="color: #007ac2;"&gt;privileges&lt;/A&gt;. To use any of the analysis tools, you will need the following privileges&lt;/EM&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;SPAN class="uicontrol" style="font-weight: bold; color: #444444;"&gt;Create, update, and delete&lt;/SPAN&gt; content&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;SPAN class="uicontrol" style="font-weight: bold; color: #444444;"&gt;Publish hosted features&lt;/SPAN&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;SPAN class="uicontrol" style="font-weight: bold; color: #444444;"&gt;Spatial Analysis&lt;/SPAN&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P style="font-size: 0.875em;"&gt;&lt;/P&gt;&lt;P style="font-size: 0.875em;"&gt;&lt;EM&gt;Certain tools need additional privileges such as &lt;SPAN class="uicontrol" style="font-weight: bold; color: #444444;"&gt;Network Analysis&lt;/SPAN&gt; and &lt;SPAN class="uicontrol" style="font-weight: bold; color: #444444;"&gt;GeoEnrichment&lt;/SPAN&gt;. These additional privileges are noted below in the description of each tool.&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 0.875em;"&gt;&lt;/P&gt;&lt;P style="font-size: 0.875em;"&gt;Some more links:&lt;/P&gt;&lt;P style="font-size: 0.875em;"&gt;&lt;A href="https://developers.arcgis.com/rest/analysis/" title="https://developers.arcgis.com/rest/analysis/"&gt;ArcGIS REST API: Spatial Analysis Service | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P style="font-size: 0.875em;"&gt;&lt;A href="https://developers.arcgis.com/rest/analysis/api-reference/getting-started.htm" title="https://developers.arcgis.com/rest/analysis/api-reference/getting-started.htm"&gt;Get started with the Spatial Analysis service—ArcGIS REST API: Spatial Analysis Service | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P style="font-size: 0.875em;"&gt;&lt;A href="https://developers.arcgis.com/rest/analysis/api-reference/programmatically-accessing-analysis-services.htm" title="https://developers.arcgis.com/rest/analysis/api-reference/programmatically-accessing-analysis-services.htm"&gt;Programmatically accessing analysis services—ArcGIS REST API: Spatial Analysis Service | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 11:48:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/using-rest-api-for-spatial-analysis/m-p/253946#M1212</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-01-23T11:48:48Z</dc:date>
    </item>
  </channel>
</rss>

