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

GET configArchive/ViewService/getDiff/{sourceFileId}/{destinationFileId}/{isProcessed}/

This operation can be used to get the diff by using source file id, destination file id and isprocessed.

Since Product Version: 1

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Read

HTTP Methods

GET

Resource URL

/webacs/api/v2/op/configArchive/ViewService/getDiff/{sourceFileId}/{destinationFileId}/{isProcessed}/

Unmodified

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

Request Parameters

Attribute Source Description

sourceFileId Long

path

Optional

destinationFileId Long

path

Optional

isProcessed Boolean

path

Optional

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 Response Payload

https://10.56.58.149/webacs/api/v2/op/configArchive/ViewService/getDiff/{sourceFileId}/{destinationFileId}/{isProcessed}/

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://10.56.58.149/webacs/api/v2/op/configArchive/ViewService/getDiff/{sourceFileId}/{destinationFileId}/{isProcessed}/" rootUrl="https://10.56.58.149/webacs/api/v2/op">
  <ConfigDiffListDTO>
    <id>String value</id>
    <items>
      <destHeader>String value</destHeader>
      <flatItems>
        <destHeader>String value</destHeader>
        <hasChildren>true</hasChildren>
        <id>String value</id>
        <lines>
          <destinationLine>String value</destinationLine>
          <diffType>String value</diffType>
          <separatorLine>true</separatorLine>
          <sourceLine>String value</sourceLine>
        </lines>
        <lines>
          <destinationLine>Another string value</destinationLine>
          <diffType>Another string value</diffType>
          <separatorLine>false</separatorLine>
          <sourceLine>Another string value</sourceLine>
        </lines>
        <parentId>String value</parentId>
        <srcHeader>String value</srcHeader>
        <title>String value</title>
      </flatItems>
      <flatItems>
        <destHeader>Another string value</destHeader>
        <hasChildren>false</hasChildren>
        <id>Another string value</id>
        <lines>
          <destinationLine>String value</destinationLine>
          <diffType>String value</diffType>
          <separatorLine>true</separatorLine>
          <sourceLine>String value</sourceLine>
        </lines>
        <lines>
          <destinationLine>Another string value</destinationLine>
          <diffType>Another string value</diffType>
          <separatorLine>false</separatorLine>
          <sourceLine>Another string value</sourceLine>
        </lines>
        <parentId>Another string value</parentId>
        <srcHeader>Another string value</srcHeader>
        <title>Another string value</title>
      </flatItems>
      <hasChildren>true</hasChildren>
      <id>String value</id>
      <items>
        <destHeader>String value</destHeader>
        <hasChildren>true</hasChildren>
        <id>String value</id>
        <lines>
          <destinationLine>String value</destinationLine>
          <diffType>String value</diffType>
          <separatorLine>true</separatorLine>
          <sourceLine>String value</sourceLine>
        </lines>
        <lines>
          <destinationLine>Another string value</destinationLine>
          <diffType>Another string value</diffType>
          <separatorLine>false</separatorLine>
          <sourceLine>Another string value</sourceLine>
        </lines>
        <parentId>String value</parentId>
        <srcHeader>String value</srcHeader>
        <title>String value</title>
      </items>
      <items>
        <destHeader>Another string value</destHeader>
        <hasChildren>false</hasChildren>
        <id>Another string value</id>
        <lines>
          <destinationLine>String value</destinationLine>
          <diffType>String value</diffType>
          <separatorLine>true</separatorLine>
          <sourceLine>String value</sourceLine>
        </lines>
        <lines>
          <destinationLine>Another string value</destinationLine>
          <diffType>Another string value</diffType>
          <separatorLine>false</separatorLine>
          <sourceLine>Another string value</sourceLine>
        </lines>
        <parentId>Another string value</parentId>
        <srcHeader>Another string value</srcHeader>
        <title>Another string value</title>
      </items>
      <lines>
        <destinationLine>String value</destinationLine>
        <diffType>String value</diffType>
        <separatorLine>true</separatorLine>
        <sourceLine>String value</sourceLine>
      </lines>
      <lines>
        <destinationLine>Another string value</destinationLine>
        <diffType>Another string value</diffType>
        <separatorLine>false</separatorLine>
        <sourceLine>Another string value</sourceLine>
      </lines>
      <parentId>String value</parentId>
      <srcHeader>String value</srcHeader>
      <title>String value</title>
    </items>
    <items>
      <destHeader>Another string value</destHeader>
      <flatItems>
        <destHeader>String value</destHeader>
        <hasChildren>true</hasChildren>
        <id>String value</id>
        <lines>
          <destinationLine>String value</destinationLine>
          <diffType>String value</diffType>
          <separatorLine>true</separatorLine>
          <sourceLine>String value</sourceLine>
        </lines>
        <lines>
          <destinationLine>Another string value</destinationLine>
          <diffType>Another string value</diffType>
          <separatorLine>false</separatorLine>
          <sourceLine>Another string value</sourceLine>
        </lines>
        <parentId>String value</parentId>
        <srcHeader>String value</srcHeader>
        <title>String value</title>
      </flatItems>
      <flatItems>
        <destHeader>Another string value</destHeader>
        <hasChildren>false</hasChildren>
        <id>Another string value</id>
        <lines>
          <destinationLine>String value</destinationLine>
          <diffType>String value</diffType>
          <separatorLine>true</separatorLine>
          <sourceLine>String value</sourceLine>
        </lines>
        <lines>
          <destinationLine>Another string value</destinationLine>
          <diffType>Another string value</diffType>
          <separatorLine>false</separatorLine>
          <sourceLine>Another string value</sourceLine>
        </lines>
        <parentId>Another string value</parentId>
        <srcHeader>Another string value</srcHeader>
        <title>Another string value</title>
      </flatItems>
      <hasChildren>false</hasChildren>
      <id>Another string value</id>
      <items>
        <destHeader>String value</destHeader>
        <hasChildren>true</hasChildren>
        <id>String value</id>
        <lines>
          <destinationLine>String value</destinationLine>
          <diffType>String value</diffType>
          <separatorLine>true</separatorLine>
          <sourceLine>String value</sourceLine>
        </lines>
        <lines>
          <destinationLine>Another string value</destinationLine>
          <diffType>Another string value</diffType>
          <separatorLine>false</separatorLine>
          <sourceLine>Another string value</sourceLine>
        </lines>
        <parentId>String value</parentId>
        <srcHeader>String value</srcHeader>
        <title>String value</title>
      </items>
      <items>
        <destHeader>Another string value</destHeader>
        <hasChildren>false</hasChildren>
        <id>Another string value</id>
        <lines>
          <destinationLine>String value</destinationLine>
          <diffType>String value</diffType>
          <separatorLine>true</separatorLine>
          <sourceLine>String value</sourceLine>
        </lines>
        <lines>
          <destinationLine>Another string value</destinationLine>
          <diffType>Another string value</diffType>
          <separatorLine>false</separatorLine>
          <sourceLine>Another string value</sourceLine>
        </lines>
        <parentId>Another string value</parentId>
        <srcHeader>Another string value</srcHeader>
        <title>Another string value</title>
      </items>
      <lines>
        <destinationLine>String value</destinationLine>
        <diffType>String value</diffType>
        <separatorLine>true</separatorLine>
        <sourceLine>String value</sourceLine>
      </lines>
      <lines>
        <destinationLine>Another string value</destinationLine>
        <diffType>Another string value</diffType>
        <separatorLine>false</separatorLine>
        <sourceLine>Another string value</sourceLine>
      </lines>
      <parentId>Another string value</parentId>
      <srcHeader>Another string value</srcHeader>
      <title>Another string value</title>
    </items>
  </ConfigDiffListDTO>
</mgmtResponse>

Sample JSON Response Payload

https://10.56.58.149/webacs/api/v2/op/configArchive/ViewService/getDiff/{sourceFileId}/{destinationFileId}/{isProcessed}/.json

{
  "mgmtResponse" : {
    "@requestUrl" : "https://10.56.58.149/webacs/api/v2/op/configArchive/ViewService/getDiff/{sourceFileId}/{destinationFileId}/{isProcessed}/",
    "@responseType" : "operation",
    "@rootUrl" : "https://10.56.58.149/webacs/api/v2/op",
    "ConfigDiffListDTO" : [ {
      "id" : "String value",
      "items" : [ {
        "destHeader" : "String value",
        "flatItems" : [ {
          "destHeader" : "String value",
          "flatItems" : [ ],
          "hasChildren" : true,
          "id" : "String value",
          "items" : [ ],
          "lines" : [ {
            "destinationLine" : "String value",
            "diffType" : "String value",
            "separatorLine" : true,
            "sourceLine" : "String value"
          }, {
            "destinationLine" : "Another string value",
            "diffType" : "Another string value",
            "separatorLine" : false,
            "sourceLine" : "Another string value"
          } ],
          "parentId" : "String value",
          "srcHeader" : "String value",
          "title" : "String value"
        }, {
          "destHeader" : "Another string value",
          "flatItems" : [ ],
          "hasChildren" : false,
          "id" : "Another string value",
          "items" : [ ],
          "lines" : [ {
            "destinationLine" : "String value",
            "diffType" : "String value",
            "separatorLine" : true,
            "sourceLine" : "String value"
          }, {
            "destinationLine" : "Another string value",
            "diffType" : "Another string value",
            "separatorLine" : false,
            "sourceLine" : "Another string value"
          } ],
          "parentId" : "Another string value",
          "srcHeader" : "Another string value",
          "title" : "Another string value"
        } ],
        "hasChildren" : true,
        "id" : "String value",
        "items" : [ {
          "destHeader" : "String value",
          "flatItems" : [ ],
          "hasChildren" : true,
          "id" : "String value",
          "items" : [ ],
          "lines" : [ {
            "destinationLine" : "String value",
            "diffType" : "String value",
            "separatorLine" : true,
            "sourceLine" : "String value"
          }, {
            "destinationLine" : "Another string value",
            "diffType" : "Another string value",
            "separatorLine" : false,
            "sourceLine" : "Another string value"
          } ],
          "parentId" : "String value",
          "srcHeader" : "String value",
          "title" : "String value"
        }, {
          "destHeader" : "Another string value",
          "flatItems" : [ ],
          "hasChildren" : false,
          "id" : "Another string value",
          "items" : [ ],
          "lines" : [ {
            "destinationLine" : "String value",
            "diffType" : "String value",
            "separatorLine" : true,
            "sourceLine" : "String value"
          }, {
            "destinationLine" : "Another string value",
            "diffType" : "Another string value",
            "separatorLine" : false,
            "sourceLine" : "Another string value"
          } ],
          "parentId" : "Another string value",
          "srcHeader" : "Another string value",
          "title" : "Another string value"
        } ],
        "lines" : [ {
          "destinationLine" : "String value",
          "diffType" : "String value",
          "separatorLine" : true,
          "sourceLine" : "String value"
        }, {
          "destinationLine" : "Another string value",
          "diffType" : "Another string value",
          "separatorLine" : false,
          "sourceLine" : "Another string value"
        } ],
        "parentId" : "String value",
        "srcHeader" : "String value",
        "title" : "String value"
      }, {
        "destHeader" : "Another string value",
        "flatItems" : [ {
          "destHeader" : "String value",
          "flatItems" : [ ],
          "hasChildren" : true,
          "id" : "String value",
          "items" : [ ],
          "lines" : [ {
            "destinationLine" : "String value",
            "diffType" : "String value",
            "separatorLine" : true,
            "sourceLine" : "String value"
          }, {
            "destinationLine" : "Another string value",
            "diffType" : "Another string value",
            "separatorLine" : false,
            "sourceLine" : "Another string value"
          } ],
          "parentId" : "String value",
          "srcHeader" : "String value",
          "title" : "String value"
        }, {
          "destHeader" : "Another string value",
          "flatItems" : [ ],
          "hasChildren" : false,
          "id" : "Another string value",
          "items" : [ ],
          "lines" : [ {
            "destinationLine" : "String value",
            "diffType" : "String value",
            "separatorLine" : true,
            "sourceLine" : "String value"
          }, {
            "destinationLine" : "Another string value",
            "diffType" : "Another string value",
            "separatorLine" : false,
            "sourceLine" : "Another string value"
          } ],
          "parentId" : "Another string value",
          "srcHeader" : "Another string value",
          "title" : "Another string value"
        } ],
        "hasChildren" : false,
        "id" : "Another string value",
        "items" : [ {
          "destHeader" : "String value",
          "flatItems" : [ ],
          "hasChildren" : true,
          "id" : "String value",
          "items" : [ ],
          "lines" : [ {
            "destinationLine" : "String value",
            "diffType" : "String value",
            "separatorLine" : true,
            "sourceLine" : "String value"
          }, {
            "destinationLine" : "Another string value",
            "diffType" : "Another string value",
            "separatorLine" : false,
            "sourceLine" : "Another string value"
          } ],
          "parentId" : "String value",
          "srcHeader" : "String value",
          "title" : "String value"
        }, {
          "destHeader" : "Another string value",
          "flatItems" : [ ],
          "hasChildren" : false,
          "id" : "Another string value",
          "items" : [ ],
          "lines" : [ {
            "destinationLine" : "String value",
            "diffType" : "String value",
            "separatorLine" : true,
            "sourceLine" : "String value"
          }, {
            "destinationLine" : "Another string value",
            "diffType" : "Another string value",
            "separatorLine" : false,
            "sourceLine" : "Another string value"
          } ],
          "parentId" : "Another string value",
          "srcHeader" : "Another string value",
          "title" : "Another string value"
        } ],
        "lines" : [ {
          "destinationLine" : "String value",
          "diffType" : "String value",
          "separatorLine" : true,
          "sourceLine" : "String value"
        }, {
          "destinationLine" : "Another string value",
          "diffType" : "Another string value",
          "separatorLine" : false,
          "sourceLine" : "Another string value"
        } ],
        "parentId" : "Another string value",
        "srcHeader" : "Another string value",
        "title" : "Another string value"
      } ]
    } ]
  }
}