AnsweredAssumed Answered

How to create AGSJob and use it

Question asked by rameshbachiraju on Dec 12, 2019
Latest reply on Dec 16, 2019 by NFurness-esristaff

We are trying to fetch origin cost matrix using this API


  Origin Destination Cost Matrix service—ArcGIS REST API: Directions and Routing Services | ArcGIS for Developers 


However as this is not there in the SDK we are calling rest api to fetch the data. This API results in a Job and we have to poll for the job status. Instead of writing our own code for it, we would like to create AGSJob and use the default functionality, however we do not see any mechanism to create AGSJob from an URL.


Is there a way to solve this?