Map Service Result

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

Parameter

Details

f

Description: The response format. The default response format is html.

Values: html | json

Example Usage

http://serverurl/arcgis/rest/services/World_Street_Map/MapServer/exportTiles/jobs/j1fb60facc9194208929f90a7fd64fc9d/results/out_service_url?f=json

http://serverurl/arcgis/rest/services/World_Street_Map/MapServer/estimateExportTilesSize/jobs/jb96ae2b8b6b84f1cbd169ee130dac435/results/out_service_url?f=json

JSON Response Syntax

{"paramName" : "<paramName>","dataType" : "<dataType>","value" : <valueLiteralOrObject>}

JSON Response Example (Export Tiles)

{
 "paramName": "out_service_url",
 "dataType": "GPString",
 "value": "http://serverurl/arcgis/rest/directories/arcgisoutput/World_soils_MapServer/_agsLMapCacheL3F19"
}

JSON Response Example (Estimate Export Tile Size)

{
    "paramName": "out_service_url",
    "dataType": "GPString",
    "value": {
        "totalSize": 6972190,
        "totalTilesToExport": 6952
    }
}

7/5/2017