REST Resources

/api/space/device-management/discoveryresult/{id}

The following operation is supported on this resource:

  • GET - Get discovery result by Job ID
GET /discoveryresult/{id}Version 1

This API is used to retrieve the result of a task for a specified task ID.

Sample Usage

GET /discoveryresult/{id}


  • Parameters:
    NameTypeURI TypeDescriptionRequired
    idintPathThe task ID for which results will be returned Y
  • Sample Output XML:

       <discoveryresults size="1" >
         <discoveryresult>
           <id>1703939</id>
           <discoveryStatus>NOT_DISCOVERED</discoveryStatus>
           <discoveryFailReason>Device is not reachable</discoveryFailReason>
           <ip>192.168.1.1</ip>
         </discoveryresult>
       </discoveryresults>

  • Sample Output JSON:

    {
    "discoveryresults":
       {"@size":"1",
       "discoveryresult":
         {
         "id":1703939,
         "discoveryStatus":"NOT_DISCOVERED",
         "discoveryFailReason":"Device is not reachable",
         "ip":"192.168.1.1"
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: DiscoverDevices