<?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: Edit or update ArcGIS Online Web Map data using the REST API in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/edit-or-update-arcgis-online-web-map-data-using/m-p/567241#M2710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, thank you &lt;A href="https://community.esri.com/migrated-users/10293"&gt;Heiko Heijenga&lt;/A&gt;.&amp;nbsp; I was not sure how to implement &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Update_Item/02r30000009s000000/"&gt;Update Item&lt;/A&gt; or what parameter to use to POST the data I was requesting and modifying.&amp;nbsp; I think I was confused between the Items common parameters (such as tags, title, type, etc.) and the actual content (data) of the item (bookmarks, extent, etc.).&amp;nbsp; The solution for me was after modifying the &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Item_Data/02r300000075000000/"&gt;Item Data&lt;/A&gt;, I made a POST request with the JSON as the &lt;STRONG&gt;&lt;EM&gt;text&lt;/EM&gt;&lt;/STRONG&gt; parameter of the Update Item operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jan 2015 16:44:24 GMT</pubDate>
    <dc:creator>AdamMarinelli</dc:creator>
    <dc:date>2015-01-08T16:44:24Z</dc:date>
    <item>
      <title>Edit or update ArcGIS Online Web Map data using the REST API</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/edit-or-update-arcgis-online-web-map-data-using/m-p/567239#M2708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Web_map_data/02r30000003p000000/"&gt;Web Map data&lt;/A&gt; is described on the ArcGIS REST API site under the &lt;EM&gt;Common data types&lt;/EM&gt; section.&amp;nbsp; I am curious whether I can request the current JSON configuration as shown in the &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Single_basemap_layer/02r30000004t000000/"&gt;examples&lt;/A&gt; (using &lt;EM&gt;/data&lt;/EM&gt; on the url), modify it, and POST it back?&amp;nbsp; As an example, I could request the web map data, add or modify the &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Bookmarks/02r300000044000000/"&gt;bookmarks&lt;/A&gt; list, and update the web map item online.&amp;nbsp; Does an operation or alternative exist for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 21:39:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/edit-or-update-arcgis-online-web-map-data-using/m-p/567239#M2708</guid>
      <dc:creator>AdamMarinelli</dc:creator>
      <dc:date>2015-01-07T21:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Edit or update ArcGIS Online Web Map data using the REST API</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/edit-or-update-arcgis-online-web-map-data-using/m-p/567240#M2709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure this is possible. Grab the data, modify it and do an &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r30000009s000000"&gt;update&lt;/A&gt; on the item&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 16:16:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/edit-or-update-arcgis-online-web-map-data-using/m-p/567240#M2709</guid>
      <dc:creator>HeikoHeijenga</dc:creator>
      <dc:date>2015-01-08T16:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Edit or update ArcGIS Online Web Map data using the REST API</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/edit-or-update-arcgis-online-web-map-data-using/m-p/567241#M2710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, thank you &lt;A href="https://community.esri.com/migrated-users/10293"&gt;Heiko Heijenga&lt;/A&gt;.&amp;nbsp; I was not sure how to implement &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Update_Item/02r30000009s000000/"&gt;Update Item&lt;/A&gt; or what parameter to use to POST the data I was requesting and modifying.&amp;nbsp; I think I was confused between the Items common parameters (such as tags, title, type, etc.) and the actual content (data) of the item (bookmarks, extent, etc.).&amp;nbsp; The solution for me was after modifying the &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Item_Data/02r300000075000000/"&gt;Item Data&lt;/A&gt;, I made a POST request with the JSON as the &lt;STRONG&gt;&lt;EM&gt;text&lt;/EM&gt;&lt;/STRONG&gt; parameter of the Update Item operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 16:44:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/edit-or-update-arcgis-online-web-map-data-using/m-p/567241#M2710</guid>
      <dc:creator>AdamMarinelli</dc:creator>
      <dc:date>2015-01-08T16:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Edit or update ArcGIS Online Web Map data using the REST API</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/edit-or-update-arcgis-online-web-map-data-using/m-p/567242#M2711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, this has lots of potentials in doing what is hard to achieve in the webmap GUI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Nov 2015 07:38:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/edit-or-update-arcgis-online-web-map-data-using/m-p/567242#M2711</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2015-11-11T07:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Edit or update ArcGIS Online Web Map data using the REST API</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/edit-or-update-arcgis-online-web-map-data-using/m-p/567243#M2712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This took me a few tries to get this to work, so I'm just going to post a couple things that helped me in case it helps someone else.&lt;/P&gt;&lt;P&gt;1. Make sure the ArcGIS Online item you're updating is in your root folder - &lt;A href="http://blogs.esri.com/esri/arcgis/2014/01/24/updating-your-hosted-feature-service-for-10-2/#comment-6555"&gt;thanks to &lt;EM&gt;dpettittva&lt;/EM&gt; here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. While you fetch the web map's data with the item data url,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.arcgis.com%2Fsharing%2Frest%2Fcontent%2Fitems%2FITEM_ID%2F" rel="nofollow" target="_blank"&gt;http://www.arcgis.com/sharing/rest/content/items/ITEM_ID/&lt;/A&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;the update is done on the web map, not the web map &lt;EM&gt;data&lt;/EM&gt; url. So my update POST url was:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;A class="unlinked" title="http://www.arcgis.com/sharing/rest/content/users/{0}/items/{1}/update"&gt;http://www.arcgis.com/sharing/rest/content/users/USER_ID/items/&lt;/A&gt;&lt;A class="unlinked" title="http://www.arcgis.com/sharing/rest/content/users/{0}/items/{1}/update"&gt;ITEM_ID&lt;/A&gt;&lt;A class="unlinked" title="http://www.arcgis.com/sharing/rest/content/users/{0}/items/{1}/update"&gt;/update&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 17:34:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/edit-or-update-arcgis-online-web-map-data-using/m-p/567243#M2712</guid>
      <dc:creator>jessemaps</dc:creator>
      <dc:date>2015-11-13T17:34:59Z</dc:date>
    </item>
  </channel>
</rss>

