Map Service Result

URL:
https://Map Service Job/results/<param-name>
Methods:
GET
Version Introduced:
10.2.1

Description

The Map Service Result resource represents a result parameter for a Map Service 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 values provide different types of information. Given this fact, the value will have different structures based on the data type as defined below.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json

Example usage

https://myserver.mydomain.com/arcgis/rest/services/World_Street_Map/MapServer/exportTiles/jobs/j1fb60facc9194208929f90a7fd64fc9d/results/out_service_url?f=json

https://myserver.mydomain.com/arcgis/rest/services/World_Street_Map/MapServer/estimateExportTilesSize/jobs/jb96ae2b8b6b84f1cbd169ee130dac435/results/out_service_url?f=json

JSON Response syntax

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

JSON Response example (Export Tiles)

Use dark colors for code blocksCopy
1
2
3
4
5
{
 "paramName": "out_service_url",
 "dataType": "GPString",
 "value": "https://myserver.mydomain.com/arcgis/rest/directories/arcgisoutput/World_soils_MapServer/_agsLMapCacheL3F19"
}

JSON Response example (Estimate Export Tile Size)

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
{
    "paramName": "out_service_url",
    "dataType": "GPString",
    "value": {
        "totalSize": 6972190,
        "totalTilesToExport": 6952
    }
}

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