# Class: EventRequest

## tibco.objectapi.service.request.EventRequest

#### new EventRequest(batch)

Object EventRequest Usage: `RestApiService.getAuditService().event(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`batch` | tibco.objectapi.ec.base.EventBatch | Defines the content of the event or events being posted.

Since:
  - 4.0.0

### Members

#### errorEvent :boolean

Query parameter: 'iserrorevent' (optional) Whether these events are error events.

##### Type:

- boolean

Since:
  - 4.0.0
Default Value:
  - = false