This URL gets all the alert exception details available in the Manager.
Resource URL
GET /domain/<domainId>/device
Request Parameters
None
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned.
Field Name | Description | Data Type |
|---|---|---|
| List of devices in the domain | Array |
Details of alertExceptionDescriptorList:
Field Name | Description | Data Type |
|---|---|---|
| Unique device id | Number |
| Device name | String |
| Device type can be NTBA_APPLIANCE/IPS_SENSOR | String |
| Update mode can ONLINE/ OFFLINE/ UNKNOWN | String |
| Contact information | String |
| Device location | String |
Example
Request
GET https://<NSM_IP>/sdkapi/domain/0/device
Response
{
"DeviceResponseList": [
{
"deviceId": 1001,
"deviceName": "NS7350_10",
"deviceType": "IPS_NAC_SENSOR",
"updatingMode": "ONLINE",
"contactInformation": null,
"location": null
},
{
"deviceId": 1002,
"deviceName": "NS9100_2_18",
"deviceType": "IPS_NAC_SENSOR",
"updatingMode": "ONLINE",
"contactInformation": null,
"location": null
}
]
}
Error Information
Following error code is returned by this URL:
S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 404 | 1105 | Invalid domain |