<?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 Cancel Publish Job in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/cancel-publish-job/m-p/1147491#M32507</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using the&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/publish-item.htm" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/rest/users-groups-and-items/publish-item.htm&lt;/A&gt;&amp;nbsp;endpoint to publish SLPK files. Based on the documentation it is possible to query the current status of the job by the responding&amp;nbsp;&lt;SPAN&gt;jobId:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The job ID of the publishing process. All publishing operations are executed asynchronously. The caller is supposed to hold on to the job ID and check for job status. The status can be checked using&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/status.htm" target="_blank" rel="noopener"&gt;Status&lt;/A&gt;&amp;nbsp;passing in&amp;nbsp;&lt;SPAN class=""&gt;jobType&lt;/SPAN&gt;as a query parameter, for example,&amp;nbsp;&lt;SPAN class=""&gt;jobType&lt;/SPAN&gt;&amp;nbsp;set as&amp;nbsp;&lt;SPAN class=""&gt;publish&lt;/SPAN&gt;."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We want to keep our internal API as coherent and generic as possible so it would be a good feature to cancel a running job as well. Is there a way to cancel a running publish-job using the jobid?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 13:27:39 GMT</pubDate>
    <dc:creator>Bernd_Loigge</dc:creator>
    <dc:date>2022-02-24T13:27:39Z</dc:date>
    <item>
      <title>Cancel Publish Job</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/cancel-publish-job/m-p/1147491#M32507</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using the&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/publish-item.htm" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/rest/users-groups-and-items/publish-item.htm&lt;/A&gt;&amp;nbsp;endpoint to publish SLPK files. Based on the documentation it is possible to query the current status of the job by the responding&amp;nbsp;&lt;SPAN&gt;jobId:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The job ID of the publishing process. All publishing operations are executed asynchronously. The caller is supposed to hold on to the job ID and check for job status. The status can be checked using&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/status.htm" target="_blank" rel="noopener"&gt;Status&lt;/A&gt;&amp;nbsp;passing in&amp;nbsp;&lt;SPAN class=""&gt;jobType&lt;/SPAN&gt;as a query parameter, for example,&amp;nbsp;&lt;SPAN class=""&gt;jobType&lt;/SPAN&gt;&amp;nbsp;set as&amp;nbsp;&lt;SPAN class=""&gt;publish&lt;/SPAN&gt;."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We want to keep our internal API as coherent and generic as possible so it would be a good feature to cancel a running job as well. Is there a way to cancel a running publish-job using the jobid?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 13:27:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/cancel-publish-job/m-p/1147491#M32507</guid>
      <dc:creator>Bernd_Loigge</dc:creator>
      <dc:date>2022-02-24T13:27:39Z</dc:date>
    </item>
  </channel>
</rss>

