An employee may be created with a status of 'Incomplete' by specifying at least the minimum fields:
{
"firstName": "String",
"surname": "String",
"identityCardNumber": "String",
"emailAddress": "String",
"gender": "String", // Male or Female
"nationality": "String",
"dateOfBirth": "YYYY-MM-DD",
"employmentType": "String", // Permanent or Part Time or Management or Contract or Intern or Other
"startDate": "YYYY-MM-DD",
"pcbTaxBorne": "bool",
"socsoType": "String", // NotApplicable or EmploymentInjuryAndInvalidityScheme or EmploymentInjuryScheme
"maritalStatus": "String", // Single or MarriedAndSpouseIsWorking or MarriedAndSpouseIsNotWorking or DivorcedOrWidowed
"residentialAddressType": "String", // LocalAddress or ForeignAddress or LocalCareOfAddress
"residentialSuburb": "String",
"residentialState": "String",
"residentialBlockNumber": "String",
"residentialUnitNumber": "String",
"residentialLevelNumber": "String",
"residentialPostCode": "String",
"residentialStreetAddress": "String",
"residentialStreetName": "String", // Resident
"residenceType": "String" // Malaysian or PermanentResidence or NonMalaysian
}
For an employee record to be considered 'Complete' the following groups of data are required:
Basic Details (Name, Start Date, Date of Birth, Gender and Address Details)
Pay Run Defaults (Default Pay Category, Pay Schedule and Location)
Locations (at least one)
Bank Account/s (at least one)
Request
Request body
The request body takes a complete employee model resource containing the following writable properties: