Candidates & Configuration APIs - MULTI_SELECT Candidate Property Support [ALPHA]
Description
[ALPHA — Early Access] This feature is currently available to a limited set of customers as an early access alpha. It is under active development and may change or be removed without prior warning. Please don’t use this until the final release.
Extends Public API support for MULTI_SELECT candidate property type, covering both configuration management and candidate data read/write.
configuration-public-api
Added
MULTI_SELECTadded to theCandidatePropertyTypeenum.- New error code
CANDIDATE_PROPERTY_NOT_SELECTION_TYPE— indicates the candidate property is not a selection type. Replaces the legacyCANDIDATE_PROPERTY_NOT_SINGLE_SELECTcode.
Changed
- All
/configuration/candidate-properties/{id}/valuesendpoints now support bothSINGLE_SELECTandMULTI_SELECTproperty types (previouslySINGLE_SELECTonly). - Spec descriptions updated from "SINGLE_SELECT type" to "selection type" throughout.
Deprecation / backward compatibility
CANDIDATE_PROPERTY_NOT_SINGLE_SELECTis still returned alongsideCANDIDATE_PROPERTY_NOT_SELECTION_TYPEin theerrorsarray. The deprecated code appears first to preserveerrors[0]/errors.getFirst()compatibility. Clients should migrate toCANDIDATE_PROPERTY_NOT_SELECTION_TYPE.
candidates-public-api
Added
MULTI_SELECTadded to theCandidatePropertyTypeenum.selectedValueLabelsfield on property responses — array of{ id, label }objects representing selected options for selection-type fields.MULTI_SELECT_NOT_SUPPORTED_ON_DEPRECATED_ENDPOINTerror code (HTTP 400) returned when a MULTI_SELECT value is sent to the single-property deprecated endpoints; response directs clients to the batch endpoint.includeMultiSelectquery parameter onGET /candidates/{id}/jobs/{jobId}/properties:true: MULTI_SELECT properties are included in the responsefalse(default): MULTI_SELECT properties are excluded for backward compatibility
Changed
PUT /candidates/{id}/jobs/{jobId}/properties— accepts an array of option UUIDs forMULTI_SELECTfields; duplicates are rejected; omittingvalueor sending[]clears the field.GET /candidatessearch —propertyId/propertyValueIdfilters are compatible withMULTI_SELECTfields. MultiplepropertyValueIdvalues for the samepropertyIdare combined with OR; differentpropertyIdfilters are combined with AND.GET /candidates/{id}/jobs/{jobId}/properties— returnsselectedValueLabelsarray for selection-type fields. RequiresincludeMultiSelect=trueto include MULTI_SELECT fields.
Deprecated
valueLabel— useselectedValueLabels[0].labelforSINGLE_SELECTand iterateselectedValueLabelsforMULTI_SELECT.
Unsupported endpoints:
MULTI_SELECT doesn't support following endpoints:
-
GET /candidates/{id}/properties— does not supportMULTI_SELECTproperties and will never return them; useGET /candidates/{id}/jobs/{jobId}/properties?includeMultiSelect=trueinstead. -
Single-property endpoints were not extended with MULTI_SELECT and attempt to use will result in HTTP 400 and error code:
MULTI_SELECT_NOT_SUPPORTED_ON_DEPRECATED_ENDPOINT:PUT /candidates/{id}/properties/{propertyId}PUT /candidates/{id}/jobs/{jobId}/properties/{propertyId}