Audit Details of All Devices and a Specific Device
All Devices Audit Details
This API will retrieve audit details of all devices.
NOTE: This API is available as of Rev v7.24 and September 2018.
GET
/network/audit/accounts/{accountId}/devices
Request Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| fromDate | date-time | Valid start date | Yes |
| toDate | date-time | Valid end date. Must be greater than the start date. | Yes |
| nextContinuationToken | string | Id from subsequent request to get next set of records. | No |
Example Response
{
"general": {
"messageKey": "string",
"entityKey": "string",
"entityId": "string",
"when": "2018-08-30T13:20:01.796Z",
"principal": "string",
"previousState": "string",
"currentState": "string"
},
"header": {
"totalRecords": 0,
"nextFromDate": "2018-08-30T13:20:01.797Z",
"nextContinuationToken": "string"
}
}
Response Codes
| Code | Description |
|---|---|
| 401 | Unauthorized error |
| 500 | Internal server error |
Audit Details of Specified Device
This API will retrieve audit details of a specified device.
NOTE: This API is available as of Rev v7.24 and September 2018.
GET
/network/audit/accounts/{accountId}/devices/{deviceId}
Request Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| deviceId | string | ID of the device | Yes |
| fromDate | date-time | Valid start date | Yes |
| toDate | date-time | Valid end date. Must be greater than the start date. | Yes |
| nextContinuationToken | string | Id from subsequent request to get next set of records. | No |
Example Response
{
"general": {
"messageKey": "string",
"entityKey": "string",
"entityId": "string",
"when": "2018-08-30T13:20:01.802Z",
"principal": "string",
"previousState": "string",
"currentState": "string"
},
"header": {
"totalRecords": 0,
"nextFromDate": "2018-08-30T13:20:01.802Z",
"nextContinuationToken": "string"
}
}
Response Codes
| Code | Description |
|---|---|
| 401 | Unauthorized error |
| 500 | Internal server error |
- Audit All Devices
-
All Devices Audit Details
This API will retrieve audit details of all devices.
NOTE: This API is available as of Rev v7.24 and September 2018.
GET/network/audit/accounts/{accountId}/devicesRequest Parameters
Name Type Description Required fromDate date-time Valid start date Yes toDate date-time Valid end date. Must be greater than the start date. Yes nextContinuationToken string Id from subsequent request to get next set of records. No Example Response
{ "general": { "messageKey": "string", "entityKey": "string", "entityId": "string", "when": "2018-08-30T13:20:01.796Z", "principal": "string", "previousState": "string", "currentState": "string" }, "header": { "totalRecords": 0, "nextFromDate": "2018-08-30T13:20:01.797Z", "nextContinuationToken": "string" } }Response Codes
Code Description 401 Unauthorized error 500 Internal server error - Audit Specific Device
-
Audit Details of Specified Device
This API will retrieve audit details of a specified device.
NOTE: This API is available as of Rev v7.24 and September 2018.
GET/network/audit/accounts/{accountId}/devices/{deviceId}Request Parameters
Name Type Description Required deviceId string ID of the device Yes fromDate date-time Valid start date Yes toDate date-time Valid end date. Must be greater than the start date. Yes nextContinuationToken string Id from subsequent request to get next set of records. No Example Response
{ "general": { "messageKey": "string", "entityKey": "string", "entityId": "string", "when": "2018-08-30T13:20:01.802Z", "principal": "string", "previousState": "string", "currentState": "string" }, "header": { "totalRecords": 0, "nextFromDate": "2018-08-30T13:20:01.802Z", "nextContinuationToken": "string" } }Response Codes
Code Description 401 Unauthorized error 500 Internal server error