# Class: AddCurrentResourceToViewRequest

## tibco.objectapi.service.request.AddCurrentResourceToViewRequest

#### new AddCurrentResourceToViewRequest(viewId)

Object AddCurrentResourceToViewRequest Usage: `RestApiService.getWorkListService().addCurrentResourceToView(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`viewId` | number | (Java type: long) The unique ID of the work view.

Since:
  - 4.0.0

### Members

#### apiVersion :number

Query parameter: 'apiversion' (Java type: short) (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