<?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 updateFeatures - multiple features at once in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/updatefeatures-multiple-features-at-once/m-p/725462#M168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the arcGIS API method 'updateFeatres', I am unable to successfully update multiple features at once.&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;[ &lt;BR /&gt; { &lt;BR /&gt; "attributes":{ &lt;BR /&gt; "LotCode":1,&lt;BR /&gt; "OBJECTID":18,&lt;BR /&gt; "LotCode_x":1,&lt;BR /&gt; "LotCode_y":"1",&lt;BR /&gt; "Free":2344,&lt;BR /&gt; "Occupied":4212,&lt;BR /&gt; "IsOffline":false&lt;BR /&gt; },&lt;BR /&gt; "attributes":{ &lt;BR /&gt; "LotCode":2,&lt;BR /&gt; "OBJECTID":19,&lt;BR /&gt; "LotCode_x":1,&lt;BR /&gt; "LotCode_y":"1",&lt;BR /&gt; "Free":23,&lt;BR /&gt; "Occupied":24,&lt;BR /&gt; "IsOffline":false&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing this in the 'features' parameter, as the payload for the POST request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This approach works for one feature at a time, but I have been unsuccessful in getting it to work with more than one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could be a simple json formatting issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Dec 2019 01:28:57 GMT</pubDate>
    <dc:creator>JackSilburn</dc:creator>
    <dc:date>2019-12-13T01:28:57Z</dc:date>
    <item>
      <title>updateFeatures - multiple features at once</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/updatefeatures-multiple-features-at-once/m-p/725462#M168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the arcGIS API method 'updateFeatres', I am unable to successfully update multiple features at once.&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;[ &lt;BR /&gt; { &lt;BR /&gt; "attributes":{ &lt;BR /&gt; "LotCode":1,&lt;BR /&gt; "OBJECTID":18,&lt;BR /&gt; "LotCode_x":1,&lt;BR /&gt; "LotCode_y":"1",&lt;BR /&gt; "Free":2344,&lt;BR /&gt; "Occupied":4212,&lt;BR /&gt; "IsOffline":false&lt;BR /&gt; },&lt;BR /&gt; "attributes":{ &lt;BR /&gt; "LotCode":2,&lt;BR /&gt; "OBJECTID":19,&lt;BR /&gt; "LotCode_x":1,&lt;BR /&gt; "LotCode_y":"1",&lt;BR /&gt; "Free":23,&lt;BR /&gt; "Occupied":24,&lt;BR /&gt; "IsOffline":false&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing this in the 'features' parameter, as the payload for the POST request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This approach works for one feature at a time, but I have been unsuccessful in getting it to work with more than one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could be a simple json formatting issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 01:28:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/updatefeatures-multiple-features-at-once/m-p/725462#M168</guid>
      <dc:creator>JackSilburn</dc:creator>
      <dc:date>2019-12-13T01:28:57Z</dc:date>
    </item>
  </channel>
</rss>

