Cisco Evolved Programmable Network Manager API
Evolved Programmable Network Manager API Documentation

POST topology/layout/global

saves the global toplogy layout per group

Since Product Version: 2.1.3

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Write

HTTP Methods

POST

Resource URL

/webacs/api/v4/op/topology/layout/global

Unmodified

This resource has not been modified since the previous API version.

Request Payload Parameters

Attribute Description

groupName String

group name which is a path to the group (e.g. Locations/All Locations/System Campus)

topoLayout Arrow image TopologyLayoutDTO

topology layout of this group

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Request Payload

https://10.64.80.159/webacs/api/v4/op/topology/layout/global

<?xml version="1.0" ?>
<globalTopologyLayoutDTO>
  <groupName>String value</groupName>
  <topoLayout>
    <expandedGroupNames>
      <expandedGroupNames>String value</expandedGroupNames>
      <expandedGroupNames>Another string value</expandedGroupNames>
    </expandedGroupNames>
    <nodeLayouts>
      <nodeLayout>
        <name>String value</name>
        <positionX>2</positionX>
        <positionY>2</positionY>
        <type>String value</type>
      </nodeLayout>
      <nodeLayout>
        <name>Another string value</name>
        <positionX>12</positionX>
        <positionY>12</positionY>
        <type>Another string value</type>
      </nodeLayout>
    </nodeLayouts>
    <offsetX>4.0</offsetX>
    <offsetY>4.0</offsetY>
    <zoomLevel>4.0</zoomLevel>
  </topoLayout>
</globalTopologyLayoutDTO>

Sample JSON Request Payload

https://10.64.80.159/webacs/api/v4/op/topology/layout/global.json

{
  "globalTopologyLayoutDTO" : {
    "groupName" : "String value",
    "topoLayout" : {
      "expandedGroupNames" : {
        "expandedGroupNames" : [ "String value", "Another string value" ]
      },
      "nodeLayouts" : {
        "nodeLayout" : [ {
          "name" : "String value",
          "positionX" : 2,
          "positionY" : 2,
          "type" : "String value"
        }, {
          "name" : "Another string value",
          "positionX" : 12,
          "positionY" : 12,
          "type" : "Another string value"
        } ]
      },
      "offsetX" : 4.0,
      "offsetY" : 4.0,
      "zoomLevel" : 4.0
    }
  }
}