- Subcategories:
- Assignments
- Contracts
- Work Relationship Descriptive Flexfields
- Work Relationship Legislative Descriptive Flexfields
Work Relationships REST Endpoints
Workers/Work Relationships
The workRelationships resource is a child of the workers resource. It provides all the work relationships of a worker as of the specified date. By default, the current date is retained.
- Add a temporary assignment
- Method: postPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/action/addTemporaryAssignment - Cancel a work relationship
- Method: postPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/action/cancelWorkRelationship - Change the legal employer or create a temporary assignment
- Method: postPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/action/changeLegalEmployer - Change the primary flag of a work relationship
- Method: postPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/action/changePrimaryFlag - Change the start date of a work relationship
- Method: postPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/action/changeStartDate - Correct a worker termination
- Method: postPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/action/correctTermination - Create a worker work relationship
- Method: postPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships - Get a worker work relationship
- Method: getPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId} - Get all worker work relationships
- Method: getPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships - Reverse a worker termination
- Method: postPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/action/reverseTermination - Terminate a worker
- Method: postPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/action/terminate - Update a worker work relationship
- Method: patchPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}