# Class: GetViewsForResourceRequest

## tibco.objectapi.service.request.GetViewsForResourceRequest

#### new GetViewsForResourceRequest(startPosition, numberOfItems)

Object GetViewsForResourceRequest Usage: `RestApiService.getWorkListService().getViewsForResource(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`startPosition` | number | (Java type: long) Position in the work view list from which to start this page. (The list is zero-based. To start at the first item, specify 0.)
`numberOfItems` | number | (Java type: long) Number of work views (in the work item list) to include in this page.

Since:
  - 4.0.0

### Members

#### apiVersion :number

Query parameter: 'apiVersion' (Java type: int) (optional, default="1") Version of the underlying WorkListServiceImpl API. If specified, the response contains details based on API version specified.

##### Type:

- number

Since:
  - 4.0.0
Default Value:
  - = 1