Store (Network Diagrams)


The store operation is performed on a Diagram resource. The result of this operation is a Diagram JSON Information object, and the moment the store operation happens.

It is used to store the temporary network diagram resource in the database.

The ArcGIS Utility Network Management extension is required to use this operation.

Request Parameters


Description: The name of the geodatabase version.

Syntax: gdbVersion=<version>

Example: gdbVersion=ABV1


Description: The token (guid) used to lock the version.

Syntax: sessionId=<guid>

Example: sessionId=44G259DE-87B0-407D-8F2E-DCB7665DD0F0



Description: The name of the network diagram to be stored.

Syntax: name=<diagramName>

Example: name=DiagramTest1


Description: One or several tags that could help querying the stored diagram in an easier way afterwards (string). You can use the '#' character as a separator for each tag you want to specify.

Syntax: tag=<tag1>#<tag2>

Example: tag=Expanded#Area1#North West Circuit B



Description: The access right level you want to set for the stored diagram:

  • esriDiagramPublicAccess—Anyone will have full access rights on the diagram; that is, view/edit/update/overwrite/delete permissions on it.
  • esriDiagramProtectedAccess— Anyone will have view and read access rights on the diagram, but they will have no permission for editing/update/overwriting/nor deleting the diagram.
  • esriDiagramPrivateAccess—No access to the diagram—nor to view nor to edit it—for anyone except its owner

Syntax: tag=<esriDiagramPublicAccess | esriDiagramProtectedAccess | esriDiagramPrivateAccess>

Example: tag=esriDiagramPublicAccess


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

Values: <html | json>

Example Usage

Storing a temporary diagram created in version ABV1 as "DiagramTest3" with public right access level:

JSON Response Syntax

A JSON object composed of a Diagram JSON Information object and a moment: {"diagramInfo": Diagram JSON Information, "moment": <moment>}

JSON Response Example

 "diagramInfo": {
  "tag": "",
  "isStored": true,
  "isSystem": false,
  "creator": "acb7352",
  "creationDate": 1505219137000,
  "lastUpdateBy": "acb7352",
  "lastUpdateDate": 1505219137000,
  "containerMargin": 0.5,
  "junctionCount": 11,
  "edgeCount": 10,
  "containerCount": 1,
  "aggregationCount": 0,
  "access": "esriDiagramPublicAccess",
  "diagramExtent": {
   "xmin": 6807591.7656002343,
   "ymin": 1847967.7367558032,
   "xmax": 6808661.8976463079,
   "ymax": 1848650.1848659664,
   "spatialReference": {
    "wkid": 3498,
    "latestWkid": 3498
  "networkExtent": {
   "xmin": 6807591.7656002343,
   "ymin": 1847967.7367558032,
   "xmax": 6808661.8976463079,
   "ymax": 1848650.1848659664,
   "spatialReference": {
    "wkid": 3498,
    "latestWkid": 3498
  "name": "DiagramTest3",
  "id": "{033B675B-0DFF-4E82-85BC-85DD1235D42C}",
  "template": "Basic"
 "moment": 1505219137037