REST Resources

/api/space/device-management/job-instances/{job-id}/reboot-devices-job-results

The following operation is supported on this resource:

  • GET - Get Reboot Devices Job Results
GET /job-instances/{job-id}/reboot-devices-job-resultsVersion 3

Get Reboot Devices Job Results.

Sample Usage

GET /job-instances/{job-id}/reboot-devices-job-results


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    job-idIntegerPathJob ID Y
  • Sample Output XML:
    <reboot-devices-job-results total="1" uri="/api/space/device-management/job-instances/950499/reboot-devices-job-results">
         <reboot-device-job-result>
               <reboot-device-status>FAILED</reboot-device-status>
               <id>2788331</id>
               <device
                   href="/api/space/managed-domain/devices-require-polling/2228251">
                   <id>2228251</id>
                   <name>Device_Require_Polling</name>
               </device>
               <hostname>SRX_Device</hostname>
               <reboot-fail-reason>reboot-fail-reason>Device(s) failed to be rebooted</reboot-fail-reason>
               <device-id>2228251</device-id>
               <ip>192.168.2.1</ip>
         </reboot-device-job-result>
    </reboot-devices-job-results>

  • Sample Output JSON:
    {
       "reboot-devices-job-results" : {
         "@total" : "1" ,
         "@uri" : "/api/space/device-management/job-instances/950499/reboot-devices-job-results" ,
         "reboot-device-job-result" : {
           "reboot-device-status" : "FAILED" ,
           "id" : 2788331 ,
           "device" : {
             "@href" : "/api/space/managed-domain/devices-require-polling/2228251" ,
             "id" : "2228251" ,
             "name" : "Device_Require_Pooling"
           } ,
           "hostname" : "SRX_Device" ,
           "reboot-fail-reason" : "Device(s) failed to be rebooted" ,
           "device-id" : 2228251 ,
           "ip" : "192.168.2.1"
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: RebootDevice, JobMgr