- URL:
- https://<root>/<serviceName>/MapServer/exts/SchematicServer/folders
- Methods:
- POST
- Version Introduced:
- 10.1
Description
The folders resource represents the set of schematic folders in the schematic dataset(s) related to the schematic layers under a schematic service. It is returned as an array of Schematic Folder Object by the REST API.
Request parameters
| Parameter | Details | 
|---|---|
| 
 | The response format. The default response format is  Values:  | 
Example usage
Example 1: The schematic folders under the S1_Schematics public sample Schematics service
https://myserver.esri.com/arcgis/rest/services/S1_Schematics/MapServer/exts/SchematicsServer/foldersExample 2: The schematic folders under the S2_InternalPlants public sample Schematics service
https://myserver.esri.com/arcgis/rest/services/S2_InternalPlants/MapServer/exts/SchematicsServer/foldersJSON Response syntax
{
 "folders" : [
    <folder1—[See Schematic Folder Object—JSON Syntax](/schematic-folder-object)>,
    ...,
    <folderN—[See Schematic Folder Object—JSON Syntax](/schematic-folder-object)>
 ]
}Learn about Schematic Folder Object—JSON Syntax
JSON Response example
//Sample response for a schematic service that references a schematic dataset containing two root folders, ISP diagrams and OSP diagrams
{
  "folders" : [
      {
        "name" : "ISP diagrams",
        "id" : "1",
        "objectID" : 1,
        "folders" : [
        ]
      },
      {
        "name" : "OSP diagrams",
        "id" : "2",
        "objectID" : 2,
        "folders" : [
        //The OSP diagrams root folder contains three sub-folders; there are OSPEast, OSPWest, and OPSSouth
          {
            "name" : "OSPEast",
            "id" : "321",
            "objectID" : 321,
            "folders" : [
            ]
          },
          {
            "name" : "OSPWest",
            "id" : "322",
            "objectID" : 322,
             "folders" : [
            ]
          },
          {
            "name" : "OSPSouth",
            "id" : "323",
            "objectID" : 323,
            "folders" : [
            ]
          }
        ]
      }
  ]
}