Reference Guide

SupportAssist Enterprise
54 REST API Guide SupportAssist Enterprise
2.10.2 Run Discovery Rule
The following resource URI is used to run a device discovery rule:
https://<BASE_URI> api/v1/DiscoveryRule/execute/<rule id>
Method: POST
Headers:
Content-Type: application/json
Authorization: Bearer <Authentication_Token>
Response format (Accepted response code 202):
{
"operationId": "<operation_id>",
"operationType": "ExecuteDeviceDiscoveryRule",
"status": "QUEUED",
"additionalInfo": null
}
}
After the job is complete, the status is as follows:
{
"operationId": "<operation_id>",
"operationType": "ExecuteDeviceDiscoveryRule",
"status": "COMPLETE",
"additionalInfo": [
"<rule id>"
]
}