{ "name": "CreateMapArea", "displayName": "CreateMapArea", "description": "The Create Map Area task is used to create a Map Area item from a Web Map with a given extent. This tool adds a Map2Area relationship between the web map and output map area item. A web map can only have one map area for a given extent.", "category": "", "helpUrl": "https://gis.wcc.govt.nz/arcgis/rest/directories/arcgisoutput/Utilities/OfflinePackaging_GPServer/Utilities_OfflinePackaging/CreateMapArea.htm", "executionType": "esriExecutionTypeAsynchronous", "parameters": [ { "name": "mapItemId", "dataType": "GPString", "displayName": "Map Item ID", "description": "The ID of the web map item.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeRequired", "category": "" }, { "name": "bookmark", "dataType": "GPString", "displayName": "Map Bookmark", "description": "Map extent specified using a bookmark from the map, or extent parameter can be used instead. This parameter is deprecated.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "extent", "dataType": "GPString", "displayName": "Extent", "description": " Map extent specified using a JSON envelope object to create output item. Extent is required specified using either bookmark or extent. If both are available, extent will take precedence over bookmark. This parameter is deprecated.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "areaType", "dataType": "GPString", "displayName": "Area Type", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "BOOKMARK", "parameterType": "esriGPParameterTypeOptional", "category": "", "choiceList": [ "BOOKMARK", "ENVELOPE", "POLYGON" ] }, { "name": "area", "dataType": "GPString", "displayName": "Area", "description": "", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "outputName", "dataType": "GPString", "displayName": "Output Name", "description": "A JSON object that contains information specified for the output item including title, snippet, tags, description and folderId. Output item is created in the same folder as the web map by default.", "direction": "esriGPParameterDirectionInput", "defaultValue": "", "parameterType": "esriGPParameterTypeOptional", "category": "" }, { "name": "mapAreaItemId", "dataType": "GPString", "displayName": "Map Area Item ID", "description": "", "direction": "esriGPParameterDirectionOutput", "defaultValue": "", "parameterType": "esriGPParameterTypeDerived", "category": "" } ] }