Skip to main content

Home

Plan section 2.2 · Screen S10. Every call on this page works on the signed-in employee only (from the token) and takes no employee id.

Suggested load order​

  1. Today's punches and today in/out → Today card.
  2. Month present/absent, late/early, missing punches → "This month" tiles.
  3. Instructions, upcoming holidays, birthdays, anniversaries → lower cards (load lazily).
  4. Salary snippet → EmployeeDashboard/GetEmployeeSalaryandDeduction on the Pay page.

The year-summary figures (average salary, TDS, investments, next increment) come from EmployeeDashboard/GetEmployeeNewDashboardDetails, documented on the Pay page.

Today's punches and clock-in state​

GET/api/ClockInOut/ClockInOutInfo
Bearer tokenEmployee and team leaderP1Screens: S10, S22

Returns the employee's approved punches for a month, paired into in/out sessions, and whether they are currently clocked in.

  • month, year are optional; without them the current month is used. Pass them for Punch history (S22).
  • isClockIn: true when the last approved punch is an In without a later Out → Today card state B (Clock out button).
  • clockInOutTimeDto is newest day first. clockOut: null means still working (today) or a missing out-punch (past day).
  • totalTime is a .NET TimeSpan serialised as a string, "hh:mm:ss" or "hh:mm:ss.fffffff" (more than a day: "d.hh:mm:ss"). For an open session today it is "now − clock-in".
  • status is the status name as text ("Approved"), not a number.
  • Only Approved punches count. A clock-in that came back Pending (outside the geofence) is not included; see gap G16.

To clock in or out, see Attendance → Clock in / clock out.

Request

ParameterInTypeRequired
monthquery stringinteger | nullno
yearquery stringinteger | nullno
curl -X GET "$BASE_URL/ClockInOut/ClockInOutInfo?month=11&year=2026" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is ClockInOutInfoDto.

ClockInOutInfoDto

Field (JSON name)Type
isClockInboolean
clockInOutTimeDtoClockInOutTimeDto[]
Example response
{
"isSuccess": true,
"responseData": {
"isClockIn": false,
"clockInOutTimeDto": [
{
"clockIn": "2026-11-23T00:00:00",
"clockOut": "2026-11-23T00:00:00",
"totalTime": "09:30:00",
"thumbDate": "2026-11-23T00:00:00",
"status": "string",
"thumbRemark": "Forgot to punch out, left at 6:45 PM"
}
]
},
"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/ClockInOutController.cs → ClockInOutService.ClockInOutInfo · returns ClockInOutInfoDto

Today's first in and last out​

GET/api/EmployeeDashboard/GetEmployeeDailyInOut
Bearer tokenEmployee and team leaderP1Screens: S10

Today's in/out summary for the employee (stored procedure USP_GET_EMPLOYEE_DAILY_INOUT, today's date on the server).

Request

No parameters and no body.

curl -X GET "$BASE_URL/EmployeeDashboard/GetEmployeeDailyInOut" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is Employee_Dashboard_Daily_InOut_Dto.

Employee_Dashboard_Daily_InOut_Dto

Field (JSON name)Type
thumbInstring (date-time) | null
thumbOutstring (date-time) | null
presentTimestring (date-time) | null
Example response
{
"isSuccess": true,
"responseData": {
"thumbIn": "2026-11-23T00:00:00",
"thumbOut": "2026-11-23T00:00:00",
"presentTime": "2026-11-23T09:42:00"
},
"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/EmployeeDashboardController.cs → EmployeeDashboardService.GetEmployeeDailyInOut · returns Employee_Dashboard_Daily_InOut_Dto

Dashboard basics (profile header)​

GET/api/EmployeeDashboard/GetEmployeeDashboardBasicDetail
Bearer tokenEmployee and team leaderP1Screens: S10

The employee's basic details for Home: name, photo, designation, department, shift name, join date, experience. It also contains basicSalary, mobileNo and birthDate: keep the salary masked like other amounts.

Request

No parameters and no body.

curl -X GET "$BASE_URL/EmployeeDashboard/GetEmployeeDashboardBasicDetail" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is Employee_Dashboard_BasicDetailDto.

Employee_Dashboard_BasicDetailDto

Field (JSON name)Type
employeeEmployeeSummaryDto
profileImageUrlstring
mobileNostring
emailstring
joinDatestring (date-time) | null
birthDatestring (date-time) | null
basicSalarynumber
departmentNamestring
genderstring
experiencestring
designationNamestring
shiftNamestring
employeeTotalExperiencestring
Example response
{
"isSuccess": true,
"responseData": {
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"profileImageUrl": "https://api-hrms.weblancertechnologies.com/Images/profile.jpg",
"mobileNo": "9876544821",
"email": "priya.sharma@acmeinfra.in",
"joinDate": "2026-11-23T00:00:00",
"birthDate": "2026-11-23T00:00:00",
"basicSalary": 58240,
"departmentName": "Projects",
"gender": "string",
"experience": "string",
"designationName": "Senior Site Engineer",
"shiftName": "string",
"employeeTotalExperience": "string"
},
"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/EmployeeDashboardController.cs → EmployeeDashboardService.GetEmployeeDashboardBasicDetail · returns Employee_Dashboard_BasicDetailDto

Mobile dashboard summary​

POST/api/Report/GetMobileAppDahshboardThumbDetails
Bearer tokenEmployee and team leaderP2Screens: S10

A punch and attendance summary the API exposes for a mobile dashboard (note the misspelt route Dahshboard). Scoped to the signed-in employee; employeeIds is ignored for non-admins.

:::caution Verify on staging before using The stored procedure behind it (USP_REPORT_MOBILE_APP_DASHBOARD_DETAILS) is not in the HRMS.WebAPI repository (it exists only in the database), and the web app never calls this endpoint. Which filter fields it reads, and what each field means, cannot be confirmed from code. The example sends the month like the other reports; check the real response on staging first, or use the dashboard calls on this page instead. :::

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/Report/GetMobileAppDahshboardThumbDetails" \
-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": "202611",
"toMonth": "202611",
"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 MobileAppDashboard.

MobileAppDashboard

Field (JSON name)Type
mobileAppDashboardThumbDetailsMobileAppDashboardThumbDetails[]
employeeWorkingDaysEmployeeWorkingDays[]
attendanceSummaryAttendanceSummary[]
Example response
{
"isSuccess": true,
"responseData": {
"mobileAppDashboardThumbDetails": [
{
"entryDate": "2026-11-23T00:00:00",
"inThumb": "2026-11-23T00:00:00",
"outThumb": "2026-11-23T00:00:00",
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
}
}
],
"employeeWorkingDays": [
{
"employeeId": 142,
"workingDay": 1,
"presentDay": 1,
"absentDay": 1
}
],
"attendanceSummary": [
{
"employeeId": 142,
"rankBy": 1,
"dayCount": 3,
"displayName": "Priya Sharma",
"totalTime": "string",
"shortCode": "string",
"showDayCount": false,
"showTime": false
}
]
},
"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/ReportController.cs → ReportService.GetMobileAppDashboardThumbDetails · returns MobileAppDashboard

This month: present and absent​

GET/api/EmployeeDashboard/GetMonthlyPresentAbsent
Bearer tokenEmployee and team leaderP1Screens: S10

Counts for the current calendar month (server date). Feeds the Present / Absent / Leave tiles.

Request

No parameters and no body.

curl -X GET "$BASE_URL/EmployeeDashboard/GetMonthlyPresentAbsent" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is Employee_Dashboard_Monthly_Present_Absent.

Employee_Dashboard_Monthly_Present_Absent

Field (JSON name)Type
employeeIdinteger | null
absentDaynumber | null
presentPercentagenumber | null
absentPercentagenumber | null
leavePercentagenumber | null
workingDaynumber | null
presentDaynumber | null
leaveDayinteger | null
Example response
{
"isSuccess": true,
"responseData": {
"employeeId": 142,
"absentDay": 1,
"presentPercentage": 1,
"absentPercentage": 1,
"leavePercentage": 1,
"workingDay": 1,
"presentDay": 1,
"leaveDay": 1
},
"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/EmployeeDashboardController.cs → EmployeeDashboardService.GetMonthlyPresentAbsent · returns Employee_Dashboard_Monthly_Present_Absent

This month: late and early​

GET/api/EmployeeDashboard/GetEmployeeMonthlyLateEarly
Bearer tokenEmployee and team leaderP1Screens: S10

Late arrivals and early departures for each day of the current calendar month, compared with the employee's shift. The count of rows is the "Late marks" tile.

Request

No parameters and no body.

curl -X GET "$BASE_URL/EmployeeDashboard/GetEmployeeMonthlyLateEarly" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of Employee_Dashboard_Monthly_Late_Early objects

Field (JSON name)Type
entryDatestring (date-time) | null
earlyTimestring
lateTimestring
Example response
{
"isSuccess": true,
"responseData": [
{
"entryDate": "2026-11-23T00:00:00",
"earlyTime": "string",
"lateTime": "string"
}
],
"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/EmployeeDashboardController.cs → EmployeeDashboardService.GetEmployeeMonthlyLateEarly · returns Employee_Dashboard_Monthly_Late_Early[]

This month: missing punches​

GET/api/EmployeeDashboard/GetMonthlyMissingThumb
Bearer tokenEmployee and team leaderP1Screens: S10

Days in the current calendar month with an in-punch but no out-punch. Drives "Missing punches: 1 · Fix now ›", which opens the missed-punch request.

Request

No parameters and no body.

curl -X GET "$BASE_URL/EmployeeDashboard/GetMonthlyMissingThumb" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of Employee_Dashboard_Monthly_Missing_Thumb objects

Field (JSON name)Type
employeeIdinteger | null
eventDatestring (date-time) | null
inDateTimestring (date-time) | null
outDateTimestring (date-time) | null
Example response
{
"isSuccess": true,
"responseData": [
{
"employeeId": 142,
"eventDate": "2026-11-23T00:00:00",
"inDateTime": "2026-11-23T09:42:00",
"outDateTime": "2026-11-23T09:42:00"
}
],
"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/EmployeeDashboardController.cs → EmployeeDashboardService.GetMonthlyMissingThumb · returns Employee_Dashboard_Monthly_Missing_Thumb[]

Instructions (announcements on Home)​

GET/api/EmployeeDashboard/GetEmployeeInstructionDetail
Bearer tokenEmployee and team leaderP1Screens: S10, S70

The tenant's instructions/announcements. Show the latest two on Home; "See all" opens Instruction/GetAllInstruction.

Request

No parameters and no body.

curl -X GET "$BASE_URL/EmployeeDashboard/GetEmployeeInstructionDetail" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of Employee_Dashboard_Instruction_Detail objects

Field (JSON name)Type
titlestring
descriptionstring
createdOnstring (date-time) | null
Example response
{
"isSuccess": true,
"responseData": [
{
"title": "Leave Approved",
"description": "Forgot to punch out, left at 6:45 PM",
"createdOn": "2026-11-23T00:00:00"
}
],
"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/EmployeeDashboardController.cs → EmployeeDashboardService.GetEmployeeInstructionDetail · returns Employee_Dashboard_Instruction_Detail[]

Upcoming holidays​

GET/api/AdminDashboard/getUpCommingHoliday
Bearer tokenEmployee and team leaderP2Screens: S10

Next holidays for the Home chips. Despite the AdminDashboard controller name, it needs only a normal token.

Request

No parameters and no body.

curl -X GET "$BASE_URL/AdminDashboard/getUpCommingHoliday" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of Admin_Dashboard_Upcomming_Holiday objects

Field (JSON name)Type
fromDatestring (date-time)
holidaydatestring
holidayNamestring
holidayDateDayNamestring
Example response
{
"isSuccess": true,
"responseData": [
{
"fromDate": "2026-12-01T00:00:00",
"holidaydate": "string",
"holidayName": "Christmas",
"holidayDateDayName": "string"
}
],
"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/AdminDashboardController.cs → AdminDashboardService.GetUpCommingHoliday · returns Admin_Dashboard_Upcomming_Holiday[]

Upcoming birthdays​

GET/api/AdminDashboard/GetUpCommingBirthDay
Bearer tokenEmployee and team leaderP2Screens: S10

Colleagues with upcoming birthdays. The response includes the full birthDate (with year): show day and month only (gap G15).

Request

No parameters and no body.

curl -X GET "$BASE_URL/AdminDashboard/GetUpCommingBirthDay" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of Admin_Dashboard_Upcomming_Birthday objects

Field (JSON name)Type
employeeEmployeeSummaryDto
profileImageUrlstring
birthDatestring (date-time) | null
eventDatestring (date-time) | null
eventDaystring
Example response
{
"isSuccess": true,
"responseData": [
{
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"profileImageUrl": "https://api-hrms.weblancertechnologies.com/Images/profile.jpg",
"birthDate": "2026-11-23T00:00:00",
"eventDate": "2026-11-23T00:00:00",
"eventDay": "string"
}
],
"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/AdminDashboardController.cs → AdminDashboardService.GetUpCommingBirthDay · returns Admin_Dashboard_Upcomming_Birthday[]

Upcoming work anniversaries​

GET/api/AdminDashboard/getUpCommingAnniversary
Bearer tokenEmployee and team leaderP2Screens: S10

Colleagues with upcoming work anniversaries (anniversary = number of years).

Request

No parameters and no body.

curl -X GET "$BASE_URL/AdminDashboard/getUpCommingAnniversary" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of Admin_Dashboard_Upcomming_Anniversary objects

Field (JSON name)Type
employeeEmployeeSummaryDto
profileImageUrlstring
joinDatestring (date-time) | null
eventDatestring (date-time) | null
anniversarystring
eventDaystring
Example response
{
"isSuccess": true,
"responseData": [
{
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"profileImageUrl": "https://api-hrms.weblancertechnologies.com/Images/profile.jpg",
"joinDate": "2026-11-23T00:00:00",
"eventDate": "2026-11-23T00:00:00",
"anniversary": "string",
"eventDay": "string"
}
],
"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/AdminDashboardController.cs → AdminDashboardService.getUpCommingAnniversary · returns Admin_Dashboard_Upcomming_Anniversary[]

My leave applications (dashboard feed)​

GET/api/EmployeeDashboard/GetTeamLeaveApplication
Bearer tokenEmployee and team leaderP2Screens: —

Despite the name, this returns the signed-in employee's own leave applications (all dates and statuses), not the team's. Do not use it for a "team on leave" card (gap G5). For the employee's own leave list use LeaveApplication/GetAllLeaveApplications, which supports filters.

Request

No parameters and no body.

curl -X GET "$BASE_URL/EmployeeDashboard/GetTeamLeaveApplication" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of Admin_Dashboard_Daily_Leave_Application objects

Field (JSON name)Type
employeeEmployeeSummaryDto
leaveNamestring
reasonstring
leaveRequestDatestring (date-time) | null
approverEmployeeSummaryDto
fromDatestring (date-time) | null
toDatestring (date-time) | null
leaveStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
Example response
{
"isSuccess": true,
"responseData": [
{
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"leaveName": "Casual Leave",
"reason": "Forgot to punch out, left at 6:45 PM",
"leaveRequestDate": "2026-11-23T00:00:00",
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"fromDate": "2026-12-01T00:00:00",
"toDate": "2026-12-02T00:00:00",
"leaveStatus": 0
}
],
"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/EmployeeDashboardController.cs → EmployeeDashboardService.getTeamLeaveApplication · returns Admin_Dashboard_Daily_Leave_Application[]