|
Http Verb |
POST |
|---|---|
|
Url |
/workforce/resources/r1/resources/{resourceId}/qualifications |
|
Permissions required |
|
|
Personally Identifiable Information (PII) |
No |
|
Sensitive Information |
No |
|
Last Modified Version |
r1 |
|
Released since |
|
|
Deprecated since |
|
|
Removed since |
|
|
Tech Tags |
|
Business Logic
This API creates a new relationships between a resource and qualification.
Validations:
-
resource is required (validateNotNullField) and must exist (ResourceLoadEvent existence check).
-
qualification is required and loaded (QualificationLoadEvent); if not active, it throws QUALIFICATION_NOT_ACTIVE.
-
startDate is required.
-
endDate is optional; if missing, it is set to DateUtils.DATE_MAX.
-
On insert, it rejects duplicates (VALID_QUALIFICATION_ALREADY_PRESENT) if same resource/qualification/date-range already exists.
-
If qualification-alignment(
company.fsm.qualifications.enableAlignment) is enabled, it blocks changes for loan users withAUSECOPYCOMPETENCES= true (C270_1622).
Path Parameters
|
Field |
Note |
|---|---|
|
resourceId |
|
Header Parameters
Default.
Request Body Parameters
|
Field |
Validations |
Note |
|---|---|---|
|
qualificationId |
Mandatory |
|
|
startDate |
Mandatory |
The time is discarded and set to midnight because the validity field relates to the day, not the hour. |
|
endDate |
|
The time is discarded and set to midnight because the validity field relates to the day, not the hour. |
Response documentation
Response error codes
BASE_0001, NOT_FOUND, BASE_0003, RESOURCE_011,