POST admin/employee/add

Request Information

URI Parameters

None.

Body Parameters

EmployeeVm
NameDescriptionTypeAdditional information
OrganisationId

globally unique identifier

None.

OrganisationCode

string

None.

OrganisationName

string

None.

EmployeeId

string

None.

BirthDate

date

None.

BirthDateStr

string

None.

BirthDateUpdateStr

string

None.

BirthDateFormStr

string

None.

ContactNumber

string

None.

NRIC

string

None.

Department

string

None.

CompanyJoinDate

date

None.

CompanyJoinDateStr

string

None.

CompanyJoinDateUpdateStr

string

None.

CompanyJoinDateFormStr

string

None.

MaritalStatus

boolean

None.

NumberOfChildren

integer

None.

LeaveEntitlementTypeId

globally unique identifier

None.

LeaveEntitlementType

string

None.

LeaveEntitlementOrganisationType

string

None.

ServiceLength

integer

None.

Gender

string

None.

PlaceOfBirth

string

None.

Nationality

string

None.

CitizenshipId

globally unique identifier

None.

CitizenshipName

string

None.

PR_IssuanceDate

date

None.

PR_IssuanceDateStr

string

None.

PR_IssuanceDateUpdateStr

string

None.

PR_IssuanceDateFormStr

string

None.

Religion

string

None.

Addresses

Collection of EmployeeAddressVm

None.

ProbationalPeriod

string

None.

Occupation

string

None.

ConfirmationDate

date

None.

ConfirmationDateStr

string

None.

ConfirmationDateUpdateStr

string

None.

ConfirmationDateFormStr

string

None.

ResignationDate

date

None.

ResignationDateStr

string

None.

ResignationDateUpdateStr

string

None.

ResignationDateFormStr

string

None.

BasicSalary

decimal number

None.

EmployeeCpf

decimal number

None.

EmployerCpf

decimal number

None.

SalaryEffectiveDate

date

None.

SalaryEffectiveDateStr

string

None.

SalaryEffectiveDateUpdateStr

string

None.

SalaryEffectiveDateFormStr

string

None.

Banks

Collection of EmployeeBankVm

None.

Allowances

Collection of EmployeeAllowanceVm

None.

Deductions

Collection of EmployeeDeductionVm

None.

FundContributionType

string

None.

ForeignWorkerLevy

decimal number

None.

Remarks

string

None.

Username

string

None.

Name

string

None.

Email

string

None.

Role

string

None.

Password

string

None.

PasswordHash

string

None.

Active

boolean

None.

CreatedOn

date

None.

CreatedOnStr

string

None.

ModifiedOn

date

None.

ModifiedOnStr

string

None.

CreatedBy

string

None.

ModifiedBy

string

None.

Token

string

None.

Id

string

None.

CurrentPage

integer

None.

SizePerPage

integer

None.

Date

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrganisationId": "68f15052-9aba-4ebf-bc62-e96fc565f1cc",
  "OrganisationCode": "sample string 1",
  "OrganisationName": "sample string 2",
  "EmployeeId": "sample string 3",
  "BirthDate": "2026-01-01T02:50:11.642665+08:00",
  "BirthDateStr": "01 January 2026",
  "BirthDateUpdateStr": "2026-01-01",
  "BirthDateFormStr": "sample string 4",
  "ContactNumber": "sample string 5",
  "NRIC": "sample string 6",
  "Department": "sample string 7",
  "CompanyJoinDate": "2026-01-01T02:50:11.642665+08:00",
  "CompanyJoinDateStr": "01 January 2026",
  "CompanyJoinDateUpdateStr": "2026-01-01",
  "CompanyJoinDateFormStr": "sample string 8",
  "MaritalStatus": true,
  "NumberOfChildren": 1,
  "LeaveEntitlementTypeId": "7de4e261-24f0-4eb5-81f4-e428561b8a55",
  "LeaveEntitlementType": "sample string 10",
  "LeaveEntitlementOrganisationType": "sample string 11",
  "ServiceLength": 1,
  "Gender": "sample string 12",
  "PlaceOfBirth": "sample string 13",
  "Nationality": "sample string 14",
  "CitizenshipId": "171c4f3d-c1c0-45b5-b626-6b16458644d4",
  "CitizenshipName": "sample string 15",
  "PR_IssuanceDate": "2026-01-01T02:50:11.642665+08:00",
  "PR_IssuanceDateStr": "01 January 2026",
  "PR_IssuanceDateUpdateStr": "2026-01-01",
  "PR_IssuanceDateFormStr": "sample string 16",
  "Religion": "sample string 17",
  "Addresses": [
    {
      "Id": "718a498b-1433-420b-8d01-964a571468d0",
      "Address": "sample string 1"
    },
    {
      "Id": "718a498b-1433-420b-8d01-964a571468d0",
      "Address": "sample string 1"
    }
  ],
  "ProbationalPeriod": "sample string 18",
  "Occupation": "sample string 19",
  "ConfirmationDate": "2026-01-01T02:50:11.642665+08:00",
  "ConfirmationDateStr": "01 January 2026",
  "ConfirmationDateUpdateStr": "2026-01-01",
  "ConfirmationDateFormStr": "sample string 20",
  "ResignationDate": "2026-01-01T02:50:11.642665+08:00",
  "ResignationDateStr": "01 January 2026",
  "ResignationDateUpdateStr": "2026-01-01",
  "ResignationDateFormStr": "sample string 21",
  "BasicSalary": 1.1,
  "EmployeeCpf": 1.1,
  "EmployerCpf": 1.1,
  "SalaryEffectiveDate": "2026-01-01T02:50:11.642665+08:00",
  "SalaryEffectiveDateStr": "01 January 2026",
  "SalaryEffectiveDateUpdateStr": "2026-01-01",
  "SalaryEffectiveDateFormStr": "sample string 22",
  "Banks": [
    {
      "Id": "b0e18d12-e183-478f-9771-67aee035844e",
      "Name": "sample string 1",
      "AccountNo": "sample string 2"
    },
    {
      "Id": "b0e18d12-e183-478f-9771-67aee035844e",
      "Name": "sample string 1",
      "AccountNo": "sample string 2"
    }
  ],
  "Allowances": [
    {
      "Id": "5c0a8fc6-bed9-4713-9f4c-4b6cf40b4135",
      "Name": "sample string 1",
      "Amount": 1.1
    },
    {
      "Id": "5c0a8fc6-bed9-4713-9f4c-4b6cf40b4135",
      "Name": "sample string 1",
      "Amount": 1.1
    }
  ],
  "Deductions": [
    {
      "Id": "222dabff-733a-4615-8446-7752bad8cd41",
      "Name": "sample string 1",
      "Amount": 1.1
    },
    {
      "Id": "222dabff-733a-4615-8446-7752bad8cd41",
      "Name": "sample string 1",
      "Amount": 1.1
    }
  ],
  "FundContributionType": "sample string 23",
  "ForeignWorkerLevy": 1.1,
  "Remarks": "sample string 24",
  "Username": "sample string 25",
  "Name": "sample string 26",
  "Email": "sample string 27",
  "Role": "sample string 28",
  "Password": "sample string 29",
  "PasswordHash": "sample string 30",
  "Active": true,
  "CreatedOn": "2026-01-01T02:50:11.642665+08:00",
  "CreatedOnStr": "01 January 2026 02:50:11",
  "ModifiedOn": "2026-01-01T02:50:11.642665+08:00",
  "ModifiedOnStr": "01 January 2026 02:50:11",
  "CreatedBy": "sample string 34",
  "ModifiedBy": "sample string 35",
  "Token": "sample string 36",
  "Id": "sample string 37",
  "CurrentPage": 38,
  "SizePerPage": 39,
  "Date": "sample string 40"
}

application/xml, text/xml

Sample:
<EmployeeVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LeaveManagementSystem.ViewModels">
  <CurrentPage>38</CurrentPage>
  <Date>sample string 40</Date>
  <Id>sample string 37</Id>
  <SizePerPage>39</SizePerPage>
  <Token>sample string 36</Token>
  <Active>true</Active>
  <CreatedBy>sample string 34</CreatedBy>
  <CreatedOn>2026-01-01T02:50:11.642665+08:00</CreatedOn>
  <Email>sample string 27</Email>
  <ModifiedBy>sample string 35</ModifiedBy>
  <ModifiedOn>2026-01-01T02:50:11.642665+08:00</ModifiedOn>
  <Name>sample string 26</Name>
  <Password>sample string 29</Password>
  <PasswordHash>sample string 30</PasswordHash>
  <Role>sample string 28</Role>
  <Username>sample string 25</Username>
  <Addresses>
    <EmployeeAddressVm>
      <Address>sample string 1</Address>
      <Id>718a498b-1433-420b-8d01-964a571468d0</Id>
    </EmployeeAddressVm>
    <EmployeeAddressVm>
      <Address>sample string 1</Address>
      <Id>718a498b-1433-420b-8d01-964a571468d0</Id>
    </EmployeeAddressVm>
  </Addresses>
  <Allowances>
    <EmployeeAllowanceVm>
      <Amount>1.1</Amount>
      <Id>5c0a8fc6-bed9-4713-9f4c-4b6cf40b4135</Id>
      <Name>sample string 1</Name>
    </EmployeeAllowanceVm>
    <EmployeeAllowanceVm>
      <Amount>1.1</Amount>
      <Id>5c0a8fc6-bed9-4713-9f4c-4b6cf40b4135</Id>
      <Name>sample string 1</Name>
    </EmployeeAllowanceVm>
  </Allowances>
  <Banks>
    <EmployeeBankVm>
      <AccountNo>sample string 2</AccountNo>
      <Id>b0e18d12-e183-478f-9771-67aee035844e</Id>
      <Name>sample string 1</Name>
    </EmployeeBankVm>
    <EmployeeBankVm>
      <AccountNo>sample string 2</AccountNo>
      <Id>b0e18d12-e183-478f-9771-67aee035844e</Id>
      <Name>sample string 1</Name>
    </EmployeeBankVm>
  </Banks>
  <BasicSalary>1.1</BasicSalary>
  <BirthDate>2026-01-01T02:50:11.642665+08:00</BirthDate>
  <BirthDateFormStr>sample string 4</BirthDateFormStr>
  <CitizenshipId>171c4f3d-c1c0-45b5-b626-6b16458644d4</CitizenshipId>
  <CitizenshipName>sample string 15</CitizenshipName>
  <CompanyJoinDate>2026-01-01T02:50:11.642665+08:00</CompanyJoinDate>
  <CompanyJoinDateFormStr>sample string 8</CompanyJoinDateFormStr>
  <ConfirmationDate>2026-01-01T02:50:11.642665+08:00</ConfirmationDate>
  <ConfirmationDateFormStr>sample string 20</ConfirmationDateFormStr>
  <ContactNumber>sample string 5</ContactNumber>
  <Deductions>
    <EmployeeDeductionVm>
      <Amount>1.1</Amount>
      <Id>222dabff-733a-4615-8446-7752bad8cd41</Id>
      <Name>sample string 1</Name>
    </EmployeeDeductionVm>
    <EmployeeDeductionVm>
      <Amount>1.1</Amount>
      <Id>222dabff-733a-4615-8446-7752bad8cd41</Id>
      <Name>sample string 1</Name>
    </EmployeeDeductionVm>
  </Deductions>
  <Department>sample string 7</Department>
  <EmployeeCpf>1.1</EmployeeCpf>
  <EmployeeId>sample string 3</EmployeeId>
  <EmployerCpf>1.1</EmployerCpf>
  <ForeignWorkerLevy>1.1</ForeignWorkerLevy>
  <FundContributionType>sample string 23</FundContributionType>
  <Gender>sample string 12</Gender>
  <LeaveEntitlementOrganisationType>sample string 11</LeaveEntitlementOrganisationType>
  <LeaveEntitlementType>sample string 10</LeaveEntitlementType>
  <LeaveEntitlementTypeId>7de4e261-24f0-4eb5-81f4-e428561b8a55</LeaveEntitlementTypeId>
  <MaritalStatus>true</MaritalStatus>
  <NRIC>sample string 6</NRIC>
  <Nationality>sample string 14</Nationality>
  <NumberOfChildren>1</NumberOfChildren>
  <Occupation>sample string 19</Occupation>
  <OrganisationCode>sample string 1</OrganisationCode>
  <OrganisationId>68f15052-9aba-4ebf-bc62-e96fc565f1cc</OrganisationId>
  <OrganisationName>sample string 2</OrganisationName>
  <PR_IssuanceDate>2026-01-01T02:50:11.642665+08:00</PR_IssuanceDate>
  <PR_IssuanceDateFormStr>sample string 16</PR_IssuanceDateFormStr>
  <PlaceOfBirth>sample string 13</PlaceOfBirth>
  <ProbationalPeriod>sample string 18</ProbationalPeriod>
  <Religion>sample string 17</Religion>
  <Remarks>sample string 24</Remarks>
  <ResignationDate>2026-01-01T02:50:11.642665+08:00</ResignationDate>
  <ResignationDateFormStr>sample string 21</ResignationDateFormStr>
  <SalaryEffectiveDate>2026-01-01T02:50:11.642665+08:00</SalaryEffectiveDate>
  <SalaryEffectiveDateFormStr>sample string 22</SalaryEffectiveDateFormStr>
  <ServiceLength>1</ServiceLength>
</EmployeeVm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.