UpdateWorkerDto
fullNamestring
phoneNumberstring
emailstring
dateOfBirthstring
genderstring
workerCategorystring
Possible values: [DIRECT_CASUAL_LABORER, SUBCONTRACTOR_WORKER]
workerRoleIdstring
UUID of an existing worker role
customRoleNamestring
Custom role name when selecting "Other"
zoneIdstring
teamIdstring
shareFactornumber
Relative share of team commission (FR-LBR-060).
subcontractorIdstring
contractStartDatestring
contractTypestring
Possible values: [PERMANENT, TEMPORARY, SEASONAL]
bankAccountOrMobileMoneystring
emergencyContactstring
canWorkUndergroundboolean
nextOfKin object
namestringrequired
phonestringrequired
relationshipstringrequired
UpdateWorkerDto
{
"fullName": "string",
"phoneNumber": "string",
"email": "string",
"dateOfBirth": "string",
"gender": "string",
"workerCategory": "DIRECT_CASUAL_LABORER",
"workerRoleId": "string",
"customRoleName": "string",
"zoneId": "string",
"teamId": "string",
"shareFactor": 0,
"subcontractorId": "string",
"contractStartDate": "string",
"contractType": "PERMANENT",
"bankAccountOrMobileMoney": "string",
"emergencyContact": "string",
"canWorkUnderground": true,
"nextOfKin": {
"name": "string",
"phone": "string",
"relationship": "string"
}
}