Buzz API

GetUserActivity - Date Range

Follow
Answered
Chris Lyles

I need some assistance figuring out the format for the start and end dates when calling the "getuseractivity" api.  

I've tried the following:

getuseractivity&userid=<userid>&startdate='2017-01-01T00:00:00.000Z'&enddate='2017-07-26T00:00:00.000Z'
getuseractivity&userid=<userid>&startdate='2017-01-01 00:00:00'&enddate='2017-07-26 00:00:00'
getuseractivity&userid=<userid>&startdate='2017-01-0100:00:00'&enddate='2017-07-2600:00:00'

getuseractivity&userid=<userid>&startdate='2017-01-01'&enddate='2017-07-26'

 

Thanks.

 

Comments (2)

Sort by
Brad Marshall
  • Agilix team member

Your first example is the closest, but drop the quotation marks.

getuseractivity&userid=<userid>&startdate=2017-01-01T00:00:00.000Z&enddate=2017-07-26T00:00:00.000Z

Also, if you don't care about the hours/minutes, you can omit them. For example:

getuseractivity&userid=<userid>&startdate=2017-01-01&enddate=2017-07-26
1 Comment actions Permalink
Chris Lyles

Thanks!

0 Comment actions Permalink
Please sign in to leave a comment.