<?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 Request URL to submit the job in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-url-to-submit-the-job/m-p/155001#M14421</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the section:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fresources.arcgis.com%2Fen%2Fhelp%2Farcgis-rest-api%2F%23%2FVehicle_Routing_Problem_service%2F02r3000000n4000000%2F" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/arcgis-rest-api/#/Vehicle_Routing_Problem_service/02r3000000n4000000/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the "jobId" and "jobStatus" with the URL example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Flogistics.arcgis.com%2Farcgis%2Frest%2Fservices%2FWorld%2FVehicleRoutingProblem%2FGPServer%2FSolveVehicleRoutingProblem%2FsubmitJob%3Ftoken%3D" rel="nofollow" target="_blank"&gt;https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem/submitJob?token=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;yourToken&amp;gt;&amp;amp;orders=&amp;lt;my orders&amp;gt; &amp;amp; depots = &amp;lt;my depots&amp;gt; &amp;amp; routes = &amp;lt;myroutes&amp;gt;&amp;amp;time_units=Minutes&amp;amp;distance_units=Miles&amp;amp;uturn_policy=NO_UTURNS&amp;amp;populate_directions=true&amp;amp;directions_language=en&amp;amp;default_date=1355212800000&amp;amp;f=json&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as it is done for processing with javascript or php?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Apr 2016 18:44:00 GMT</pubDate>
    <dc:creator>CloudingSoft</dc:creator>
    <dc:date>2016-04-30T18:44:00Z</dc:date>
    <item>
      <title>Request URL to submit the job</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-url-to-submit-the-job/m-p/155001#M14421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the section:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fresources.arcgis.com%2Fen%2Fhelp%2Farcgis-rest-api%2F%23%2FVehicle_Routing_Problem_service%2F02r3000000n4000000%2F" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/arcgis-rest-api/#/Vehicle_Routing_Problem_service/02r3000000n4000000/&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the "jobId" and "jobStatus" with the URL example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Flogistics.arcgis.com%2Farcgis%2Frest%2Fservices%2FWorld%2FVehicleRoutingProblem%2FGPServer%2FSolveVehicleRoutingProblem%2FsubmitJob%3Ftoken%3D" rel="nofollow" target="_blank"&gt;https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem/submitJob?token=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;yourToken&amp;gt;&amp;amp;orders=&amp;lt;my orders&amp;gt; &amp;amp; depots = &amp;lt;my depots&amp;gt; &amp;amp; routes = &amp;lt;myroutes&amp;gt;&amp;amp;time_units=Minutes&amp;amp;distance_units=Miles&amp;amp;uturn_policy=NO_UTURNS&amp;amp;populate_directions=true&amp;amp;directions_language=en&amp;amp;default_date=1355212800000&amp;amp;f=json&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as it is done for processing with javascript or php?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Apr 2016 18:44:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-url-to-submit-the-job/m-p/155001#M14421</guid>
      <dc:creator>CloudingSoft</dc:creator>
      <dc:date>2016-04-30T18:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Request URL to submit the job</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-url-to-submit-the-job/m-p/155002#M14422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 1em; margin-bottom: 1em; font-size: 14px; color: black; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fefefe;"&gt;See here for more details how to get the results from a geoprocessing task.&lt;/P&gt;&lt;P style="margin-top: 1em; margin-bottom: 1em; font-size: 14px; color: black; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fefefe;"&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jshelp/intro_gp_running.html" title="https://developers.arcgis.com/javascript/3/jshelp/intro_gp_running.html" rel="nofollow noopener noreferrer" target="_blank"&gt;Running a geoprocessing task and getting the results | Guide | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P style="margin-top: 1em; margin-bottom: 1em; font-size: 14px; color: black; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fefefe;"&gt;..............&lt;/P&gt;&lt;P style="margin-top: 1em; margin-bottom: 1em; font-size: 14px; color: black; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #fefefe;"&gt;The status callback receives a &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/jobinfo.html" style="color: #00629b;" rel="nofollow noopener noreferrer" target="_blank"&gt;JobInfo&lt;/A&gt; object containing the job ID, the job status, and any &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/gpmessage.html" style="color: #00629b;" rel="nofollow noopener noreferrer" target="_blank"&gt;GPMessages&lt;/A&gt; returned by the geoprocessor (if the server administrator has enabled messages). You may choose to write this information to the console window or elsewhere to track the status of the job.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; statusCallback&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;jobInfo&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&amp;nbsp; console&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;log&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;jobInfo&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;jobStatus&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;.................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-url-to-submit-the-job/m-p/155002#M14422</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2021-12-11T08:15:18Z</dc:date>
    </item>
  </channel>
</rss>

