# getEventById (method)

> 지정한 ID에 해당하는 일정(Event) 정보 객체를 반환합니다.

### Syntax

    EventApi getEventById( id );

### Parameters

Name | Type | Required | Description
--- | --- | --- | ---
id | `string` | 필수 | Event의 id

### Return Value

EventApi : 일정(Event) 객체

### Example

    var objEvent = IBCalendar.get("calendar1").getEventById("event1");

    console.log(objEvent.id);
    console.log(objEvent.groupId);
    console.log(objEvent.title);
    console.log(objEvent.allDay);

### Since

product | version | desc
--- | --- | ---
core | 1.5.0.0 | 기능 추가