Profile
Plan section 2.6 · Screens S60–S63. Change password is on the Account page. Settings (S63: theme, biometrics, push toggle) are device-only; there is no API for them.
My details
/api/Employee/GetEmployee/{id}The full employee record for S61 (personal, job, bank, statutory sections), plus shift, employeeLeader, employeeRelations (family) and employeeDocuments.
- For non-admins the
{id}in the path is ignored: the server always returns the signed-in employee. Pass the loginemployeeId. - Read-only in the app ("To change these details, contact HR").
- Sensitive fields:
mobileNo,bankAccNo,secondaryBankAccNo,pan,aadharNo,pfuan,esicNo, salary and allowance amounts. Mask them by default (show the last 4) and never log the response. shiftis the employee's shift (name and timings) for the Home header and "My shift".
Request
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | integer | yes |
- curl
- TypeScript (HRMS.Mobile)
curl -X GET "$BASE_URL/Employee/GetEmployee/142" \
-H "Authorization: Bearer $TOKEN"
const id = 142;
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.get<EmployeeDto>(`Employee/GetEmployee/${id}`);
Response
HTTP 200 with the standard envelope. responseData is EmployeeDto.
| Field (JSON name) | Type |
|---|---|
id | integer |
company | CompanyDto |
location | LocationDto |
empCode | integer |
empName | string |
mobileNo | string |
branch | BranchDto |
department | DepartmentDto |
designation | DesignationDto |
role | RoleDto |
birthDate | string (date-time) |
gender | string |
profileImageUrl | string |
isActive | boolean |
shift | ShiftGroupDto |
fatherName | string |
motherName | string |
spouseName | string |
secondContactNo | string |
email | string |
education | string |
aadharNo | string |
pan | string |
paymentType | PaymentTypeDto |
address | string |
pincode | string |
bank | BankDto |
bankAccNo | string |
ifscCode | string |
secondaryBankAccNo | string |
secondaryIFSCCode | string |
secondaryBankAccName | string |
seconadryBankId | integer | null |
additionalSalary | number |
tdsDeductable | boolean |
basicSalary | number |
ptDeductable | boolean |
employeeIncrement | EmployeeIncrementDto[] |
joinDate | string (date-time) |
traineeJoinDate | string (date-time) | null |
isTrainee | boolean |
resignDate | string (date-time) | null |
previousCompanyDetail | string |
notes | string |
nextIncrementDate | string (date-time) | null |
referenceDetail | string |
user | UserDto |
isAgreement | boolean |
longitude | number |
latitude | number |
useEmployeeLocation | boolean |
fixedSalary | boolean |
useWFHEmployeeLocation | boolean |
employeeLeader | EmployeeSummaryDto |
employeeType | EmployeeType (enum) | null0 = All1 = Employee2 = PermanantEmployee |
empLegalName | string |
employeeDocuments | EmployeeDocumentDto[] |
isFuelAllownace | boolean |
vehicleTypeId | VehicleType (enum) | null1 = Bike2 = Car |
vehicleTypeName | string |
pfNo | string |
pfuan | string |
esicNo | string |
maritalStatus | string |
anniversaryDate | string (date-time) | null |
currentDistrict | string |
currentState | string |
permanentAddress | string |
permanentPincode | string |
permanentDistrict | string |
permanentState | string |
employeeRelations | EmployeeRelationDto[] |
salaryStructure | SalaryStructureDto |
basicAlw | number |
dearnessAlw | number |
houseRentAlw | number |
medicalAlw | number |
dailyTravellingAlw | number |
performanceAlw | number |
otherAlw | number |
productionAlw | number |
fuelAlw | number |
pfDetectable | boolean |
esicDetectable | boolean |
lwfDetectable | boolean |
isOnContract | boolean |
contractEndDate | string (date-time) | null |
isAttendanceCalc | boolean |
referenceEmployeeId | integer | null |
referralBonusDate | string (date-time) | null |
referralBonusPaid | boolean |
joinTimeExperience | string |
educationId | integer | null |
resignCreatedDate | string (date-time) | null |
noticePeriodEndDate | string (date-time) | null |
isLeave | boolean |
isJoin | boolean |
employeeTotalExperience | string |
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"location": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"locationName": "Acme HQ, Ahmedabad",
"isActive": true,
"longitude": 72.5714,
"latitude": 23.0225
},
"empCode": 1,
"empName": "Priya Sharma",
"mobileNo": "9876544821",
"branch": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"branchName": "Ahmedabad HQ",
"contactNo": "9876544821",
"isActive": true
},
"department": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"departmentName": "Projects",
"isActive": true
},
"designation": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"designationName": "Senior Site Engineer",
"isClarify": false,
"isJobSeeker": false,
"canApprove": false,
"extraDay": 1,
"isActive": true,
"isDirector": false,
"isHR": false
},
"role": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"roleName": "string",
"isActive": true
},
"birthDate": "2026-11-23T00:00:00",
"gender": "string",
"profileImageUrl": "https://api-hrms.weblancertechnologies.com/Images/profile.jpg",
"isActive": true,
"shift": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"shiftGroupName": "string",
"isActive": true,
"shiftDay": [
{
"id": 1045,
"dayName": "string",
"shift": {
"id": 1045,
"company": {},
"shiftName": "string",
"inTime": "2026-11-23T09:42:00",
"outTime": "2026-11-23T09:42:00",
"fullDayHrs": 6,
"halfDayHrs": 6,
"isActive": true,
"monthlyReliefMinutes": 1,
"shortLeaveMaxMinutes": 1,
"shortLeaveMinMinutes": 1,
"allowLateTime": "2026-11-23T09:42:00",
"allowEarlyTime": "2026-11-23T09:42:00",
"lunchStartTime": "2026-11-23T09:42:00",
"lunchEndTime": "2026-11-23T09:42:00",
"calcLateIn": false,
"calcEarlyOut": false,
"allowPaidLeave": false,
"otCalcHours": 6,
"otMultiplier": 1
}
}
]
},
"fatherName": "string",
"motherName": "string",
"spouseName": "string",
"secondContactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"education": "string",
"aadharNo": "string",
"pan": "ABCDE1234F",
"paymentType": {
"id": 1045,
"paymentType": "string",
"isActive": true
},
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"pincode": "string",
"bank": {
"id": 1045,
"bankName": "string",
"isActive": true
},
"bankAccNo": "string",
"ifscCode": "HDFC0001234",
"secondaryBankAccNo": "string",
"secondaryIFSCCode": "HDFC0001234",
"secondaryBankAccName": "string",
"seconadryBankId": 1,
"additionalSalary": 58240,
"tdsDeductable": false,
"basicSalary": 58240,
"ptDeductable": false,
"employeeIncrement": [
{
"id": 1045,
"employeeId": 142,
"oldSalary": 58240,
"newSalary": 58240,
"effectiveDate": "2026-11-23T00:00:00"
}
],
"joinDate": "2026-11-23T00:00:00",
"traineeJoinDate": "2026-11-23T00:00:00",
"isTrainee": false,
"resignDate": "2026-11-23T00:00:00",
"previousCompanyDetail": "string",
"notes": "string",
"nextIncrementDate": "2026-11-23T00:00:00",
"referenceDetail": "string",
"user": {
"id": 1045,
"userName": "priya.sharma",
"password": "MyNewPass@2026",
"fullName": "Priya Sharma",
"role": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"roleName": "string",
"isActive": true
},
"profileImageUri": "https://api-hrms.weblancertechnologies.com/Images/profile.jpg",
"isActive": true,
"companyId": [
{
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
}
],
"notificationIds": [
{
"id": 1045,
"userId": 87,
"notificationTypeId": 1
}
],
"fcmToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"uniqueName": "string"
},
"isAgreement": false,
"longitude": 72.5714,
"latitude": 23.0225,
"useEmployeeLocation": false,
"fixedSalary": false,
"useWFHEmployeeLocation": false,
"employeeLeader": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"employeeType": 0,
"empLegalName": "Priya Sharma",
"employeeDocuments": [
{
"id": 1045,
"documentTypeId": 1,
"documentUri": "https://api-hrms.weblancertechnologies.com/Images/profile.jpg",
"extension": ".jpg",
"createdOn": "2026-11-23T00:00:00"
}
],
"isFuelAllownace": false,
"vehicleTypeId": 1,
"vehicleTypeName": "string",
"pfNo": "string",
"pfuan": "string",
"esicNo": "string",
"maritalStatus": "string",
"anniversaryDate": "2026-11-23T00:00:00",
"currentDistrict": "string",
"currentState": "string",
"permanentAddress": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"permanentPincode": "string",
"permanentDistrict": "string",
"permanentState": "string",
"employeeRelations": [
{
"id": 1045,
"employeeId": 142,
"name": "Priya Sharma",
"birthDate": "2026-11-23T00:00:00",
"aadharNo": "string",
"relation": "string",
"isDeath": false,
"isNominee": false
}
],
"salaryStructure": {
"id": 1045,
"structureName": "string",
"isActive": true
},
"basicAlw": 58240,
"dearnessAlw": 1,
"houseRentAlw": 1,
"medicalAlw": 1,
"dailyTravellingAlw": 1,
"performanceAlw": 1,
"otherAlw": 1,
"productionAlw": 1,
"fuelAlw": 1,
"pfDetectable": false,
"esicDetectable": false,
"lwfDetectable": false,
"isOnContract": false,
"contractEndDate": "2026-11-23T00:00:00",
"isAttendanceCalc": false,
"referenceEmployeeId": 1,
"referralBonusDate": "2026-11-23T00:00:00",
"referralBonusPaid": false,
"joinTimeExperience": "string",
"educationId": 1,
"resignCreatedDate": "2026-11-23T00:00:00",
"noticePeriodEndDate": "2026-11-23T00:00:00",
"isLeave": false,
"isJoin": false,
"employeeTotalExperience": "string"
},
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}
Errors
- isSuccess: false · errorCode 1 “Request Forbidden, Can't access proper Company.”
- isSuccess: false · errorCode 2 (exception message from the server)
- HTTP 401 missing or expired token (see token expiry).
- HTTP 500 unhandled server exception (HTML/text body, not JSON).
On these errors responseData is null. Show errorMessage to the user as-is.
Source: HRMS.WebAPI/Controllers/EmployeeController.cs → EmployeeService.GetEmployeeById · returns EmployeeDto
Change profile photo
/api/Employee/CreateOrUpdateProfileImageuserId: the user id from login (another user's id is refused:You can only change your own profile photo.).profileImageUri: the image as base64, with or without adata:image/…;base64,prefix (the server strips it).extension: e.g..jpgor.png(default.jpeg).- Remove photo: send an empty
profileImageUri; the server deletes the current photo. - Resize/compress on the device first (no size limit is enforced, and the body is JSON).
Request
JSON body:
| Field (JSON name) | Type |
|---|---|
userId | integer |
profileImageUri | string |
extension | string |
- curl
- TypeScript (HRMS.Mobile)
- Body only
curl -X POST "$BASE_URL/Employee/CreateOrUpdateProfileImage" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userId": 87,
"profileImageUri": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ…",
"extension": ".jpg"
}'
const body: ProfileImageUpdateDto = {
"userId": 87,
"profileImageUri": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ…",
"extension": ".jpg"
};
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
import type { ProfileImageUpdateDto } from './types'; // request DTO
const data = await api.post<string>('Employee/CreateOrUpdateProfileImage', body);
{
"userId": 87,
"profileImageUri": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ…",
"extension": ".jpg"
}
Response
HTTP 200 with the standard envelope. responseData is string.
Type: string Example response
Errors
- isSuccess: false · errorCode 1 “You can only change your own profile photo.”
- isSuccess: false · errorCode 1 “User not found.”
- HTTP 401 missing or expired token (see token expiry).
- HTTP 500 unhandled server exception (HTML/text body, not JSON).
On these errors responseData is null. Show errorMessage to the user as-is.
Source: HRMS.WebAPI/Controllers/EmployeeController.cs → EmployeeService.CreateOrUpdateProfileImage · returns string
My trainings
/api/EmployeeTraining/GetTrainingsOfEmployeeByIdTrainings assigned to the signed-in employee (no parameters, despite the name). Each row is an attendee record: id (attendee id), isAccepted and the employeeTraining details.
Request
No parameters and no body.
- curl
- TypeScript (HRMS.Mobile)
curl -X GET "$BASE_URL/EmployeeTraining/GetTrainingsOfEmployeeById" \
-H "Authorization: Bearer $TOKEN"
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.get<AttendeesDto[]>('EmployeeTraining/GetTrainingsOfEmployeeById');
Response
HTTP 200 with the standard envelope. responseData is AttendeesDto[].
An array of AttendeesDto objects
| Field (JSON name) | Type |
|---|---|
id | integer |
companyId | integer |
company | CompanyDto |
employeeId | integer |
employee | EmployeeDto |
employeeTrainingId | integer | null |
employeeTraining | EmployeeTrainingDto |
isAccepted | boolean |
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"companyId": 1,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"employeeId": 142,
"employee": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"location": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"locationName": "Acme HQ, Ahmedabad",
"isActive": true,
"longitude": 72.5714,
"latitude": 23.0225
},
"empCode": 1,
"empName": "Priya Sharma",
"mobileNo": "9876544821",
"branch": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"branchName": "Ahmedabad HQ",
"contactNo": "9876544821",
"isActive": true
},
"department": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"departmentName": "Projects",
"isActive": true
},
"designation": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"designationName": "Senior Site Engineer",
"isClarify": false,
"isJobSeeker": false,
"canApprove": false,
"extraDay": 1,
"isActive": true,
"isDirector": false,
"isHR": false
},
"role": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"roleName": "string",
"isActive": true
},
"birthDate": "2026-11-23T00:00:00",
"gender": "string",
"profileImageUrl": "https://api-hrms.weblancertechnologies.com/Images/profile.jpg",
"isActive": true,
"shift": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"shiftGroupName": "string",
"isActive": true,
"shiftDay": []
},
"fatherName": "string",
"motherName": "string",
"spouseName": "string",
"secondContactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"education": "string",
"aadharNo": "string",
"pan": "ABCDE1234F",
"paymentType": {
"id": 1045,
"paymentType": "string",
"isActive": true
},
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"pincode": "string",
"bank": {
"id": 1045,
"bankName": "string",
"isActive": true
},
"bankAccNo": "string",
"ifscCode": "HDFC0001234",
"secondaryBankAccNo": "string",
"secondaryIFSCCode": "HDFC0001234",
"secondaryBankAccName": "string",
"seconadryBankId": 1,
"additionalSalary": 58240,
"tdsDeductable": false,
"basicSalary": 58240,
"ptDeductable": false,
"employeeIncrement": [
{
"id": 1045,
"employeeId": 142,
"oldSalary": 58240,
"newSalary": 58240,
"effectiveDate": "2026-11-23T00:00:00"
}
],
"joinDate": "2026-11-23T00:00:00",
"traineeJoinDate": "2026-11-23T00:00:00",
"isTrainee": false,
"resignDate": "2026-11-23T00:00:00",
"previousCompanyDetail": "string",
"notes": "string",
"nextIncrementDate": "2026-11-23T00:00:00",
"referenceDetail": "string",
"user": {
"id": 1045,
"userName": "priya.sharma",
"password": "MyNewPass@2026",
"fullName": "Priya Sharma",
"role": {
"id": 1045,
"company": {},
"roleName": "string",
"isActive": true
},
"profileImageUri": "https://api-hrms.weblancertechnologies.com/Images/profile.jpg",
"isActive": true,
"companyId": [],
"notificationIds": [],
"fcmToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"uniqueName": "string"
},
"isAgreement": false,
"longitude": 72.5714,
"latitude": 23.0225,
"useEmployeeLocation": false,
"fixedSalary": false,
"useWFHEmployeeLocation": false,
"employeeLeader": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"employeeType": 0,
"empLegalName": "Priya Sharma",
"employeeDocuments": [
{
"id": 1045,
"documentTypeId": 1,
"documentUri": "https://api-hrms.weblancertechnologies.com/Images/profile.jpg",
"extension": ".jpg",
"createdOn": "2026-11-23T00:00:00"
}
],
"isFuelAllownace": false,
"vehicleTypeId": 1,
"vehicleTypeName": "string",
"pfNo": "string",
"pfuan": "string",
"esicNo": "string",
"maritalStatus": "string",
"anniversaryDate": "2026-11-23T00:00:00",
"currentDistrict": "string",
"currentState": "string",
"permanentAddress": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"permanentPincode": "string",
"permanentDistrict": "string",
"permanentState": "string",
"employeeRelations": [
{
"id": 1045,
"employeeId": 142,
"name": "Priya Sharma",
"birthDate": "2026-11-23T00:00:00",
"aadharNo": "string",
"relation": "string",
"isDeath": false,
"isNominee": false
}
],
"salaryStructure": {
"id": 1045,
"structureName": "string",
"isActive": true
},
"basicAlw": 58240,
"dearnessAlw": 1,
"houseRentAlw": 1,
"medicalAlw": 1,
"dailyTravellingAlw": 1,
"performanceAlw": 1,
"otherAlw": 1,
"productionAlw": 1,
"fuelAlw": 1,
"pfDetectable": false,
"esicDetectable": false,
"lwfDetectable": false,
"isOnContract": false,
"contractEndDate": "2026-11-23T00:00:00",
"isAttendanceCalc": false,
"referenceEmployeeId": 1,
"referralBonusDate": "2026-11-23T00:00:00",
"referralBonusPaid": false,
"joinTimeExperience": "string",
"educationId": 1,
"resignCreatedDate": "2026-11-23T00:00:00",
"noticePeriodEndDate": "2026-11-23T00:00:00",
"isLeave": false,
"isJoin": false,
"employeeTotalExperience": "string"
},
"employeeTrainingId": 1,
"employeeTraining": {
"id": 1045,
"topic": "string",
"details": "string",
"trainer": {
"id": 1045,
"empCode": 1,
"empName": "Priya Sharma"
},
"fromDate": "2026-12-01T00:00:00",
"toDate": "2026-12-02T00:00:00",
"locationId": 1,
"location": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"locationName": "Acme HQ, Ahmedabad",
"isActive": true,
"longitude": 72.5714,
"latitude": 23.0225
},
"remarks": "Forgot to punch out, left at 6:45 PM",
"isPaid": true,
"attendeesId": [
1
],
"externalLocation": "string"
},
"isAccepted": false
}
],
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}
Errors
- isSuccess: false · errorCode 1 “Request Forbidden, Can't access proper Company.”
- isSuccess: false · errorCode 1 “Request Forbidden, Can't access Employee.”
- HTTP 401 missing or expired token (see token expiry).
- HTTP 500 unhandled server exception (HTML/text body, not JSON).
On these errors responseData is null. Show errorMessage to the user as-is.
Source: HRMS.WebAPI/Controllers/EmployeeTrainingController.cs → EmployeeTrainingService.GetTrainingsOfEmployeeById · returns AttendeesDto[]
Accept a training
/api/EmployeeTraining/AcceptTrainingByEmployee/{id}{id} is the attendee id (id from My trainings), not the training id. The server checks that the attendee record belongs to the signed-in employee.
Request
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | integer | yes |
- curl
- TypeScript (HRMS.Mobile)
curl -X POST "$BASE_URL/EmployeeTraining/AcceptTrainingByEmployee/33" \
-H "Authorization: Bearer $TOKEN"
const id = 33;
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.post<boolean>(`EmployeeTraining/AcceptTrainingByEmployee/${id}`, undefined);
Response
HTTP 200 with the standard envelope. responseData is boolean.
Type: boolean Example response
Errors
- isSuccess: false · errorCode 1 “Request Forbidden, Can't access proper Company.”
- isSuccess: false · errorCode 1 “Request Forbidden, Can't access Employee.”
- HTTP 401 missing or expired token (see token expiry).
- HTTP 500 unhandled server exception (HTML/text body, not JSON).
On these errors responseData is false. Show errorMessage to the user as-is.
Source: HRMS.WebAPI/Controllers/EmployeeTrainingController.cs → EmployeeTrainingService.AcceptTrainingByEmployee · returns boolean
Assets assigned to me
/api/AssetManagement/GetBranchAssetsByEmployeeId/{id}Admin-only today (gap G6): employees get an access error. Hide "Assets assigned to me" until the backend adds an employee-facing endpoint.
Request
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | integer | yes |
- curl
- TypeScript (HRMS.Mobile)
curl -X GET "$BASE_URL/AssetManagement/GetBranchAssetsByEmployeeId/142" \
-H "Authorization: Bearer $TOKEN"
const id = 142;
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.get<AssetMasterDto[]>(`AssetManagement/GetBranchAssetsByEmployeeId/${id}`);
Response
HTTP 200 with the standard envelope. responseData is AssetMasterDto[].
An array of AssetMasterDto objects
| Field (JSON name) | Type |
|---|---|
id | integer |
name | string |
quantity | integer |
branchId | integer |
companyId | integer |
company | CompanyDto |
branch | BranchDto |
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"name": "Priya Sharma",
"quantity": 1,
"branchId": 1,
"companyId": 1,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"branch": {
"id": 1045,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"branchName": "Ahmedabad HQ",
"contactNo": "9876544821",
"isActive": true
}
}
],
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}
Errors
- isSuccess: false · errorCode 1 “Request Forbidden, Can't access proper company.”
- HTTP 401 missing or expired token (see token expiry).
- HTTP 500 unhandled server exception (HTML/text body, not JSON).
On these errors responseData is null. Show errorMessage to the user as-is.
Source: HRMS.WebAPI/Controllers/AssetManagementController.cs → AssetManagementService.GetBranchAssetsByEmployeeId · returns AssetMasterDto[]
Family members (P3)
The family list itself comes with My details (employeeRelations). Relation types: CommonEnumValues/GetRelationType. Both write endpoints accept only the caller's own family records (You can only change your own family details.).
Add or edit a family member
/api/EmployeeRelation/CreateOrUpdateEmployeeRelationRequest
JSON body:
CreateOrUpdateEmployeeRelationDto
| Field (JSON name) | Type |
|---|---|
id | integer | null |
employeeId | integer |
name | string |
birthDate | string (date-time) | null |
aadharNo | string |
relation | string |
isDeath | boolean |
isNominee | boolean |
- curl
- TypeScript (HRMS.Mobile)
- Body only
curl -X POST "$BASE_URL/EmployeeRelation/CreateOrUpdateEmployeeRelation" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": null,
"employeeId": 142,
"name": "Ramesh Sharma",
"birthDate": "1962-04-18T00:00:00",
"aadharNo": "",
"relation": "Father",
"isDeath": false,
"isNominee": true
}'
const body: CreateOrUpdateEmployeeRelationDto = {
"id": null,
"employeeId": 142,
"name": "Ramesh Sharma",
"birthDate": "1962-04-18T00:00:00",
"aadharNo": "",
"relation": "Father",
"isDeath": false,
"isNominee": true
};
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
import type { CreateOrUpdateEmployeeRelationDto } from './types'; // request DTO
const data = await api.post<EmployeeRelationDto>('EmployeeRelation/CreateOrUpdateEmployeeRelation', body);
{
"id": null,
"employeeId": 142,
"name": "Ramesh Sharma",
"birthDate": "1962-04-18T00:00:00",
"aadharNo": "",
"relation": "Father",
"isDeath": false,
"isNominee": true
}
Response
HTTP 200 with the standard envelope. responseData is EmployeeRelationDto.
| Field (JSON name) | Type |
|---|---|
id | integer | null |
employeeId | integer |
name | string |
birthDate | string (date-time) | null |
aadharNo | string |
relation | string |
isDeath | boolean |
isNominee | boolean |
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employeeId": 142,
"name": "Priya Sharma",
"birthDate": "2026-11-23T00:00:00",
"aadharNo": "string",
"relation": "string",
"isDeath": false,
"isNominee": false
},
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}
Errors
- isSuccess: false · errorCode 1 “You can only change your own family details.”
- isSuccess: false · errorCode 1 “Employee Relation Not Found.”
- HTTP 401 missing or expired token (see token expiry).
- HTTP 500 unhandled server exception (HTML/text body, not JSON).
On these errors responseData is null. Show errorMessage to the user as-is.
Source: HRMS.WebAPI/Controllers/EmployeeRelationController.cs → EmployeeRelationService.CreateOrUpdateEmployeeRelation · returns EmployeeRelationDto
Delete a family member
/api/EmployeeRelation/DeleteEmployeeRelation/{id}Request
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | integer | yes |
- curl
- TypeScript (HRMS.Mobile)
curl -X DELETE "$BASE_URL/EmployeeRelation/DeleteEmployeeRelation/21" \
-H "Authorization: Bearer $TOKEN"
const id = 21;
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.delete<boolean>(`EmployeeRelation/DeleteEmployeeRelation/${id}`);
Response
HTTP 200 with the standard envelope. responseData is boolean.
Type: boolean Example response
Errors
- isSuccess: false · errorCode 1 “You can only change your own family details.”
- isSuccess: false · errorCode 1 “Employee Relation Not Found.”
- HTTP 401 missing or expired token (see token expiry).
- HTTP 500 unhandled server exception (HTML/text body, not JSON).
On these errors responseData is false. Show errorMessage to the user as-is.
Source: HRMS.WebAPI/Controllers/EmployeeRelationController.cs → EmployeeRelationService.DeleteEmployeeRelationById · returns boolean
Education list (lookup, P3)
/api/Education/GetActiveEducationsThe tenant's list of education names (for example "B.E. Civil"). It is a lookup, not the employee's own education; the employee's education is education in My details. There is no employee-facing endpoint to change it.
Request
No parameters and no body.
- curl
- TypeScript (HRMS.Mobile)
curl -X GET "$BASE_URL/Education/GetActiveEducations" \
-H "Authorization: Bearer $TOKEN"
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.get<EducationDto[]>('Education/GetActiveEducations');
Response
HTTP 200 with the standard envelope. responseData is EducationDto[].
An array of EducationDto objects
| Field (JSON name) | Type |
|---|---|
id | integer |
educationName | string |
companyId | integer |
company | CompanyDto |
isActive | boolean |
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"educationName": "string",
"companyId": 1,
"company": {
"id": 1045,
"companyName": "Acme Infra Pvt Ltd",
"companyWebsite": "string",
"personName": "string",
"companyLegalName": "string",
"panCard": "string",
"tanCard": "string",
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"contactNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"isActive": true,
"pfNo": "string",
"pfGroup": "string",
"pfEstNo": "string",
"esicNo": "string",
"lwfNo": "string",
"ptNo": "string"
},
"isActive": true
}
],
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}
Errors
- HTTP 401 missing or expired token (see token expiry).
- HTTP 500 unhandled server exception (HTML/text body, not JSON).
Source: HRMS.WebAPI/Controllers/EducationController.cs → EducationService.GetActiveEducations · returns EducationDto[]
Organisation chart (P3)
/api/Employee/GetOrganizationChartDataA tree (label, children, data, …) in the format of the web PrimeNG organisation chart. The role check in the service is commented out, so it returns the chart for the user's companies regardless of role.
Request
JSON body:
| Field (JSON name) | Type |
|---|---|
tenantId | integer | null |
id | integer | null |
employeeCode | integer | null |
employeeIds | integer[] |
companyIds | integer[] |
mobileNo | string |
fromDate | string (date-time) | null |
toDate | string (date-time) | null |
fromMonth | string |
toMonth | string |
gender | string |
branchIds | integer[] |
departmentIds | integer[] |
designationIds | integer[] |
approverIds | integer[] |
employeeStatus | integer | null |
applicationStatus | integer | null |
locationIds | integer[] |
employee_Type | integer | null |
financialYear | string[] |
slabTypeId | integer[] |
itMethodId | integer[] |
categoryId | integer | null |
location | string | null |
isAssign | boolean | null |
joinDate | string | null |
- curl
- TypeScript (HRMS.Mobile)
- Body only
curl -X POST "$BASE_URL/Employee/GetOrganizationChartData" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-12-01T00:00:00",
"toDate": "2026-12-02T00:00:00",
"fromMonth": "202610",
"toMonth": "202610",
"gender": "string",
"branchIds": [
1
],
"departmentIds": [
1
],
"designationIds": [
1
],
"approverIds": [
1
],
"employeeStatus": 1,
"applicationStatus": 1,
"locationIds": [
1
],
"employee_Type": 1,
"financialYear": [
"2026-2027"
],
"slabTypeId": [
1
],
"itMethodId": [
1
],
"categoryId": 1,
"location": "string",
"isAssign": false,
"joinDate": "string"
}'
const body: TransactionApplicationDto = {
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-12-01T00:00:00",
"toDate": "2026-12-02T00:00:00",
"fromMonth": "202610",
"toMonth": "202610",
"gender": "string",
"branchIds": [
1
],
"departmentIds": [
1
],
"designationIds": [
1
],
"approverIds": [
1
],
"employeeStatus": 1,
"applicationStatus": 1,
"locationIds": [
1
],
"employee_Type": 1,
"financialYear": [
"2026-2027"
],
"slabTypeId": [
1
],
"itMethodId": [
1
],
"categoryId": 1,
"location": "string",
"isAssign": false,
"joinDate": "string"
};
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
import type { TransactionApplicationDto } from './types'; // request DTO
const data = await api.post<OrganizationTreeNodeDto[]>('Employee/GetOrganizationChartData', body);
{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-12-01T00:00:00",
"toDate": "2026-12-02T00:00:00",
"fromMonth": "202610",
"toMonth": "202610",
"gender": "string",
"branchIds": [
1
],
"departmentIds": [
1
],
"designationIds": [
1
],
"approverIds": [
1
],
"employeeStatus": 1,
"applicationStatus": 1,
"locationIds": [
1
],
"employee_Type": 1,
"financialYear": [
"2026-2027"
],
"slabTypeId": [
1
],
"itMethodId": [
1
],
"categoryId": 1,
"location": "string",
"isAssign": false,
"joinDate": "string"
}
Response
HTTP 200 with the standard envelope. responseData is OrganizationTreeNodeDto[].
An array of OrganizationTreeNodeDto objects
| Field (JSON name) | Type |
|---|---|
label | string |
type | string |
styleClass | string |
expanded | boolean |
data | any |
children | OrganizationTreeNodeDto[] |
Example response
{
"isSuccess": true,
"responseData": [
{
"label": "string",
"type": "string",
"styleClass": "string",
"expanded": false,
"data": null,
"children": [
{}
]
}
],
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}
Errors
- isSuccess: false · errorCode 1 “Request Forbidden: Cannot access proper Company.”
- isSuccess: false · errorCode 1 “No organization data found.”
- HTTP 401 missing or expired token (see token expiry).
- HTTP 500 unhandled server exception (HTML/text body, not JSON).
On these errors responseData is null. Show errorMessage to the user as-is.
Source: HRMS.WebAPI/Controllers/EmployeeController.cs → EmployeeService.GetOrganizationChartData · returns OrganizationTreeNodeDto[]