Skip To Content
ArcGIS Developer
Dashboard

/[taskID]: Get Specific Task

  • URL:https://[root]/community/users/[userName]/tasks/[taskID]
  • Version Introduced:10.8.1

Example usage

The following is a sample ArcGIS Online request URL used to access the task resource:

https://org.arcgis.com/sharing/rest/community/users/NBadmin/tasks/5837c7bc37ac404e8e3c16d9022b2b59?f=pjson

The following is a sample ArcGIS Enterprise request URL used to access the task resource:

https://machine.domain.com/webadaptor/sharing/rest/community/users/NBadmin/tasks/5837c7bc37ac404e8e3c16d9022b2b59?f=pjson

Description

An individual task resource returns information on that specific task, such as the task's title, parameters, and schedule.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example


{
  "id": "5837c7bc37ac404e8e3c16d9022b2b59",
  "itemId": "029b61ca770e428d9468a2a55f40b9fb",
  "type": "ExecuteNotebook",
  "title": "OnceAMinute10times",
  "userId": "admin",
  "cronSchedule": {
    "minute": "*/1",
    "hour": "*",
    "dayOfMonth": "*",
    "month": "*",
    "dayOfWeek": "?"
  },
  "runIntervalSeconds": 60,
  "lastStart": 1589460540000,
  "maxOccurrences": 10,
  "parameters": {
    "updatePortalItem": true,
    "saveInjectedParameters": false,
    "notebookParameters": "{}"
  },
  "created": 1589456737000,
  "updated": 1589460535000,
  "startDate": 1589428800000,
  "active": false,
  "taskState": "paused"
}