How to set Timezone values for user aggregate queries

How to set PST -8:00, seattle timezone value for timezone parameter in user aggregate query. The user aggregate query page doesn't have any example for this parameter. Also is there is a way to dynamically change the timezone during Daylight Saving?

https://developer.genesys.cloud/api/rest/v2/analytics/user_aggregate

times are already expressed as timestamp with offset, so DST changes central from -6 to -5 automatically for example;

timeZone
(string) Time zone context used to calculate response intervals (this allows resolving DST changes). The interval offset is used even when timeZone is specified. Default is UTC. Time zones are represented as a string of the zone name as found in the IANA time zone database. For example: UTC, Etc/UTC, or Europe/London.

If US/Pacific doesn't work America/Los_Angeles should.

1 Like

Is filter needed for user aggregate query. I'm trying to retrieve data for all the user id for a specific date and it asks for User filter. But the example says filter is an optional parameter.

My organization has to manually iterate through users 20 at a time, pretty sure filter is mandatory and the amount you can ask for is limited by the # of intervals your granularity will result in. It'd be nice if there was Jobs endpoint to ask for more data per round trip.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.