public function getById(array $params = [], $id)
    {
        $this->getLogger()->info('Getting event with ID ' . $id);
        $entries = [];
        # need at least display group (always events) and to, from (other dayparts)
        $response = $this->doGet('/schedule/data/events', $params);

        foreach ($response['result'] as $item) {
            if($item['id'] === $id){
            $entries[] = clone $this->hydrate($item);
        }
            else
                throw new XiboApiException('Provided eventId not found ' . $id);
        }
        return $entries;
    }