SOC-4331 | 6. Implement the rest service for activities