- URL:
- https://<root>/<serviceName>/MapServer/exts/SchematicServer/diagrams
- Methods:
POST
- Child Resources:
- Schematic Diagram, Schematic Diagram Templates, Schematic Layers
- Version Introduced:
- 10.1
Description
The diagrams
resource represents all the schematic diagrams under a schematic service. It is returned as an array of Schematic Diagram resources by the REST API.
Request parameters
Parameter | Details |
---|---|
| The response format. The default response format is Values: |
Example usage
Example 1: The schematic diagrams under the S1_Schematics public sample Schematics service
https://myserver.esri.com/arcgis/rest/services/S1_Schematics/MapServer/exts/SchematicsServer/diagrams
Example 2: The schematic diagrams under the S2_InternalPlants public sample Schematics service
https://myserver.esri.com/arcgis/rest/services/S2_InternalPlants/MapServer/exts/SchematicsServer/diagrams
JSON Response syntax
{
"diagrams" : [
<diagram1Info—[See Schematic Diagram Information Object—JSON Syntax](/schematic-diagram-information-object#json-response-syntax)>,
...,
<diagramNInfo—[See Schematic Diagram Information Object—JSON Syntax](/schematic-diagram-information-object#json-response-syntax)>
]
}
Learn about Schematic Diagram Information Object—JSON Syntax
JSON Response example
//Sample response for a schematic service that references two schematic diagrams
{
"diagrams" : [
{
"name" : "ESTANCIA",
"id" : "0-334",
"templateIdentifier" : "0",
"templateObjectID" : 3204,
"schematicLayerIdentifier" : 0,
"folderObjectID" : 1,
"folderIdentifier" : "1",
"objectID" : 334,
"createdBy" : "NCA3885",
"lastModificationBy" : "ABL4732",
"lastUpdateBy" : "",
"creationDate" : "21/01/2011 16:07:46",
"lastModificationDate" : "14/02/2011 18:34:46",
"lastUpdateDate" : "",
"lockedBy" : "",
"version" : "",
"extent" : {
"xmin" : 6.0370819091796868,
"ymin" : -8.059234619140625,
"xmax" : 29.909512329101563,
"ymax" : 11.059844970703125,
"spatialReference" : {
"wkt" : "{B286C06B-0879-11D2-AACA-00C04FA33C20}"
}
}
},
{
"name" : "OSP1",
"id" : "1-1307",
"templateIdentifier" : "1",
"templateObjectID" : 2896,
"schematicLayerIdentifier" : 1,
"folderObjectID" : 321,
"folderIdentifier" : "321",
"objectID" : 1307,
"createdBy" : "ABL4732",
"lastModificationBy" : "JGF6997",
"lastUpdateBy" : "",
"creationDate" : "14/02/2011 16:26:51",
"lastModificationDate" : "15/02/2011 11:36:58",
"lastUpdateDate" : "",
"lockedBy" : "",
"version" : "SDE.DEFAULT",
"extent" : {
"xmin" : -38.840001443724944,
"ymin" : -12.604235257751316,
"xmax" : -37.278098588012469,
"ymax" : -11.669204960753813,
"spatialReference" : {
"wkt" : "{B286C06B-0879-11D2-AACA-00C04FA33C20}"
}
},
"rootNodes" : [
"859-6-0"
]
}
]
}