The use of this resource requires an ArcGIS GIS Server Advanced license and a Production Mapping Server or Defense Mapping Server license.
The generateProduct operation automates the process of producing a layout or map based on an existing map product definition.
The name of the product.
This value must match a name from https://<topographicProductionServer-url>/products.
The version of the product to generate.
This value must match a name from the productVersion property in https://<topographicProductionServer-url>/products.
The URL of the layer defining the product's area of interest.
The object ID of the area of interest feature in the aoiLayer.
The json array of layer names to exclude from the product. Syntax:
The json array of layer URLs to include in the final product. Syntax:
Ancillary layers are added as feature service layers of the final product and don't extract data to the local geodatabase.
This parameter supports services located in the same portal site as the server object extension (SOE) or services that are publicly available. The featureClass, map, and layerIndex properties in the array are optional. If the dataset is identifiable from the feature service, it is not necessary to provide the featureClass property. The default values are 0 for layerIndex and BaseMap for map.
The string identifying the type of output. Acceptable values are aprx, pagx, and pdf.
The APRX and PAGX output types are exported as ZIP files that include a file geodatabase.
The following details are for the properties of a response:
The job identifier.
The URL to query the status of the running job.
The following example URL queries the generateProduct REST operation:
JSON Response syntax
The following is the syntax of a response:
"success": true | false
JSON Response example
The following is an example of a successful response: