- Subcategories:
- Employment Contracts Descriptive Flexfields
- Employment Contracts Legislative Descriptive Flexfields
Contracts REST Endpoints
Workers/Work Relationships/Contracts
The contracts resource is a child of the workRelationships resource and you can create or edit a contract only with an assignment. The resource provides all the contracts of a worker as of the specified date. By default, the current date is retained.
- Create a worker contract
- Method: postPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/child/contracts
- Delete a worker contract
- Method: deletePath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/child/contracts/{contractsUniqID}
- Get a worker contract
- Method: getPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/child/contracts/{contractsUniqID}
- Get all worker contracts
- Method: getPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/child/contracts
- Update a worker contract
- Method: patchPath:
/hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/child/contracts/{contractsUniqID}