# Class: PurgeCalendarEntriesRequest

## tibco.objectapi.service.request.PurgeCalendarEntriesRequest

#### new PurgeCalendarEntriesRequest(name, version, toDate)

Object PurgeCalendarEntriesRequest Usage: `RestApiService.getWorkCalService().purgeCalendarEntries(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`name` | string | Name of the calendar from which the exclusions are being purged(within the given namespace).
`version` | number | (Java type: int) Version number used to detect concurrent updates to the same calendar; also known as optimistic locking.
`toDate` | string | The date up to which all calendar exclusions are to be deleted.

Since:
  - 4.0.0

### Members

#### namespace :string

Query parameter: 'namespace' (optional) The combination of namespace and name uniquely identifies a calendar. Note that the default SYSTEM calendar has no namespace.

##### Type:

- string

Since:
  - 4.0.0