In the getActivity api response there is only start_date and no end_date. Currently I need to know the time when the most users finish their activity. i want to know exactly total time from start to end activity (moving time, elapsed_time, pause activity time )
I believe you've flipped the meaning of moving_time and elapsed_time.
elapsed_time is the total amount of time from when the activity started to when it ended, including all pauses.
moving_time is the number of seconds spent actively moving (elapsed_time - paused time)
Both moving_time and elapsed_time are provided in getActivity. So for the requested information: