Forum Discussion
JakeS
Lithium Alumni (Retired)
Hi Dhiraj, I want to make sure I understand your case; are you making this query during the time period between the start and end dates, i.e. in your example you would make that query some time during 2013-06-29? And are you referring to users who log in after the end of the time period, or after you make the query?
dhiraj_gophane
12 years agoLeader
hi Jake,
I am making the call after the time period only.
i.e. after the date_end parameter.
but if the user logins "after the end of time period" then the user is excluded from the response even if he was logged in within that time period.
example:
if user-A logins on date 2013-06-29 and again if he logins on 2013-06-30.
Then if I make a call to retrieve users visited on date 2013-06-29, then User-A should be there, right?
but if I make a call using following API then I don't get User-A in the response.
This is because User-A logins on 2013-06-30.
API call to get Active users within given timeframe (also gives some limited user metrics)
Endpoint: http:// <community_name>.stage.lithium.com/restapi/vc/users/visited
Parameters:
date_start=2013-06-29T00:00Z (you can change the dates)
date_end=2013-06-29T23:59Z
I am making the call after the time period only.
i.e. after the date_end parameter.
but if the user logins "after the end of time period" then the user is excluded from the response even if he was logged in within that time period.
example:
if user-A logins on date 2013-06-29 and again if he logins on 2013-06-30.
Then if I make a call to retrieve users visited on date 2013-06-29, then User-A should be there, right?
but if I make a call using following API then I don't get User-A in the response.
This is because User-A logins on 2013-06-30.
API call to get Active users within given timeframe (also gives some limited user metrics)
Endpoint: http:// <community_name>.stage.lithium.com/restapi/vc/users/visited
Parameters:
date_start=2013-06-29T00:00Z (you can change the dates)
date_end=2013-06-29T23:59Z
Related Content
- 2 years ago
- 10 years ago
- 8 years ago