# Class: SetPositionCandidateQueryRequest

## tibco.objectapi.service.request.SetPositionCandidateQueryRequest

#### new SetPositionCandidateQueryRequest(query, positionGuid, containerId, searchScope)

Object SetPositionCandidateQueryRequest Usage: `RestApiService.getOrgModelService().setPositionCandidateQuery(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`query` | string | The LDAP query that identifies the candidate resources.
`positionGuid` | string | Identifier of the position to which the candidate query is to be assigned.
`containerId` | number | (Java type: long) Identifier of the LDAP container in which the LDAP search is to be performed, and to which generated resources should be assigned.
`searchScope` | string | The scope on which an LDAP search is to be performed. The valid entries are either: ONELEVEL (only the elements directly within the Base-DN level are searched) or SUBTREE (elements directly within, and below, the Base-DN level are searched).

Since:
  - 4.0.0

### Members

#### baseDn :string

Query parameter: 'basedn' (optional) The base-DN to which the LDAP search is to be restricted.

##### Type:

- string

Since:
  - 4.0.0