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

PUT pnp/profile/{pnpProfileFolder}

Resource Information

Rate Limiting?

Yes

Sorting?

No

Paging?

No

Filtering?

No

Response Formats

xml

json

User Group

NBI Write

HTTP Methods

PUT

Updates the existing pnp profiles

Since Product Version: 3.1

Resource URL

/webacs/api/v1/op/pnp/profile/{pnpProfileFolder}

Request Parameters

Type Attribute Name Source Description

String

pnpProfileFolder required

path

Profile Folder: Router/Switch/Wireless AP/Nexus POAP

Request Payload Parameters

Type Attribute Name Description

PnPApicDetails

apicEmProfileOptions

Applicable only for APIC profiles

String

bootStrapTemplateName

field for Boot Strap Name; Either Bootstrap/Configuration/Image is mandatory

String

configurationTemplateName

Field for configuration Template name; Either Bootstrap/Configuration/Image is mandatory

String

credentialProfileName

Field for credential name; Optional

String

description

Description for the profile; Optional field

String

deviceType

Applicable only for CNS mode; Optional field

String

imageLocation

Field for image location

String

imageName

Field for Image Name;

PnPNexusDetails

nexusProfileDetails

Applicale only for Nexus POAP profiles

String

postPnPTemplateName

Field for postpnp template name; Optional field

String

profileName

field for pnp Profile Name; Mandatory field

Response Parameters

Type Attribute Name Description

String

description

String

state

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://172.25.123.114/webacs/api/v1/op/pnp/profile/{pnpProfileFolder}

<?xml version="1.0" ?>
<pnPProfile>
  <apicEmProfileOptions>
    <accessPointDTO>
      <apGroup>String value</apGroup>
      <apMode>String value</apMode>
      <primaryWlcIP>String value</primaryWlcIP>
      <primaryWlcName>String value</primaryWlcName>
      <secondaryWlcIP>String value</secondaryWlcIP>
      <secondaryWlcName>String value</secondaryWlcName>
      <tertiaryWlcIP>String value</tertiaryWlcIP>
      <tertiaryWlcName>String value</tertiaryWlcName>
    </accessPointDTO>
    <isPkienable>true</isPkienable>
    <isSudiReq>true</isSudiReq>
    <isTSenabe>true</isTSenabe>
  </apicEmProfileOptions>
  <bootStrapTemplateName>String value</bootStrapTemplateName>
  <configurationTemplateName>String value</configurationTemplateName>
  <credentialProfileName>String value</credentialProfileName>
  <description>String value</description>
  <deviceType>String value</deviceType>
  <imageLocation>String value</imageLocation>
  <imageName>String value</imageName>
  <nexusProfileDetails>
    <kickstartImage>String value</kickstartImage>
    <nexusImageLocation>String value</nexusImageLocation>
    <systemImage>String value</systemImage>
  </nexusProfileDetails>
  <postPnPTemplateName>String value</postPnPTemplateName>
  <profileName>String value</profileName>
</pnPProfile>

Sample JSON Request Payload

https://172.25.123.114/webacs/api/v1/op/pnp/profile/{pnpProfileFolder}.json

{
  "pnPProfile" : {
    "apicEmProfileOptions" : {
      "accessPointDTO" : {
        "apGroup" : "String value",
        "apMode" : "String value",
        "primaryWlcIP" : "String value",
        "primaryWlcName" : "String value",
        "secondaryWlcIP" : "String value",
        "secondaryWlcName" : "String value",
        "tertiaryWlcIP" : "String value",
        "tertiaryWlcName" : "String value"
      },
      "isPkienable" : true,
      "isSudiReq" : true,
      "isTSenabe" : true
    },
    "bootStrapTemplateName" : "String value",
    "configurationTemplateName" : "String value",
    "credentialProfileName" : "String value",
    "description" : "String value",
    "deviceType" : "String value",
    "imageLocation" : "String value",
    "imageName" : "String value",
    "nexusProfileDetails" : {
      "kickstartImage" : "String value",
      "nexusImageLocation" : "String value",
      "systemImage" : "String value"
    },
    "postPnPTemplateName" : "String value",
    "profileName" : "String value"
  }
}

Sample XML Response Payload

https://172.25.123.114/webacs/api/v1/op/pnp/profile/{pnpProfileFolder}

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://172.25.123.114/webacs/api/v1/op/pnp/profile/{pnpProfileFolder}" rootUrl="https://172.25.123.114/webacs/api/v1/op/">
  <pnPResponse>
    <description>String value</description>
    <state>String value</state>
  </pnPResponse>
</mgmtResponse>

Sample JSON Response Payload

https://172.25.123.114/webacs/api/v1/op/pnp/profile/{pnpProfileFolder}.json

{
  "mgmtResponse" : {
    "@responseType" : "operation",
    "@requestUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/pnp\/profile\/{
      pnpProfileFolder
    }",
    "@rootUrl" : "https : \/\/172.25.123.114\/webacs\/api\/v1\/op\/",
    "pnPResponse" : {
      "description" : "String value",
      "state" : "String value"
    }
  }
}