Contracts REST Endpoints

Workers/Work Relationships/Contracts
The contracts resource is a child of the workRelationships resource. It provides all the contracts of a worker as of the specified date. By default, the current date is retained.
Create a worker contract
Method: post
Path: /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/child/contracts
Delete a worker contract
Method: delete
Path: /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/child/contracts/{contractsUniqID}
Get a worker contract
Method: get
Path: /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/child/contracts/{contractsUniqID}
Get all worker contracts
Method: get
Path: /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/child/contracts
Update a worker contract
Method: patch
Path: /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/workRelationships/{PeriodOfServiceId}/child/contracts/{contractsUniqID}