REST Resources

/api/space/device-management/devices/{device-id}/submit-cli-configlet

The following operation is supported on this resource:

  • POST - Submit Cli Configlet For Rest
POST /devices/{device-id}/submit-cli-configletVersion 5

Submit Cli Configlet For Rest.

Sample Usage

POST /devices/{device-id}/submit-cli-configlet


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    device-idIntegerPathDevice ID Y
  • Sample Input XML:
    <submit-cli-configlet>
         <configlet href="/api/space/configuration-management/cli-templates/{id}"/>
         <context>String</context>
         <cli-configlet-params>
               <cli-configlet-param>
                   <parameter href="/api/space/configuration-management/cli-configlets/{configletId}/cli-configlet-params/{paramId}"/>
                   <parameter-value>String</parameter-value>
               </cli-configlet-param>
         </cli-configlet-params>
    </submit-cli-configlet>

  • Sample Input JSON:
    {
       "submit-cli-configlet" : {
         "configlet" : {
           "@href" : "/api/space/configuration-management/cli-templates/{id}"
         } ,
         "context" : "String" ,
         "cli-configlet-params" : {
           "cli-configlet-param" : {
             "parameter" : {
               "@href" :
               "/api/space/configuration-management/cli-configlets/{configletId}/cli-configlet-params/{paramId}"
             } ,
             "parameter-value" : "String"
           }
         }
       }
    }