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

Use dark colors for code blocksCopy
1
2
3
4
5
{
    "paramName": "<paramName>",
    "dataType": "<dataType>",
    "value": <valueLiteralOrObject>
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
{
    "paramName": "Output_String",
    "dataType": "GPString",
    "value": "TestString"
}

JSON Response example 2

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