- URL:https://[root]/community/users/[userName]/tasks/[taskID]/runs/[runID]/update(POST only)
- Version Introduced:10.8.1
Example usage
The following is a sample ArcGIS Online POST request for the update operation:
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:
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
Parameter | Details |
---|---|
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
{
"success": true,
"taskId": "308a978eeea1487bb9a46a14c4545b44",
"runId": "8b8c7778ec2d4d8886cd2aa0aaf77ed9"
}