Get /user/dashboard/scan-summary/per-day
Description
Returns a summary of the number of scans per hour over a date range, grouped by the start of the hour.
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiNAC |
Content-Type (option 1) | application/json | String | |
Content-Type (option 2) |
application/xml |
|
|
Request Body Parameters
Name |
Required |
Type |
---|---|---|
startDate | Yes | Integer |
endDate | Yes | Integer |
type | Optional | Integer |
platform | Optional | String |
scan | Optional | String |
Sample Request
Request URL |
GET https://10.106.94.152:8443/api/v2/user/dashboard/scan-summary/per-day |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json
|
Request Body |
startDate: xxxxxxxxx endDate: xxxxxxxxx |
Sample Response
{
"status": "success",
"errorMessage": null,
"results": [
{
"date": "2024-04-16T23:15:45.226Z",
"passed": 0,
"failed": 0,
"scriptFailed": 0,
"warning": 0
}
]
}