Description
The products
operation retrieves the products that the Topographic Production Service supports.
Request parameters
Parameter | Details |
---|---|
(Required) |
Specifies the response format. Values: |
(Optional) |
Specifies whether the full Values: |
(Optional) | Specifies whether the data type of the productDefinition parameter's Values: |
Example usage
Review the map product definitions currently supported by the Topographic Production Service by using the products
REST resource.
Request URL and parameters:
https://machine.domain.com/server/rest/services/SampleService/TopographicProductionServer/products
f=json
JSON Response syntax
The following is the syntax of a response:
{
"products": [
{
"name": <name of product>,
"description": <description of map product>,
"gridType": <type of grid>,
"sheetIDField": <ID of the sheet>,
"productVersions": [
{
"name": <name of the product version>,
"template": <name of template>
}
],
"enabled": true | false,
"raster": <URL of raster layer>,
"ancillaryLayers": [
],
"lastModified": <date and UTC time of last modification in ISO 8601 format YYYY-MM-DDThh:mm:ssZ>
}
]
}
JSON Response example
The following is an example of a response:
{
"products": [
{
"name": "MTM50",
"description": "MTM50 Map Product",
"gridType": "TM50",
"sheetIDField": "NRN",
"productVersions": [
{
"name": "TRD_4_5",
"template": "MTM50_Layout.pagx"
}
],
"enabled": "True",
"raster": "https://machine.domain.com/server/rest/services/SampleRaster/ImageServer",
"ancillaryLayers": [
],
"lastModified": "2020-08-11T20:26:58Z"
},
{
"name": "MTM100",
"description": "MTM100 Map Product",
"gridType": "TM100",
"sheetIDField": "NRN",
"productVersions": [
{
"name": "TRD_4_5",
"template": "MTM100_Layout.pagx"
}
],
"enabled": "True",
"raster": "",
"ancillaryLayers": [
],
"lastModified": "2020-07-31T00:36:23Z"
}
]
}
JSON Response example
The following is an example of an error response:
{
"error": {
"code": -2147211775,
"message": "Product name not found.",
"details": [
]
}
}