Skip To Content

Remove Product

Description

License:

The use of this resource requires an ArcGIS GIS Server Advanced license and a Production Mapping or Defense Mapping server extension license.

The removeProduct operation removes a product from the Topographic Production service and returns a standard REST success or error message.

Request parameters

ParameterDetails
productName

(Required)

The name of the product.

f

(Required)

Specifies the response format.

Values: json | html

Response properties

The following details are for the properties of a response:

PropertyDetails
success

Indicates if the operation was successful.

Values: true | false

Example usage

The following URL queries the products in the Topographic Production Service resource by productName and removes the product specified:

https://machine.domain.com/server/rest/services/MTM50/TopographicProductionServer/removeProduct?productName=MTM50&f=json

JSON Response syntax

The following is the syntax of a response:


{
"productName" : <productName>,
"success" : <true | false>
}

JSON Response example

The following is an example of a successful response:


{
 "productName" : "MTM50",
 "success": true
}

JSON Response example

The following is an example of an error response:


{
 "error": {
  "code": -2147211775,
  "message": "Product name not found.",
  "details": [
  ]
 }
}