# Class: UpdateCaseRequest

## tibco.objectapi.service.request.UpdateCaseRequest

#### new UpdateCaseRequest(body, caseReference)

Object UpdateCaseRequest Usage: `RestApiService.getGlobaldataService().updateCase(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`body` | tibco.objectapi.bds.rest.CasePayloadType | The case objects to be updated. Your request must be constructed to match the structure of the case data defined in your business object model. There can be multiple case data in the request.
`caseReference` | string | The reference to the version of the case object that was returned by the readCase method. It is important that the case reference returned by the readCase method is used so that the optimistic locking works correctly.

Since:
  - 4.0.0