Schematic Layers

URL:
https://<root>/<serviceName>/MapServer/exts/SchematicServer/schematicLayers
Methods:
POST
Child Resources:
Schematic Layer
Version Introduced:
10.1

Description

The schematicLayers resource represents all the schematic layers under a schematic service published by ArcGIS Server. It is returned as an array of Schematic Layer resources by the ArcGIS REST API.

Request parameters

ParameterDetails

f

The response format. The default response format is html .

Values: html | json

Example usage

Example 1: The schematic layers under the S1_Schematics public sample Schematics service

Use dark colors for code blocksCopy
1
https://myserver.esri.com/arcgis/rest/services/S1_Schematics/MapServer/exts/SchematicsServer/schematicLayers

Example 2: The schematic layers under the S2_InternalPlants public sample Schematics service

Use dark colors for code blocksCopy
1
https://myserver.esri.com/arcgis/rest/services/S2_InternalPlants/MapServer/exts/SchematicsServer/schematicLayers

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
{
  "schematicLayers": [
    <schLayer1—[See Schematic—Layer JSON Syntax](/schematic-layer#json-response-syntax)>,
    ...,
    <schLayerN—[See Schematic—Layer JSON Syntax](/schematic-layer#json-response-syntax)>
  ]
}

Learn about Schematic Layer—JSON Syntax

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
//Sample syntax response for a schematic service based on two schematic diagram template layers
{
  "schematicLayers": [
    {
      //The first schematic layer concerns the ISP_GasPlants schematic diagram template
      "id" : 0,
      "name" : "ISP_GasPlant",
      "dataType" : "Schematic Diagram Template Layer",
      "dataName" : "ISP_GasPlant",
      "alwaysLoadDiagram": false,
      "subLayers" : [
        {
          "id" : 1,
          "name" : "ISP_EQUIPMENTS",
          "featureClassID" : 3202,
          "elementType" : "esriSchematicNodeType",
          "geometryType" : "esriGeometryPoint"
          "attributes" : [

           ]
        },
        {
          "id" : 2,
          "name" : "ISP_VALVES",
          "featureClassID" : 3201,
          "elementType" : "esriSchematicNodeType",
          "geometryType" : "esriGeometryPoint"
          "attributes" : [

           ]
        },
        {
          "id" : 3,
          "name" : "ISP_PIPES",
          "featureClassID" : 3203,
          "elementType" : "esriSchematicLinkType",
          "geometryType" : "esriGeometryPolyline"
          "attributes" : [

           ]
        }
      ]
    },
    {
      //The second schematic layer concerns the DiagramsFromSelection schematic diagram template
      "id": 1,
      "name": "DiagramsFromSelection",
      "dataType": "Schematic Diagram Template Layer",
      "dataName": "DiagramsFromSelection",
      "alwaysLoadDiagram": false,
      "subLayers": [
        {
          "id": 5,
          "name": "stations",
          "featureClassID": 882,
          "elementType": "esriSchematicNodeType",
          "geometryType": "esriGeometryPoint"
          "attributes" : [

           ]
        },
        {
          "id": 6,
          "name": "junctions",
          "featureClassID": 883,
          "elementType": "esriSchematicNodeType",
          "geometryType": "esriGeometryPoint"
          "attributes" : [

           ]
        },
        {
          "id": 7,
          "name": "primaryline",
          "featureClassID": 884,
          "elementType": "esriSchematicLinkType",
          "geometryType": "esriGeometryPolyline"
          "attributes" : [

           ]
        }
      ]
    }
  ]
}

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