Overview
This topic discusses the JSON Diagram Information object as returned by the REST API.
A Diagram Information object provides the following parameters:
- tag—The diagram tags. (String)
- i—The diagram is stored,- s - Stored - True, or temporary,- False. (Boolean)
- can—The diagram can be stored,- Store - True, or cannot be stored,- False. (Boolean)
- can—The diagram can be extended one feature level by connectivity, traversability, containment, and attachment,- Extend - True, or cannot,- False. (Boolean)
- i—The diagram is a subnetwork system diagram,- s - System - True, or is not,- False. (Boolean)
- creator—The diagram creator. (String)
- creation—The diagram creation date. (Date)- Date 
- last—The name of the last user who updated the diagram. (String)- Update - B - y 
- last—The diagram last update date. (String)- Update - Date 
- container—The diagram container margin. (Double)- Margin 
- junction—The number of diagram junctions. (Long)- Count 
- edge—The number of diagram edges. (Long)- Count 
- container—The number of diagram containers. (Long)- Count 
- aggregation—The number of diagram aggregations. (Long)- Count 
- i—The diagram was created at a past moment- s - Historical - Trueor not- False. (Boolean)
- access—The diagram access right level:- esri|- Diagram - Public - Access - esri|- Diagram - Protected - Access - esri. (String)- Diagram - Private - Access 
- diagram—The extent of the diagram. (Envelope)- Extent 
- network—The extent of the set of utility network features that compose the diagram. (Envelope)- Extent 
- name—The diagram name. (String)
- id—The diagram GUID. (String)
- template—The name of the template on which the diagram is based. (String)
- consistency—The diagram consistency state:- State - esri|- Diagram - Is - Consistent - esri|- Diagram - N - o - t - Consistent - With - Topology - esri. (String)- Diagram - H - a - s - Dirty - Features 
JSON syntax
"diagramInfo": {
 "tag": "<diagUserTag>",
 "isStored": < true | false >,
 "canStore" : < true | false >,
 "canExtend" : < true | false >,
 "isSystem": < true | false >,
 "creator": "< diagCreator >",
 "creationDate": < diagCreationDate >,
 "lastUpdateBy": "< diagLastUpdater >",
 "lastUpdateDate": < lastUpdateDate >,
 "containerMargin": < diagContainerMargin >,
 "junctionCount": < nbDiagJct >,
 "edgeCount": < nbDiagEdge >,
 "containerCount": < nbDiagCont >,
 "aggregationCount": < nbDiagAgg >,
 "isHistorical": < true | false >,
 "access": < "esriDiagramPublicAccess" | "esriDiagramProtectedAccess" | "esriDiagramPrivateAccess" >,
 "diagramExtent": < envelope >,
 "networkExtent": < envelope >
 "name": "< diagName >",
 "id": "< diagGUID >",
 "template": "< templateName >",
 "consistencyState": < "esriDiagramIsConsistent" | "esriDiagramNotConsistentWithTopology" | "esriDiagramHasDirtyFeatures" >
}JSON example
"diagramInfo":{
  "tag": "",
  "isStored": true,
  "canStore" : true,
  "canExtend" : false,
  "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": "DiagramTest1",
  "id": "{033B675B-0DFF-4E82-85BC-85DD1235D42C}",
  "template": "Basic",
  "consistencyState": "esriDiagramHasDirtyFeatures"
}