Question

Anyone know how you excte the Ersi Submitjob in sysytermcaller

  • 9 February 2023
  • 3 replies
  • 0 views

Badge +5

I am using Systemcaller to send the request and getting error

 

Thi is the code where i need to exxucte

GET
https://maps.earlyalert.com/server/rest/services/System/SpatialAnalysisTools/GPServer/OverlayLayers/submitJob?inputLayer={"url":"https://maps.earlyalert.com/server/rest/services/Hosted/Master_Client_Areas/FeatureServer/0","filter":"clientid=283"}&overlayLayer={"url":"https://maps.earlyalert.com/server/rest/services/Hosted/Power_Outages/FeatureServer/0"}&overlayType=Intersect&snapToInput=false&outputType=Input&tolerance=null&outputName=&context=&context=&env:outSR=&env:processSR=&returnZ=false&returnM=false&returnTrueCurves=false&f=pjson

 

image


3 replies

Userlevel 5
Badge +25

The SystemCaller is for calling an executable on your local system, since this is a URL, try the HTTPCaller instead.

Badge +5

getting error

image

Userlevel 5
Badge +25

Yes, so set the HTTP Method of the HTTPCaller to GET and the Request URL to the actual URL.

 

You may need to separate the actual request in the query string parameters, I am not familiar with this particular API but it should be mentioned in the API documentation.

 

I just pasted the url in the browser and it appears you also need a token to access it. Again, that should be in the API documentation.

Reply