/[runID]/update: Edit Run

URL:
https://[root]/community/users/[userName]/tasks/[taskID]/runs/[runID]/update
Methods:
POST
Version Introduced:
ArcGIS Enterprise 10.8.1

Example usage

The following is a sample ArcGIS Online POST request for the update operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /sharing/rest/community/users/NBadmin/tasks/308a978eeea1487bb9a46a14c4545b44/runs/8b8c7778ec2d4d8886cd2aa0aaf77ed9/update HTTP/1.1
Host: org.arcgis.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

status=executing&result=&f=pjson

The following is a sample ArcGIS Enterprise POST request for the update operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
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

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

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "success": true,
  "taskId": "308a978eeea1487bb9a46a14c4545b44",
  "runId": "8b8c7778ec2d4d8886cd2aa0aaf77ed9"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.