Results

URL:
https://<root>/system/jobs/results
Methods:
GET
Required Capability:
Administrator or Create and Edit
Version Introduced:
11.4

Description

The results resource provides all the output parameters of an asynchronous job.

Request parameters

ParameterDetails

f

The response format. The default is html.

Values: html | json | pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
[
    {
        "paramName": "<parameter name 1>",
        "dataType": "<data type 1>",
        "value": <literal or object 1>
    },
    {
        "paramName": "<parameter name 2>",
        "dataType": "<data type 2>",
        "value": <literal or object 2>
    }
]

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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[
    {
        "dataType": "GPString",
        "paramName": "output_string",
        "value": "All Kinds of Special Characters !@#$%^&*()_-+={}|[]\\:\\\";'?,./~`"
    },
    {
        "dataType": "GPLong",
        "paramName": "output_long",
        "value": 12345678901234
    },
    {
        "dataType": "GPDouble",
        "paramName": "output_double",
        "value": -100.789
    },
    {
        "dataType": "GPBoolean",
        "paramName": "output_boolean",
        "value": true
    },
    {
        "dataType": "GPFeatureRecordSetLayer",
        "paramName": "output_featureset_fs",
        "value": {
            "url": "https://sampleserver6.arcgisonline.com/arcgis/rest/services/Hurricanes/MapServer/0"
        }
    },
    {
        "dataType": "GPRecordSet",
        "paramName": "output_recordset_fs",
        "value": {
            "url": "https://sampleserver6.arcgisonline.com/arcgis/rest/services/SF311/FeatureServer/1"
        }
    },
    {
        "dataType": "GPDate",
        "paramName": "output_date",
        "value": 1686726000577
    },
    {
        "dataType": "GPLinearUnit",
        "paramName": "output_linear_unit",
        "value": {
            "distance": 101.12,
            "units": "esriMiles"
        }
    },
    {
        "dataType": "GPRasterDataLayer",
        "paramName": "output_raster",
        "value": {
            "url": "https://sampleserver6.arcgisonline.com/arcgis/rest/directories/arcgisoutput/CharlotteLAS_ImageServer/_ags_6b830d3b_2f3b_4bae_a9bd_9abe067fcdcf.png"
        }
    },
    {
        "dataType": "GPDataFile",
        "paramName": "output_file_local"
    },
]

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