Skip To Content ArcGIS for Developers Sign In Dashboard

Edit Run

  • URL:https://<run-url>/update(POST only)
  • Version Introduced:10.8.1

Description

The update operation edits an existing run for a scheduled task.

Request parameters

ParameterDetails
status

(Required)

Status of the run.

Values: scheduled | executing | succeeded | skipped | failed | submitfailed

result

(Optional)

Result string for the run.

f

The response format. The default value is html.

Values: html | json | pjson

Example usage

Below is a sample POST request for update:

POST /webadaptor/sharing/rest/community/users/NBadmin/tasks/308a978eeea1487bb9a46a14c4545b44/runs/8b8c7778ec2d4d8886cd2aa0aaf77ed9/update HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

status=executing&result=&f=pjson

JSON Response example

{
  "success": true,
  "taskId": "308a978eeea1487bb9a46a14c4545b44",
  "runId": "8b8c7778ec2d4d8886cd2aa0aaf77ed9"
}