Implementation of find by id service for activity periods