/api/space/configuration-management/job-instances/{job-id}/apply-cli-configlet-job-results

The following operation is supported on this resource:

GET /job-instances/{job-id}/apply-cli-configlet-job-resultsVersion 1

Get the applied job results
Example : Applied configuration would look like
interfaces{
ge-0/0/0{
description "sample description"
}
}
.

Sample Usage

GET /job-instances/{job-id}/apply-cli-configlet-job-results


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    job-idIntegerPathJob ID Y
  • Sample Output XML:
    <apply-cli-configlet-job-results total="Integer" uri="/api/space/configuration-management/job-instances/{job-id}/apply-cli-configlet-job-results">
         <apply-cli-configlet-job-result>
               <id>Integer</id>
               <job-status>FAILED</job-status>
               <applied-configuration><![CDATA[String]]></applied-configuration>
               <cli-template-name>String</cli-template-name>
               <params total="Integer">
                   <param>
                         <param-value>String</param-value>
                         <param-name>String</param-name>
                   </param>
               </params>
               <post-configuration>Boolean</post-configuration>
               <category>String</category>
               <device-name>String</device-name>
               <cli-template-id>Integer</cli-template-id>
               <description>String</description>
               <job-remarks><![CDATA[String]]></job-remarks>
               <context><![CDATA[String]]></context>
               <post-parameters>Boolean</post-parameters>
               <job-percentage-completed>Double</job-percentage-completed>
               <job-id>Integer</job-id>
               <device-id>Integer</device-id>
               <device href="/api/space/device-management/devices/{deviceId}"/>
               <job href="/api/space/job-management/jobs/{jobInstanceID}"/>
         </apply-cli-configlet-job-result>
    </apply-cli-configlet-job-results>

  • Sample Output JSON:
    {
       "apply-cli-configlet-job-results" : {
         "@total" : "Integer" ,
         "@uri" :
         "/api/space/configuration-management/job-instances/{job-id}/apply-cli-configlet-job-results"
         ,
         "apply-cli-configlet-job-result" : {
           "id" : "Integer" ,
           "job-status" : "FAILED" ,
           "applied-configuration" : "String" ,
           "cli-template-name" : "String" ,
           "params" : {
             "@total" : "Integer" ,
             "param" : {
               "param-value" : "String" ,
               "param-name" : "String"
             }
           } ,
           "post-configuration" : "Boolean" ,
           "category" : "String" ,
           "device-name" : "String" ,
           "cli-template-id" : "Integer" ,
           "description" : "String" ,
           "job-remarks" : "String" ,
           "context" : "String" ,
           "post-parameters" : "Boolean" ,
           "job-percentage-completed" : "Double" ,
           "job-id" : "Integer" ,
           "device-id" : "Integer" ,
           "device" : {
             "@href" : "/api/space/device-management/devices/{deviceId}"
           } ,
           "job" : {
             "@href" : "/api/space/job-management/jobs/{jobInstanceID}"
           }
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: ViewCliTemplateCap