# Class: LinkCaseRequest

## tibco.objectapi.service.request.LinkCaseRequest

#### new LinkCaseRequest(caseReference, roleName)

Object LinkCaseRequest Usage: `RestApiService.getGlobaldataService().linkCase(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`caseReference` | string | The case reference of the case data you want to associate with other case data. For example, BDS-2-com.example.gddemo.Customer-1-1. You must only specify one. You can obtain the case reference by using findAllCases.
`roleName` | string | The name of the association. For example, claim.

Since:
  - 4.0.0

### Members

#### caseRefs :Array.<string>

Query parameter: 'caseref' (Java type: List) The case reference of the case data you want to associate the case data with. For example, BDS-2-com.example.gddemo.Claim-4-0. At least one case reference must be specified. The maximum number of case references that can be specified is limited by the limit of the path length. If you want to link many objects, it is best to use the linkCase in which you can pass an array of case references.

##### Type:

- Array.<string>

Since:
  - 4.0.0