# Class: PreviewWorkItemRequestType

## tibco.objectapi.wp.PreviewWorkItemRequestType

#### new PreviewWorkItemRequestType()

Constructs a new PreviewWorkItemRequestType.

The following features are supported:

- `Payload Mode`
- `Preview Work Item From List`
- `Channel Id`
- `Channel Type`

### Members

#### channelId :string

Identifier of the channel to which the requesting client application is bound. See "Identifying the Client Channel in a Service Call" in the BPM Developer Guide for more information. This property holds the value of the 'Channel Id' attribute.

##### Type:

- string

#### channelType :tibco.objectapi.common.channeltype.ChannelType

Enumerated value defining the channel type (technology) associated with the specified channelId. One of: - openspaceChannel - MobileChannel - GIChannel - EmailChannel See "Identifying the Client Channel in a Service Call" in the BPM Developer Guide for more information. Note: JSPChannel, PageflowChannel and RssChannel are currently not supported. This property holds the value of the 'Channel Type' attribute.

##### Type:

- tibco.objectapi.common.channeltype.ChannelType

#### payloadMode :tibco.objectapi.common.datafeed.PayloadModeType

Enumerated value defining the format of the data payload to be used in the response message (XML or JSON). If none is specified , it defaults to JSON If not specified, the default value is JSON. (RSS is currently not supported.) This property holds the value of the 'Payload Mode' attribute.

##### Type:

- tibco.objectapi.common.datafeed.PayloadModeType

#### previewWorkItemFromList :tibco.objectapi.wp.PreviewWorkItemFromListType

Request element for previewWorkItemFromList operation. This property holds the value of the 'Preview Work Item From List' containment reference.

##### Type:

- tibco.objectapi.wp.PreviewWorkItemFromListType