Forum Discussion

mayank's avatar
11 years ago

fetch last login users using rest api

i want to fetch last login users using rest api
  • dhiraj_gophane's avatar
    dhiraj_gophane
    11 years ago

    Hi Mayank,

    I think you are talking about logged in users for a particular time range.

     

    You can use following rest api.

     

    API call to get logged in users within given timeframe (also gives some limited user metrics)
    Endpoint: http:// community.lithium.com/restapi/vc/users/visited
    Parameters:

    date_start=2013-06-26T00:00Z (you can change the dates)
    date_end=2013-06-26T23:59Z
    restapi.response_style (optional): view
    restapi.format_detail (optional): full_list_element

     

    Hope its helpful.

    If so please accept it as solution.