Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET configArchiveService/extractUnsanitizedFile

Extract an unsanitized configuration file (not applicable for config files with type VLAN and DATABASE)

Since Product Version: 3.0

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Credential

HTTP Methods

GET

DevNet Discussions

Resource URL

/webacs/api/v2/op/configArchiveService/extractUnsanitizedFile

Unmodified

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

Request Parameters

Attribute Source Description

fileId Long

query

RequiredfileId parameter from configuration version

Response Parameters

Attribute Description

fileData String

File content.

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://localhost/webacs/api/v2/op/configArchiveService/extractUnsanitizedFile?fileId=1519522

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v2/op/configArchiveService/extractUnsanitizedFile?fileId=1519522" rootUrl="https://localhost/webacs/api/v2/op">
  <extractFileResult>
    <fileData>String value</fileData>
  </extractFileResult>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v2/op/configArchiveService/extractUnsanitizedFile.json?fileId=1519522

{
  "mgmtResponse" : {
    "@requestUrl" : "https://localhost/webacs/api/v2/op/configArchiveService/extractUnsanitizedFile?fileId=1519522",
    "@responseType" : "operation",
    "@rootUrl" : "https://localhost/webacs/api/v2/op",
    "extractFileResult" : [ {
      "fileData" : "String value"
    } ]
  }
}