Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

GET settings/servers/ftpServers

Retrieves the list of FTP servers.

Since Product Version: 3.2

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Credential

HTTP Methods

GET

Resource URL

/webacs/api/v4/op/settings/servers/ftpServers

Unmodified

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

Response Parameters

Attribute Description

ipAddress String

IP address of the server.

name String

Name of the server.

serverType FTPServerTypeEnum

Type of the server.

  • TFTP
  • FTP
  • ALL
  • SFTP

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/v4/op/settings/servers/ftpServers

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v4/op/settings/servers/ftpServers" rootUrl="https://localhost/webacs/api/v4/op">
  <ftpServerDTO>
    <ipAddress>String value</ipAddress>
    <name>String value</name>
    <serverType>TFTP</serverType>
  </ftpServerDTO>
  <ftpServerDTO>
    <ipAddress>Another string value</ipAddress>
    <name>Another string value</name>
    <serverType>FTP</serverType>
  </ftpServerDTO>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v4/op/settings/servers/ftpServers.json

{
  "mgmtResponse" : {
    "@requestUrl" : "https://localhost/webacs/api/v4/op/settings/servers/ftpServers",
    "@responseType" : "operation",
    "@rootUrl" : "https://localhost/webacs/api/v4/op",
    "ftpServerDTO" : [ {
      "ipAddress" : "String value",
      "name" : "String value",
      "serverType" : "TFTP"
    }, {
      "ipAddress" : "Another string value",
      "name" : "Another string value",
      "serverType" : "FTP"
    } ]
  }
}