public function getById($activityId, array $queryParams = [])
    {
        $response = $this->api->activities()->getById($activityId, $queryParams);

        return new ActivityResponse($response);
    }
public function getById($activityId, array $queryParams = [])
    {
        $response = $this->api->activities()->getById($activityId, $queryParams);

        return new ActivityResponse($response);
    }
public function getById ( $ activityId , array $ queryParams = [ ] ) { $ response = $ this -> api -> activities ( ) -> getById ( $ activityId , $ queryParams ) ; return new ActivityResponse ( $ response ) ; }
Get activity by id

@param int $activityId
@param array $queryParams
@return ActivityResponse
Get activity by id