POST api/v1/employee
Request Information
URI Parameters
None.
Body Parameters
HR_EmployeeVM| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeId | integer |
None. |
|
| firstName | string |
None. |
|
| middleName | string |
None. |
|
| lastName | string |
None. |
|
| name | string |
None. |
|
| gender | string |
None. |
|
| dateOfBirth | date |
None. |
|
| placeOfBirth | string |
None. |
|
| nativeLaguage | string |
None. |
|
| creationDate | date |
None. |
|
| createrUserId | integer |
None. |
|
| isModefied | boolean |
None. |
|
| departmentId | integer |
None. |
|
| modificationDate | date |
None. |
|
| modifierUserId | integer |
None. |
|
| isDeleted | boolean |
None. |
|
| deletionDate | date |
None. |
|
| deleterUserId | integer |
None. |
|
| isApproved | boolean |
None. |
|
| approveDate | date |
None. |
|
| approverUserId | integer |
None. |
|
| statusId | integer |
None. |
|
| stateId | integer |
None. |
|
| localGovtId | integer |
None. |
|
| religionId | integer |
None. |
|
| tenantId | integer |
None. |
|
| nationaliltyId | integer |
None. |
|
| string |
None. |
||
| phoneNumber | string |
None. |
|
| designationId | integer |
None. |
|
| employeeNumber | string |
None. |
|
| titleId | integer |
None. |
|
| employeeTypeId | integer |
None. |
|
| maritalStatusId | integer |
None. |
|
| createdBy | integer |
None. |
|
| position | string |
None. |
|
| designationName | string |
None. |
|
| localGovtName | string |
None. |
|
| religionName | string |
None. |
|
| nationaliltyName | string |
None. |
|
| titleName | string |
None. |
|
| employeeTypeName | string |
None. |
|
| maritalStatusName | string |
None. |
|
| statusName | string |
None. |
|
| stateName | string |
None. |
|
| stateNonNig | string |
None. |
|
| lgaNonNig | string |
None. |
|
| departmentName | string |
None. |
|
| academicFacultyId | integer |
None. |
|
| academicDepartmentId | integer |
None. |
|
| departmentUnitId | integer |
None. |
|
| password | string |
None. |
|
| roleId | integer |
None. |
|
| attendanceStatusName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"employeeId": 1,
"firstName": "sample string 2",
"middleName": "sample string 3",
"lastName": "sample string 4",
"name": "sample string 5",
"gender": "sample string 6",
"dateOfBirth": "2025-10-27T09:28:16.4389488-07:00",
"placeOfBirth": "sample string 8",
"nativeLaguage": "sample string 9",
"creationDate": "2025-10-27T09:28:16.4389488-07:00",
"createrUserId": 1,
"isModefied": true,
"departmentId": 1,
"modificationDate": "2025-10-27T09:28:16.4389488-07:00",
"modifierUserId": 1,
"isDeleted": true,
"deletionDate": "2025-10-27T09:28:16.4389488-07:00",
"deleterUserId": 1,
"isApproved": true,
"approveDate": "2025-10-27T09:28:16.4389488-07:00",
"approverUserId": 1,
"statusId": 1,
"stateId": 1,
"localGovtId": 1,
"religionId": 1,
"tenantId": 1,
"nationaliltyId": 1,
"email": "sample string 10",
"phoneNumber": "sample string 11",
"designationId": 1,
"employeeNumber": "sample string 12",
"titleId": 1,
"employeeTypeId": 1,
"maritalStatusId": 1,
"createdBy": 13,
"position": "sample string 14",
"designationName": "sample string 15",
"localGovtName": "sample string 16",
"religionName": "sample string 17",
"nationaliltyName": "sample string 18",
"titleName": "sample string 19",
"employeeTypeName": "sample string 20",
"maritalStatusName": "sample string 21",
"statusName": "sample string 22",
"stateName": "sample string 23",
"stateNonNig": "sample string 24",
"lgaNonNig": "sample string 25",
"departmentName": "sample string 26",
"academicFacultyId": 1,
"academicDepartmentId": 1,
"departmentUnitId": 1,
"password": "sample string 27",
"roleId": 1,
"attendanceStatusName": "sample string 28"
}
application/xml, text/xml
Sample:
<HR_EmployeeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.TransferObject.ViewModel"> <academicDepartmentId>1</academicDepartmentId> <academicFacultyId>1</academicFacultyId> <approveDate>2025-10-27T09:28:16.4389488-07:00</approveDate> <approverUserId>1</approverUserId> <attendanceStatusName>sample string 28</attendanceStatusName> <createdBy>13</createdBy> <createrUserId>1</createrUserId> <creationDate>2025-10-27T09:28:16.4389488-07:00</creationDate> <dateOfBirth>2025-10-27T09:28:16.4389488-07:00</dateOfBirth> <deleterUserId>1</deleterUserId> <deletionDate>2025-10-27T09:28:16.4389488-07:00</deletionDate> <departmentId>1</departmentId> <departmentName>sample string 26</departmentName> <departmentUnitId>1</departmentUnitId> <designationId>1</designationId> <designationName>sample string 15</designationName> <email>sample string 10</email> <employeeId>1</employeeId> <employeeNumber>sample string 12</employeeNumber> <employeeTypeId>1</employeeTypeId> <employeeTypeName>sample string 20</employeeTypeName> <firstName>sample string 2</firstName> <gender>sample string 6</gender> <isApproved>true</isApproved> <isDeleted>true</isDeleted> <isModefied>true</isModefied> <lastName>sample string 4</lastName> <lgaNonNig>sample string 25</lgaNonNig> <localGovtId>1</localGovtId> <localGovtName>sample string 16</localGovtName> <maritalStatusId>1</maritalStatusId> <maritalStatusName>sample string 21</maritalStatusName> <middleName>sample string 3</middleName> <modificationDate>2025-10-27T09:28:16.4389488-07:00</modificationDate> <modifierUserId>1</modifierUserId> <name>sample string 5</name> <nationaliltyId>1</nationaliltyId> <nationaliltyName>sample string 18</nationaliltyName> <nativeLaguage>sample string 9</nativeLaguage> <password>sample string 27</password> <phoneNumber>sample string 11</phoneNumber> <placeOfBirth>sample string 8</placeOfBirth> <position>sample string 14</position> <religionId>1</religionId> <religionName>sample string 17</religionName> <roleId>1</roleId> <stateId>1</stateId> <stateName>sample string 23</stateName> <stateNonNig>sample string 24</stateNonNig> <statusId>1</statusId> <statusName>sample string 22</statusName> <tenantId>1</tenantId> <titleId>1</titleId> <titleName>sample string 19</titleName> </HR_EmployeeVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.