# Class: SetDeadlineExpirationRequest

## tibco.objectapi.service.request.SetDeadlineExpirationRequest

#### new SetDeadlineExpirationRequest(expirationTime, activityId)

Object SetDeadlineExpirationRequest Usage: `RestApiService.getProcessManagementService().setDeadlineExpiration(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`expirationTime` | string | The deadline value to set on the activity, in the format specified in the aFormat parameter. The current deadline date/time value for an activity can be obtained from getActivityInstanceStatus.
`activityId` | string | ID of the activity for which the deadline expiration is to be set. For example, the XPDL ID assigned by TIBCO Business Studio's Process Editor. Can be obtained from getActivityInstanceStatus.

Since:
  - 4.0.0

### Members

#### format :string

Query parameter: 'format' (optional) The format of the expiration date and time.

##### Type:

- string

Since:
  - 4.0.0
Default Value:
  - = yyyy-MM-dd HH:mm:ss.SSS