Function getActivityLogApi