# Class: OpenWorkItemClientRequest

## tibco.objectapi.service.request.OpenWorkItemClientRequest

#### new OpenWorkItemClientRequest(id, userId)

Object OpenWorkItemClientRequest Usage: `RestApiService.getClientService().openWorkItem(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`id` | number | (Java type: long) ID of the work item to be opened.
`userId` | string | GUID of the resource that wants to open the work item.

Since:
  - 4.0.0

### Members

#### channelId :string

Query parameter: 'channelid' (optional, default=openspaceGWTPull_DefaultChannel) Identifier of the channel to which the requesting client application is bound.

##### Type:

- string

Since:
  - 4.0.0
Default Value:
  - = openspaceGWTPull_DefaultChannel

#### channelType :string

Query parameter: 'channeltype' (optional, default=openspaceChannel) Enumerated value defining the channel type (technology) associated with the specified channelid. The valid entries are:

- openspaceChannel
- MobileChannel
- GIChannel
- EmailChannel

For more information, see "Identifying the Client Channel in a Service Call" in the developer guide.

##### Type:

- string

Since:
  - 4.0.0
Default Value:
  - = openspaceChannel

#### responseType :string

Query parameter: 'responsetype' (optional) Enumerated value defining the format of the data payload to be used in the response message - either XML or JSON.

##### Type:

- string

Since:
  - 4.0.0
Default Value:
  - = JSON

#### version :number

Query parameter: 'version' (Java type: long) (optional) Version number of the work item to be opened. If set to -1 or omitted, the latest version of the work item is used.

##### Type:

- number

Since:
  - 4.0.0
Default Value:
  - = -1