AccessDateRange

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

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

  • startDate cannot be after endDate, and endDate cannot be before startDate.

  • The date values 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.