Start an Auto Discovery or SNMP Discovery Job
get
/api/discovery/Discover/executeRun
Starts an auto discovery or SNMP discovery job on the server that matches the specified ID.
Request
Query Parameters
-
DeviceHosts(required): string
The comma-separated list of IP Addresses or FQDNs for devices.Example:
100.77.220.52, 100.77.220.19
-
JobID(required): integer
The job ID on the specified server.Example:
1
-
JobName: string
The job name on the specified server.Example:
Device Auto Discovery
-
ServerID(required): integer
The server ID to remotely execute discovery. If specified, only the array of jobs is returned. If not, only the array of servers is returned.Example:
1
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
Show Source
object
-
message: string
The response message.Example:
Device Auto Discovery: Process queued to start
-
success: boolean
Whether the operation was a success (true) or failure (false).Example:
true
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object
-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
-
Array of:
object items
An error.
Nested Schema : items
Type:
object
An error.