Citizenships REST Endpoints

Workers/Citizenships
The citizenships resource is a child of the workers resource. It provides all the citizenships of a worker as of the specified date. By default, the current date is retained.
Create a worker citizenship
Method: post
Path: /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/citizenships
Delete a worker citizenship
Method: delete
Path: /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/citizenships/{CitizenshipId}
Get a worker citizenship
Method: get
Path: /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/citizenships/{CitizenshipId}
Get all worker citizenships
Method: get
Path: /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/citizenships
Update a worker citizenship
Method: patch
Path: /hcmRestApi/resources/11.13.18.05/workers/{workersUniqID}/child/citizenships/{CitizenshipId}