Date and time formatting for Protection Engine Rest API Events Report
search cancel

Date and time formatting for Protection Engine Rest API Events Report

book

Article ID: 403013

calendar_today

Updated On:

Products

Protection Engine for Cloud Services Protection Engine for NAS

Issue/Introduction

You need to know the formatting for startDate and endDate fields in the SPE Rest API Events Report /spe/api/v1/download-detailed-report.

Resolution

In the body of SPE Rest API Events Report

/spe/api/v1/download-detailed-report

the formatting is as follows

Body

{
  "startDate": "YYYY-MM-DDTHH:MM:SS",
  "endDate": "YYYY-MM-DDTHH:MM:SS",
  "type": "*"
}

Example

This example will generate an Events Report with data between June 01, 2025 12:00am and July 01, 2025 11:59pm. 

{
  "startDate": "2025-06-01T00:00:00",
  "endDate": "2025-07-01T23:59:59",
  "type": "*"
}

The type field can be used to narrow to Events Report to a specific type of event if desired.  * will gather all event types.

 

Additional Information