replace request_period with start_time and end_time