AccessDateRange

  • Defines a date range using a start date and an end date, inclusive of both.

  • Dates are specified in YYYY-MM-DD format or using relative terms like NdaysAgo, yesterday, or today.

  • The startDate cannot be after the endDate, ensuring a valid date range.

  • Both startDate and endDate are interpreted based on the request's time zone.

A contiguous range of days: startDate, startDate + 1, ..., endDate.

JSON representation
{
  "startDate": string,
  "endDate": string
}
Fields
startDate

string

The inclusive start date for the query in the format YYYY-MM-DD. Cannot be after endDate. The format NdaysAgo, yesterday, or today is also accepted, and in that case, the date is inferred based on the current time in the request's time zone.

endDate

string

The inclusive end date for the query in the format YYYY-MM-DD. Cannot be before startDate. The format NdaysAgo, yesterday, or today is also accepted, and in that case, the date is inferred based on the current time in the request's time zone.