- URL:https:// <schematicdiagrams-url>/<diagId>
- Child Resources:Schematic Diagram Map
- Version Introduced:10.1
Description
The Schematic Diagram resource represents a single schematic diagram under a schematic service. It is returned as a single Schematic Diagram Information Object by the REST API.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default response is html. Values: html | json |
Example usage
Example 1: The schematic diagram which id is '2-10' under the S1_Schematics public sample Schematics service
https://servicesbeta6.esri.com/arcgis/rest/services/S1_Schematics/MapServer/exts/SchematicsServer/diagrams/2-10
Example 2: The schematic diagram which id is '0-13' under the S2_InternalPlants public sample Schematics service
https://servicesbeta6.esri.com/arcgis/rest/services/S2_InternalPlants/MapServer/exts/SchematicsServer/diagrams/0-13
JSON Response syntax
{
"name": "<diagramName>",
"id": "<diagramId>",
"templateIdentifier": "<templateIdentifier>",
"templateObjectID": <templateObjectID>,
"schematicLayerIdentifier": <schematicLayerIdentifier>,
"folderObjectID": <folderObjectID>,
"folderIdentifier": "<folderIdentifier>",
"objectID": <objectID>,
"createdBy": "<diagramCreator>",
"lastModificationBy": "<diagramLastEditor>",
"lastUpdateBy": "<diagramLastUpdator>",
"creationDate": "<diagramCreationDate>",
"lastModificationDate": "<diagramModificationDate>",
"lastUpdateDate": "<diagramLastUpdateDate>",
"lockedBy": "<diagramLastLocker>",
"version": "<version>",
"extent": <envelope>,
"rootNodes": [
"<rootNode1>",
...,
"<rootNodeN>"
],
"endNodes": [
"<endNode1>",
...,
"<endNodeK>"
]
}
JSON Response example
{
"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}"
}
},
"rootNodes" : [
"115"
]
}