/[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:

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:

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

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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close