- URL:
- https://<root>/<serviceName>/NetworkDiagramServer/diagrams/<diagramName>/appendFeatures
- Methods:
POST
- Version Introduced:
- 10.6
Description
The append
operation appends a set of network elements to a diagram. It is performed on a Diagram resource. The result of this operation is a Diagram JSON Information object, and the moment (date) the operation happens for a stored diagram.
Request Parameters
Parameter | Details |
---|---|
| The name of the geodatabase version. Syntax: Example: |
| The token (guid) used to lock the version. Syntax: Example: |
(Required) (Required) | An array of network element Global IDs, those network elements being those to append to the diagram. Syntax: Example: |
| The response format. The default response format is Values: |
Example Usage
Appending a utility network edge—which Global ID is {BAF7AC0F-47CB-479A-A916-827D18890375}—to the diagram called DiagramTest1; that is:
-
URL:
https
://myserver.esri.com/server/rest/services/ Naperville/ Network Diagram Server/diagrams/ Diagram Test1/append Features -
Parameters:
Use dark colors for code blocks Copy gdbVersion= sessionId= addedFeatures= ["{BAF7AC0F-47CB-479A-A916-827D18890375}"] f=pjson
-
Sent URL (GET):
https
://myserver.esri.com/server/rest/services/ Naperville/ Network Diagram Server/diagrams/ Diagram Test1/append Features?gdb Version=&session Id=&added Features=%5 B%22%7 BBA F7 A C0 F-47 C B-479 A- A916-827 D18890375%7 D%22%5 D&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": false,
"canExtend": true,
"isSystem": false,
"creator": "acb7352",
"creationDate": 1503065870000,
"lastUpdateBy": "acb7352",
"lastUpdateDate": 1503066050000,
"containerMargin": 0.5,
"junctionCount": 17,
"edgeCount": 16,
"containerCount": 3,
"aggregationCount": 0,
"isHistorical": false,
"access": "esriDiagramPublicAccess",
"diagramExtent": {
"xmin": 1034221.5694996789,
"ymin": 1871808.4880382791,
"xmax": 1034521.7178495117,
"ymax": 1871863.5430462807,
"spatialReference": {
"wkid": 102671,
"latestWkid": 3435
}
},
"networkExtent": {
"xmin": 1034222.0694986805,
"ymin": 1871808.4880382791,
"xmax": 1034521.2178505138,
"ymax": 1871863.0430472791,
"spatialReference": {
"wkid": 102671,
"latestWkid": 3435
}
},
"name": "DiagramTest1",
"id": "{22C1EEB8-1152-440F-B2FF-6B7C6A43076E}",
"template": "Basic"
},
"moment": 1503066050261
}