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

PUT pnp/profile/{pnpProfileFolder}

Updates the existing pnp profiles

Since Product Version: 3.1

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

PUT

Resource URL

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

Unmodified

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

Request Parameters

Attribute Source Description

pnpProfileFolder String

path

Required

Profile Folder: Router/Switch/Wireless AP/Nexus POAP/Mobility Express WLC

Request Payload Parameters

Attribute Description

apicEmProfileOptions Arrow image PnPApicDetails

Applicable only for APIC profiles

bootStrapTemplateName String

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

configurationTemplateName String

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

credentialProfileName String

Field for credential name; Optional

description String

Description for the profile; Optional field

deviceType String

Applicable only for CNS mode; Optional field

imageLocation String

Field for image location

imageName String

Field for Image Name;

nexusProfileDetails Arrow image PnPNexusDetails

Applicale only for Nexus POAP profiles

postPnPTemplateName String

Field for postpnp template name; Optional field

profileName String

field for pnp Profile Name; Mandatory field

Response Parameters

Attribute Description

description String

state String

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.20.127.108/webacs/api/v4/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.20.127.108/webacs/api/v4/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.20.127.108/webacs/api/v4/op/pnp/profile/{pnpProfileFolder}

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

Sample JSON Response Payload

https://172.20.127.108/webacs/api/v4/op/pnp/profile/{pnpProfileFolder}.json

{
  "mgmtResponse" : {
    "@requestUrl" : "https://172.20.127.108/webacs/api/v4/op/pnp/profile/{pnpProfileFolder}",
    "@responseType" : "operation",
    "@rootUrl" : "https://172.20.127.108/webacs/api/v4/op",
    "pnPResponse" : [ {
      "description" : "String value",
      "state" : "String value"
    } ]
  }
}