<?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: featureserver usage issues in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/featureserver-usage-issues/m-p/151444#M707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are these requests using HTTP POST or HTTP GET? Editing operations are supported with HTTP POST only.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2012 15:51:30 GMT</pubDate>
    <dc:creator>RaviNarayanan</dc:creator>
    <dc:date>2012-01-20T15:51:30Z</dc:date>
    <item>
      <title>featureserver usage issues</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/featureserver-usage-issues/m-p/151443#M706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I am trying to use the new featureserver functionality in the REST api. I am trying to query, change some attributes, then applyEdits.&amp;nbsp; I have now been able to successfully query the featureserver, but am having issues applying edits.&amp;nbsp; After querying, I loop through the arguments and set Acres=2.&amp;nbsp;&amp;nbsp; I then submit the following json call:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to delete:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mywebsite/FeatureServer/0/applyEdits?deletes=3,7&amp;amp;callback=ags_jsonp.ags_jsonp_16_681022&amp;amp;f=json&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to update&amp;nbsp; (excuse the mess, it is a polygon with rings):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mywebsite/FeatureServer/0/applyEdits?updates=%5B%7Bgeometry%3A%5B%7Brings%3A%5B%5B%5B-83.37882840603902%2C43.79865258495296%5D%2C%5B-83.3788185084012%2C43.79934688161134%5D%2C%5B-83.37803627072316%2C43.79937341053053%5D%2C%5B-83.37800832323637%2C43.798669656223%5D%2C%5B-83.37882840603902%2C43.79865258495296%5D%2C%5B-83.37882840603902%2C43.79865258495296%5D%5D%5D%2C%20spatialReference%3A%7Bwkid%3A4326%7D%7D%5D%2C%20attributes%3A%7BOBJECTID%3A1%2C%20Acres%3A0%2C%207D%7D%5D&amp;amp;callback=ags_jsonp.ags_jsonp_18_893207&amp;amp;f=json&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Can anyone shed light on what I need to do to get this to work?&amp;nbsp; Do I need to use the "template" object in some way?&amp;nbsp; Does anyone see anything wrong with the http above?&amp;nbsp; I submit it with an expectation to receive a callback with "updateResults" arguments, but am not getting a successful callback at all...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 18:59:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/featureserver-usage-issues/m-p/151443#M706</guid>
      <dc:creator>LisaT</dc:creator>
      <dc:date>2012-01-09T18:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: featureserver usage issues</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/featureserver-usage-issues/m-p/151444#M707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are these requests using HTTP POST or HTTP GET? Editing operations are supported with HTTP POST only.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 15:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/featureserver-usage-issues/m-p/151444#M707</guid>
      <dc:creator>RaviNarayanan</dc:creator>
      <dc:date>2012-01-20T15:51:30Z</dc:date>
    </item>
  </channel>
</rss>

