/[taskID]: Get Specific Task

URL:
https://[root]/community/users/[userName]/tasks/[taskID]
Methods:
GET
Version Introduced:
ArcGIS Enterprise 10.8.1

Example usage

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

Use dark colors for code blocksCopy
1
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:

Use dark colors for code blocksCopy
1
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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  "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"
}

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