cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
457
Views
0
Helpful
1
Replies

Prime API filter on clientSessions

drhodes
Level 1
Level 1

Hi,

 

I am getting results from the API for clientSessions using .full=true, but they are not the latest results.  I have tried using a filter, but get back a 400 result I am guessing from my syntax.  I want to get back the last day's results.  I've tried the syntax below, with a dummy date.  The API says the clientSessions is filterable.  I have tried with sessionEndTime by itself, and also with the framing clientSessionsDTO attached.

 

The uri I am using is:

/data/ClientSessions.json?.full=true&clientSessionsDTO.sessionEndTime=gt("2020-06-06")'

 

Any hints would be great.

 

thanks

 

David

1 Reply 1

drhodes
Level 1
Level 1

ok, got it - needed to use unix time (in ms).