Remove Product

URL:
https://<root>/<serviceName>/TopographicProductionServer/removeProduct
Methods:
GET
Required Capability:
Requires an ArcGIS GIS Server Advanced license and a Production Mapping or Defense Mapping server extension license
Version Introduced:
10.9

Description

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: html | json | pjson

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:

Use dark colors for code blocksCopy
1
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:

Use dark colors for code blocksCopy
1
2
3
4
{
"productName" : <productName>,
"success" : <true | false>
}

JSON Response example

The following is an example of a successful response:

Use dark colors for code blocksCopy
1
2
3
4
{
 "productName" : "MTM50",
 "success": true
}

JSON Response example

The following is an example of an error response:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
{
 "error": {
  "code": -2147211775,
  "message": "Product name not found.",
  "details": [
  ]
 }
}

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