# Class: CompleteWorkItemRequest

## tibco.objectapi.service.request.CompleteWorkItemRequest

#### new CompleteWorkItemRequest(workItemPayload, id, version, getNextPiledItem)

Object CompleteWorkItemRequest Usage: `RestApiService.getWorkItemManagementService().completeWorkItem(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`workItemPayload` | tibco.objectapi.brm.WorkItemBody | The payload of the work item to complete.
`id` | number | (Java type: long) ID of the work item that is to be completed.
`version` | number | (Java type: long) (optional, default=latest version) Version of the work item.
`getNextPiledItem` | boolean | (Boolean) True = return the next piled work item.

Since:
  - 4.0.0