- URL:
- https://<root>/<serviceName>/NetworkDiagramServer/diagrams/<diagramName>/extend
- Methods:
POST
- Version Introduced:
- 10.6
Description
The extend
operation extends the diagram content one connectivity level, optionally regarding to the traversability over the network. It is performed on a Diagram resource. The result of this operation is a Diagram JSON Information object, and the moment the edit 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: |
| A boolean statement that determines whether to extend the diagram content with or without taking the the traversability of the network into account.
Syntax: Example: |
| The type of extend you want to process. Syntax: Example: |
| An array of diagram feature Global IDs, those diagram features being those from which the extend process will run. Syntax: Example: |
|
The response format. The default response format is html. Values: |
Example Usage
Extending one connectivity level the newly created temporary diagram which Name is 7C458C4491F94B5591635AFA029816FF:
-
URL:
https
://myserver.esri.com/server/rest/services/ Naperville/ Network Diagram Server/diagrams/7 C458 C4491 F94 B5591635 AF A029816 F F/extend -
Parameters:
Use dark colors for code blocks Copy gdbVersion=ABV1 sessionId= ignoreTraversability=true f=pjson
-
Sent URL (GET):
https
://myserver.esri.com/server/rest/services/ Naperville/ Network Diagram Server/diagrams/7 C458 C4491 F94 B5591635 AF A029816 F F/extend?gdb Version= AB V1&session Id=&ignore Traversability=true&f=pjson
Extending the diagram called DiagramTest1 one connectivity level regarding to the traversability over the network; that is:
-
URL:
https
://myserver.esri.com/server/rest/services/ Naperville/ Network Diagram Server/diagrams/ Diagram Test2/extend -
Parameters:
Use dark colors for code blocks Copy gdbVersion= sessionId= ignoreTraversability=false f=pjson
-
Sent URL (GET):
https
://myserver.esri.com/server/rest/services/ Naperville/ Network Diagram Server/diagrams/ Diagram Test2/extend?gdb Version=&session Id=&ignore Traversability=false&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": 1503065870000,
"lastUpdateBy": "acb7352",
"lastUpdateDate": 1503066275000,
"containerMargin": 0.5,
"junctionCount": 38,
"edgeCount": 37,
"containerCount": 5,
"aggregationCount": 0,
"isHistorical": false,
"access": "esriDiagramPublicAccess",
"diagramExtent": {
"xmin": 1033445.9759065136,
"ymin": 1871200.7451592833,
"xmax": 1034656.045008678,
"ymax": 1871864.0919296965,
"spatialReference": {
"wkid": 102671,
"latestWkid": 3435
}
},
"networkExtent": {
"xmin": 1033446.4759055115,
"ymin": 1871201.2451582849,
"xmax": 1034656.045008678,
"ymax": 1871863.5919306949,
"spatialReference": {
"wkid": 102671,
"latestWkid": 3435
}
},
"name": "7C458C4491F94B5591635AFA029816FF",
"id": "{22C1EEB8-1152-440F-B2FF-6B7C6A43076E}",
"template": "Basic"
}
}