- URL:
- https://<root>/<serviceName>/NetworkDiagramServer/diagrams/<diagramName>/store
- Methods:
- POST
- Version Introduced:
- 10.6
Description
The store operation stores the temporary diagram in the database. It is performed on a Diagram resource. The result of this operation is a Diagram JSON Information object, and the moment the store operation happens.
Request Parameters
| Parameter | Details | 
|---|---|
| 
 | The name of the geodatabase version. Syntax:  Example:  | 
| 
 | The token (guid) used to lock the version. Syntax:  Example:  | 
| 
 (Required) | The name of the network diagram to be stored. Syntax:  Example:  | 
| 
 | 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:  Example:  | 
| 
 (Required) | The access right level you want to set for the stored diagram: 
 Syntax:  Example:  | 
| 
 | The response format. The default response format is html. Values:  | 
Example Usage
Storing a temporary diagram created in version ABV1 as "DiagramTest3" with public right access level; that is:
- 
URL: https://myserver.esri.com/server/rest/services/Naperville/Network Diagram Server/diagrams/7C458C4491F94B5591635AFA029816FF/store 
- 
Parameters: Use dark colors for code blocks Copy gdbVersion=ABV1 sessionId= name=DiagramTest3 tag= access=esriDiagramPublicAccess f=pjson
- 
Sent URL (GET): https://myserver.esri.com/server/rest/services/Naperville/Network Diagram Server/diagrams/7C458C4491F94B5591635AFA029816FF/store?gdb Version=ABV1&session Id=&name=Diagram Test3&tag=&access=esri Diagram Public Access&f=pjson 
JSON Response Syntax
A JSON object composed of a Diagram JSON Information object and a moment: {"diagram
JSON Response Example
{
 "diagramInfo": {
  "tag": "",
  "isStored": true,
  "canStore": true,
  "canExtend": true,
  "isSystem": false,
  "creator": "acb7352",
  "creationDate": 1505219137000,
  "lastUpdateBy": "acb7352",
  "lastUpdateDate": 1505219137000,
  "containerMargin": 0.5,
  "junctionCount": 11,
  "edgeCount": 10,
  "containerCount": 1,
  "aggregationCount": 0,
  "isHistorical": false,
  "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
}