REST Resources

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

The following operation is supported on this resource:

  • GET - To get the list of discovery job result
GET /job-instances/{job-id}/discovery-job-resultsVersion 6

To get the list of discovery job result.

Sample Usage

GET /job-instances/{job-id}/discovery-job-results


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    job-idIntegerPath- Job Id to get the list of discovery job result Y
  • Sample Output XML:
    <discovery-job-results total="1" uri="/api/space/device-management/job-instances/557058/discovery-job-results">
         <system-discovery-result>
               <id>557058</id>
               <discovery-fail-reason>User authentication failed</discovery-fail-reason>
               <vendor-name>JUNIPER</vendor-name>
               <system-discovery-status>ADD_DEVICE_FAILED</system-discovery-status>
               <hostname>Ex_Device</hostname>
               <device-id>1605645</device-id>
               <serial-num>BK0207442087</serial-num>
               <ip>1.1.1.1</ip>
         </system-discovery-result>
    </discovery-job-results>

  • Sample Output JSON:
    {
       "discovery-job-results" : {
         "@total" : "1" ,
         "@uri" : "/api/space/device-management/job-instances/557058/discovery-job-results" ,
         "system-discovery-result" : {
           "id" : 557058 ,
           "discovery-fail-reason" : "User authentication failed" ,
           "vendor-name" : "JUNIPER" ,
           "system-discovery-status" : "ADD_DEVICE_FAILED" ,
           "hostname" : "Ex_Device" ,
             "device-id" : 1605645 ,
           "serial-num" : "BK0207442087" ,
           "ip" : "1.1.1.1"
         }
       }
    }

  • Access Control

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