<?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: Create Map Area using packaging.arcgis.com in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275630#M1385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/56227"&gt;Ramunas Kraujutis&lt;/A&gt;‌, I have just tried this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;curl -X POST \&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fpackaging.arcgis.com%2Farcgis%2Frest%2Fservices%2FOfflinePackaging%2FGPServer%2FCreateMapArea%2FsubmitJob" rel="nofollow" target="_blank"&gt;https://packaging.arcgis.com/arcgis/rest/services/OfflinePackaging/GPServer/CreateMapArea/submitJob&lt;/A&gt;&lt;SPAN&gt; \&lt;/SPAN&gt;&lt;BR /&gt; -H 'cache-control: no-cache' \&lt;BR /&gt; -H 'content-type: application/x-www-form-urlencoded' \&lt;BR /&gt; -d 'mapItemId=4965122d0a9c4ea187fa643cda58c670&amp;amp;token=&lt;STRONG&gt;MY_TOKEN_HERE&lt;/STRONG&gt;'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But&amp;nbsp;I'm still&amp;nbsp;getting the same response, maybe I didn't understand your message, did I?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Raul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2018 17:18:57 GMT</pubDate>
    <dc:creator>Raul_Jimenez</dc:creator>
    <dc:date>2018-03-13T17:18:57Z</dc:date>
    <item>
      <title>Create Map Area using packaging.arcgis.com</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275628#M1383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to&amp;nbsp;follow the documentation on this page:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/packaging/api-reference/create-map-area.htm" title="https://developers.arcgis.com/rest/packaging/api-reference/create-map-area.htm"&gt;Create Map Area—ArcGIS REST API: Packaging Service | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;but I get an "&lt;STRONG&gt;Services Directory has been disabled&lt;/STRONG&gt;" error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with &lt;A href="https://www.arcgis.com/home/item.html?id=4965122d0a9c4ea187fa643cda58c670"&gt;this WebMap&lt;/A&gt;,&amp;nbsp;using POST:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;curl -X POST \&lt;BR /&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fpackaging.arcgis.com%2Farcgis%2Frest%2Fservices%2FOfflinePackaging%2FGPServer" rel="nofollow" target="_blank"&gt;https://packaging.arcgis.com/arcgis/rest/services/OfflinePackaging/GPServer&lt;/A&gt;&lt;SPAN&gt;' \&lt;/SPAN&gt;&lt;BR /&gt; -H 'cache-control: no-cache' \&lt;BR /&gt; -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \&lt;BR /&gt; -F mapItemId=4965122d0a9c4ea187fa643cda58c670 \&lt;BR /&gt; -F token=&lt;STRONG&gt;MY_TOKEN_HERE&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And also GET:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;curl -X GET \&lt;BR /&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fpackaging.arcgis.com%2Farcgis%2Frest%2Fservices%2FOfflinePackaging%2FGPServer%3FmapItemId%3D4965122d0a9c4ea187fa643cda58c670%26token%3D" rel="nofollow" target="_blank"&gt;https://packaging.arcgis.com/arcgis/rest/services/OfflinePackaging/GPServer?mapItemId=4965122d0a9c4ea187fa643cda58c670&amp;amp;token=&lt;/A&gt;&lt;STRONG style="background-color: #f6f6f6;"&gt;MY_TOKEN_HERE&lt;/STRONG&gt;' \&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Am I doing something wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Raúl&lt;/P&gt;&lt;P&gt;cc: &lt;A href="https://community.esri.com/migrated-users/38895"&gt;Patrick Arlt&lt;/A&gt;, &lt;A href="https://community.esri.com/migrated-users/2203"&gt;John Gravois&lt;/A&gt;, &lt;A href="https://community.esri.com/migrated-users/2361"&gt;Matthias Schenker&lt;/A&gt;, &lt;A href="https://community.esri.com/migrated-users/2866"&gt;Paul Ross&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 11:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275628#M1383</guid>
      <dc:creator>Raul_Jimenez</dc:creator>
      <dc:date>2018-03-13T11:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Area using packaging.arcgis.com</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275629#M1384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;CODE&gt;First, URL should be &lt;/CODE&gt;&lt;CODE class=""&gt;&lt;SPAN class=""&gt;https:&lt;/SPAN&gt;/&lt;SPAN class=""&gt;/packaging.arcgis.com/arcgis&lt;/SPAN&gt;&lt;SPAN class=""&gt;/rest/services&lt;/SPAN&gt;&lt;SPAN class=""&gt;/OfflinePackaging/&lt;/SPAN&gt;GPServer/CreateMapArea/submitJob&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;Second, in POST encode form parameters using "application/x-www-form-urlencoded" (instead of "multipart/form-data")&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 16:30:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275629#M1384</guid>
      <dc:creator>RamunasKraujutis</dc:creator>
      <dc:date>2018-03-13T16:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Area using packaging.arcgis.com</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275630#M1385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/56227"&gt;Ramunas Kraujutis&lt;/A&gt;‌, I have just tried this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;curl -X POST \&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fpackaging.arcgis.com%2Farcgis%2Frest%2Fservices%2FOfflinePackaging%2FGPServer%2FCreateMapArea%2FsubmitJob" rel="nofollow" target="_blank"&gt;https://packaging.arcgis.com/arcgis/rest/services/OfflinePackaging/GPServer/CreateMapArea/submitJob&lt;/A&gt;&lt;SPAN&gt; \&lt;/SPAN&gt;&lt;BR /&gt; -H 'cache-control: no-cache' \&lt;BR /&gt; -H 'content-type: application/x-www-form-urlencoded' \&lt;BR /&gt; -d 'mapItemId=4965122d0a9c4ea187fa643cda58c670&amp;amp;token=&lt;STRONG&gt;MY_TOKEN_HERE&lt;/STRONG&gt;'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But&amp;nbsp;I'm still&amp;nbsp;getting the same response, maybe I didn't understand your message, did I?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Raul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 17:18:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275630#M1385</guid>
      <dc:creator>Raul_Jimenez</dc:creator>
      <dc:date>2018-03-13T17:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Area using packaging.arcgis.com</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275631#M1386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding "f=json" to "-d 'f=json&amp;amp;mapItemId=4965122d0a9c4ea187fa643cda58c670&amp;amp;token=&lt;STRONG&gt;MY_TOKEN_HERE&lt;/STRONG&gt;'"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 17:38:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275631#M1386</guid>
      <dc:creator>RamunasKraujutis</dc:creator>
      <dc:date>2018-03-13T17:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Area using packaging.arcgis.com</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275632#M1387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/56227"&gt;Ramunas Kraujutis&lt;/A&gt;‌!! it works now!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/398783_Screen Shot 2018-03-14 at 03.00.20.png" style="width: 620px; height: 298px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/398785_Screen Shot 2018-03-14 at 03.07.48.png" style="width: 620px; height: 535px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So finally I&amp;nbsp;created this item:&amp;nbsp;&lt;A class="link-titled" href="http://www.arcgis.com/home/item.html?id=444e615e7b9f471ab2a4c5d9194b538e#overview" title="http://www.arcgis.com/home/item.html?id=444e615e7b9f471ab2a4c5d9194b538e#overview"&gt;http://www.arcgis.com/home/item.html?id=444e615e7b9f471ab2a4c5d9194b538e#overview&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added this request to&amp;nbsp;a&amp;nbsp;&lt;A href="https://github.com/esri-es/ArcGIS-REST-API/"&gt;Postman collection&lt;/A&gt;&amp;nbsp;we started on Github.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 02:09:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275632#M1387</guid>
      <dc:creator>Raul_Jimenez</dc:creator>
      <dc:date>2018-03-14T02:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create Map Area using packaging.arcgis.com</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275633#M1388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir, I m facing an issue at the very next stage of this packaging service "Setup Map Area". While submitting job went successful, it gives job failure error on the status check which I posted in this question.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/756213-error-in-executing-agol-rest-api-packaging-service"&gt;https://community.esri.com/message/756213-error-in-executing-agol-rest-api-packaging-service&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me in figuring out how to set these parameters which I highlighted in red color.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 06:10:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/create-map-area-using-packaging-arcgis-com/m-p/275633#M1388</guid>
      <dc:creator>Muhammad_YasirAli_Khan</dc:creator>
      <dc:date>2018-03-14T06:10:08Z</dc:date>
    </item>
  </channel>
</rss>

