Skip to main content

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​

GET/api/Employee/GetEmployee/{id}
Bearer tokenEmployee and team leaderP1Screens: S60, S61

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 login employeeId.
  • 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.
  • shift is the employee's shift (name and timings) for the Home header and "My shift".

Request

ParameterInTypeRequired
idpathintegeryes
curl -X GET "$BASE_URL/Employee/GetEmployee/142" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is EmployeeDto.

EmployeeDto

Field (JSON name)Type
idinteger
companyCompanyDto
locationLocationDto
empCodeinteger
empNamestring
mobileNostring
branchBranchDto
departmentDepartmentDto
designationDesignationDto
roleRoleDto
birthDatestring (date-time)
genderstring
profileImageUrlstring
isActiveboolean
shiftShiftGroupDto
fatherNamestring
motherNamestring
spouseNamestring
secondContactNostring
emailstring
educationstring
aadharNostring
panstring
paymentTypePaymentTypeDto
addressstring
pincodestring
bankBankDto
bankAccNostring
ifscCodestring
secondaryBankAccNostring
secondaryIFSCCodestring
secondaryBankAccNamestring
seconadryBankIdinteger | null
additionalSalarynumber
tdsDeductableboolean
basicSalarynumber
ptDeductableboolean
employeeIncrementEmployeeIncrementDto[]
joinDatestring (date-time)
traineeJoinDatestring (date-time) | null
isTraineeboolean
resignDatestring (date-time) | null
previousCompanyDetailstring
notesstring
nextIncrementDatestring (date-time) | null
referenceDetailstring
userUserDto
isAgreementboolean
longitudenumber
latitudenumber
useEmployeeLocationboolean
fixedSalaryboolean
useWFHEmployeeLocationboolean
employeeLeaderEmployeeSummaryDto
employeeTypeEmployeeType (enum) | null0 = All1 = Employee2 = PermanantEmployee
empLegalNamestring
employeeDocumentsEmployeeDocumentDto[]
isFuelAllownaceboolean
vehicleTypeIdVehicleType (enum) | null1 = Bike2 = Car
vehicleTypeNamestring
pfNostring
pfuanstring
esicNostring
maritalStatusstring
anniversaryDatestring (date-time) | null
currentDistrictstring
currentStatestring
permanentAddressstring
permanentPincodestring
permanentDistrictstring
permanentStatestring
employeeRelationsEmployeeRelationDto[]
salaryStructureSalaryStructureDto
basicAlwnumber
dearnessAlwnumber
houseRentAlwnumber
medicalAlwnumber
dailyTravellingAlwnumber
performanceAlwnumber
otherAlwnumber
productionAlwnumber
fuelAlwnumber
pfDetectableboolean
esicDetectableboolean
lwfDetectableboolean
isOnContractboolean
contractEndDatestring (date-time) | null
isAttendanceCalcboolean
referenceEmployeeIdinteger | null
referralBonusDatestring (date-time) | null
referralBonusPaidboolean
joinTimeExperiencestring
educationIdinteger | null
resignCreatedDatestring (date-time) | null
noticePeriodEndDatestring (date-time) | null
isLeaveboolean
isJoinboolean
employeeTotalExperiencestring
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​

POST/api/Employee/CreateOrUpdateProfileImage
Bearer tokenEmployee and team leaderP1Screens: S60
  • userId: 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 a data:image/…;base64, prefix (the server strips it).
  • extension: e.g. .jpg or .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:

ProfileImageUpdateDto

Field (JSON name)Type
userIdinteger
profileImageUristring
extensionstring
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"
}'

Response

HTTP 200 with the standard envelope. responseData is string.

Type: string

Example response
{
"isSuccess": true,
"responseData": "https://api-hrms.weblancertechnologies.com/Images/profile.jpg",
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}

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​

GET/api/EmployeeTraining/GetTrainingsOfEmployeeById
Bearer tokenEmployee and team leaderP2Screens: S60

Trainings 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 -X GET "$BASE_URL/EmployeeTraining/GetTrainingsOfEmployeeById" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is AttendeesDto[].

An array of AttendeesDto objects

Field (JSON name)Type
idinteger
companyIdinteger
companyCompanyDto
employeeIdinteger
employeeEmployeeDto
employeeTrainingIdinteger | null
employeeTrainingEmployeeTrainingDto
isAcceptedboolean
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​

POST/api/EmployeeTraining/AcceptTrainingByEmployee/{id}
Bearer tokenEmployee and team leaderP2Screens: S60

{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

ParameterInTypeRequired
idpathintegeryes
curl -X POST "$BASE_URL/EmployeeTraining/AcceptTrainingByEmployee/33" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is boolean.

Type: boolean

Example response
{
"isSuccess": true,
"responseData": 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 false. Show errorMessage to the user as-is.

Source: HRMS.WebAPI/Controllers/EmployeeTrainingController.cs → EmployeeTrainingService.AcceptTrainingByEmployee · returns boolean

Assets assigned to me​

GET/api/AssetManagement/GetBranchAssetsByEmployeeId/{id}
Bearer tokenNot for the appP2Screens: S60Admin role only (CanAccessFilter)
The server rejects this call for every role except Admin. Employees and team leaders cannot use it until the backend changes (see Known API gaps).

Admin-only today (gap G6): employees get an access error. Hide "Assets assigned to me" until the backend adds an employee-facing endpoint.

Request

ParameterInTypeRequired
idpathintegeryes
curl -X GET "$BASE_URL/AssetManagement/GetBranchAssetsByEmployeeId/142" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is AssetMasterDto[].

An array of AssetMasterDto objects

Field (JSON name)Type
idinteger
namestring
quantityinteger
branchIdinteger
companyIdinteger
companyCompanyDto
branchBranchDto
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​

POST/api/EmployeeRelation/CreateOrUpdateEmployeeRelation
Bearer tokenEmployee and team leaderP3

Request

JSON body:

CreateOrUpdateEmployeeRelationDto

Field (JSON name)Type
idinteger | null
employeeIdinteger
namestring
birthDatestring (date-time) | null
aadharNostring
relationstring
isDeathboolean
isNomineeboolean
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
}'

Response

HTTP 200 with the standard envelope. responseData is EmployeeRelationDto.

EmployeeRelationDto

Field (JSON name)Type
idinteger | null
employeeIdinteger
namestring
birthDatestring (date-time) | null
aadharNostring
relationstring
isDeathboolean
isNomineeboolean
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​

DELETE/api/EmployeeRelation/DeleteEmployeeRelation/{id}
Bearer tokenEmployee and team leaderP3

Request

ParameterInTypeRequired
idpathintegeryes
curl -X DELETE "$BASE_URL/EmployeeRelation/DeleteEmployeeRelation/21" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is boolean.

Type: boolean

Example response
{
"isSuccess": true,
"responseData": 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 false. Show errorMessage to the user as-is.

Source: HRMS.WebAPI/Controllers/EmployeeRelationController.cs → EmployeeRelationService.DeleteEmployeeRelationById · returns boolean

Education list (lookup, P3)​

GET/api/Education/GetActiveEducations
Bearer tokenEmployee and team leaderP3

The 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 -X GET "$BASE_URL/Education/GetActiveEducations" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is EducationDto[].

An array of EducationDto objects

Field (JSON name)Type
idinteger
educationNamestring
companyIdinteger
companyCompanyDto
isActiveboolean
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)​

POST/api/Employee/GetOrganizationChartData
Bearer tokenEmployee and team leaderP3

A 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:

TransactionApplicationDto

Field (JSON name)Type
tenantIdinteger | null
idinteger | null
employeeCodeinteger | null
employeeIdsinteger[]
companyIdsinteger[]
mobileNostring
fromDatestring (date-time) | null
toDatestring (date-time) | null
fromMonthstring
toMonthstring
genderstring
branchIdsinteger[]
departmentIdsinteger[]
designationIdsinteger[]
approverIdsinteger[]
employeeStatusinteger | null
applicationStatusinteger | null
locationIdsinteger[]
employee_Typeinteger | null
financialYearstring[]
slabTypeIdinteger[]
itMethodIdinteger[]
categoryIdinteger | null
locationstring | null
isAssignboolean | null
joinDatestring | null
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"
}'

Response

HTTP 200 with the standard envelope. responseData is OrganizationTreeNodeDto[].

An array of OrganizationTreeNodeDto objects

Field (JSON name)Type
labelstring
typestring
styleClassstring
expandedboolean
dataany
childrenOrganizationTreeNodeDto[]
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[]