GP Result

URL:
https://<catalog-url>/<serviceName>/GPServer/<taskname>/jobs/<job-id>/results/<param-name>
Methods:
GET
Version Introduced:
10.9.1-*

Description

The GP results resource represents a result parameter for a GP job . It provides information about the result parameter, such as its name, data type, and value. The value is the most important piece of information provided by this resource. Based on the data type of the parameter, the value provides different types of information. Consequently, the value will have different structures based on the data type as defined below.

As part of the results, an HTML view of the notebook is created. This HTML view of the notebook displays the status of the notebook as the web tool was run and helps in troubleshooting any errors created during the execution of the web tool.

Request parameters

ParameterDetails

f

The response format. The default response format is html .

Values: html | json

JSON Response syntax

1
2
3
4
5
{
    "paramName": "<paramName>",
    "dataType": "<dataType>",
    "value": <valueLiteralOrObject>
}

JSON Response example

1
2
3
4
5
{
    "paramName": "Output_String",
    "dataType": "GPString",
    "value": "TestString"
}

JSON Response example 2

1
2
3
4
5
6
{
  "containerConfigStoreId": "abc40fea074640ab87366d4c6a746a64",
  "outputPreview": {
    "paramUrl": "results/outputPreview"
  }
}

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