Unlock Diagram

URL:
https://<root>/<serviceName>/MapServer/exts/SchematicServer/templates/<tempID>/unlockDiagram
Methods:
POST
Version Introduced:
10.1

Description

The unlockDiagram operation unlocks a locked schematic diagram. It is performed on a Schematic Diagram Template resource. The result of this operation is a Schematic Diagram Information Object.

You can provide arguments to the unlockDiagram operation as query parameters defined in the parameters table below.

Request Parameters

ParameterDetails

f

Description: The response format. The default response format is html.

Values: html | json

name

Required

Description: The diagram name.

Syntax:name=<diagramName>

Example:name=ESTANCIA

user

Required

Description: The login of the user who unlocks the diagram.

Syntax:user=<diagramUnlockedBy>

Example:user=NCA3885

Example Usage

Since the S1_Schematics Schematics service is published without the Editing operation enabled, it doesn't support the unlockDiagram operation. With the Editing operation enabled, you could unlock the MPS_Goldmine schematic diagram based on the diagram template 2 under this service by executing the operation as follows:

Use dark colors for code blocksCopy
1
https://myserver.esri.com/arcgis/rest/services/S1_Schematics/MapServer/exts/SchematicsServer/templates/2/unlockDiagram?name=MPS_Goldmine&user=user3882&f=pjson

JSON Response Syntax

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
{
  "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

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
{
  "name" : "ESTANCIA",
  "id" : "0-334",
  "templateIdentifier" : "0",
  "templateObjectID" : 3204,
  "schematicLayerIdentifier" : 0,
  "folderObjectID" : 1,
  "folderIdentifier" : "1",
  "objectID" : 334,
  "createdBy" : "NCA3885",
  "lastModificationBy" : "ABL4732",
  "lastUpdateBy" : "",
  "creationDate" : "01/21/2011 16:07:46",
  "lastModificationDate" : "02/14/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"
  ],
  "endNodes" : [
  ]
}

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