Attendance
Plan section 2.3 · Screens S10–S12, S20–S23, S82. Clock in/out and missed-punch requests both use one endpoint, ThumbApplication/CreateOrUpdateThumbApplication, with a different thumbSource. Read Server rules → clock in first.
Clock-in flow (S11)
- Ask for location permission (S82). The app records location only at the moment of the punch.
- Load the geofence targets once per session: locations (office) and projects (project sites). Each has
latitude/longitude. - Read GPS. Compute the distance to the employee's office or the selected project; outside 200 m show the warning and make the remark mandatory (decision D4). Never block.
- Create the punch with
thumbSource: 2(MobileQuick),thumbType1 (In) or 2 (Out), GPS and the working-from choice. - Show S12 using the returned punch (
thumbStatusandthumbTimeare the server's). - Refresh today's punches for the Today card.
Clock in / clock out
/api/ThumbApplication/CreateOrUpdateThumbApplicationA clock-in or clock-out from the phone (thumbSource: 2 = MobileQuick).
| Field | Send |
|---|---|
id | null (always a new punch) |
employeeId | the signed-in employee's id (login employeeId) |
thumbType | 1 In, 2 Out |
thumbSource | 2 (MobileQuick) |
thumbDate, thumbTime | the device's current date/time. The server replaces both with its own clock for MobileQuick. |
thumbStatus | 0. Ignored: the server decides (Approved inside the geofence, otherwise the tenant default). |
latitude, longitude | GPS at the moment of the punch. Send null only if location is unavailable (the punch then gets the tenant default status). |
thumbApplicationFromType | 1 Office, 2 Project site, 3 Other site |
projectId, companyId | for Project site: the selected project and its company; otherwise null |
thumbRemark | required by the app when outside the geofence (D4); optional otherwise |
A clock-in on a day the employee has approved leave is refused with Thumb Application Limit Days Exceeded… (see missed-punch request for what the check really does).
The response is the saved punch: show thumbStatus (1 Approved, or Pending) and thumbTime on S12. A Pending punch does not appear in today's punches until approved (gap G16).
Request
JSON body:
CreateOrUpdateThumbApplicationDto
| Field (JSON name) | Type |
|---|---|
id | integer | null |
employeeId | integer |
thumbDate | string (date-time) |
thumbTime | string (date-time) |
thumbType | ThumbApplicationType (enum)1 = InThumb2 = OutThumb |
thumbSource | ThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine |
thumbStatus | TransactionStatus (enum)0 = Pending1 = Approved2 = Rejected |
thumbRemark | string |
longitude | number | null |
latitude | number | null |
companyId | integer | null |
projectId | integer | null |
thumbApplicationFromType | ThumbApplicationFromType (enum) | null1 = Office2 = ProjectSite3 = OtherSite |
- curl
- TypeScript (HRMS.Mobile)
- Body only
curl -X POST "$BASE_URL/ThumbApplication/CreateOrUpdateThumbApplication" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": null,
"employeeId": 142,
"thumbDate": "2026-11-23T00:00:00",
"thumbTime": "2026-11-23T09:42:00",
"thumbType": 1,
"thumbSource": 2,
"thumbStatus": 0,
"thumbRemark": "",
"longitude": 72.5714,
"latitude": 23.0225,
"companyId": null,
"projectId": null,
"thumbApplicationFromType": 1
}'
const body: CreateOrUpdateThumbApplicationDto = {
"id": null,
"employeeId": 142,
"thumbDate": "2026-11-23T00:00:00",
"thumbTime": "2026-11-23T09:42:00",
"thumbType": 1,
"thumbSource": 2,
"thumbStatus": 0,
"thumbRemark": "",
"longitude": 72.5714,
"latitude": 23.0225,
"companyId": null,
"projectId": null,
"thumbApplicationFromType": 1
};
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
import type { CreateOrUpdateThumbApplicationDto } from './types'; // request DTO
const data = await api.post<ThumbApplicationDto>('ThumbApplication/CreateOrUpdateThumbApplication', body);
{
"id": null,
"employeeId": 142,
"thumbDate": "2026-11-23T00:00:00",
"thumbTime": "2026-11-23T09:42:00",
"thumbType": 1,
"thumbSource": 2,
"thumbStatus": 0,
"thumbRemark": "",
"longitude": 72.5714,
"latitude": 23.0225,
"companyId": null,
"projectId": null,
"thumbApplicationFromType": 1
}
Response
HTTP 200 with the standard envelope. responseData is ThumbApplicationDto.
| Field (JSON name) | Type |
|---|---|
id | integer |
employee | EmployeeSummaryDto |
thumbDate | string (date-time) |
thumbTime | string (date-time) |
thumbType | ThumbApplicationType (enum)1 = InThumb2 = OutThumb |
thumbTypeName | string |
thumbStatus | TransactionStatus (enum)0 = Pending1 = Approved2 = Rejected |
thumbSource | ThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine |
thumbStatusName | string |
thumbRemark | string |
longitude | number | null |
latitude | number | null |
thumbRequestDate | string (date-time) |
company | CompanyDto |
project | ProjectDto |
thumbApplicationFromType | ThumbApplicationFromType (enum)1 = Office2 = ProjectSite3 = OtherSite |
thumbApplicationFromTypeName | string |
Example response
{
"isSuccess": true,
"responseData": {
"id": 5531,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"thumbDate": "2026-11-23T00:00:00",
"thumbTime": "2026-11-23T09:42:00",
"thumbType": 1,
"thumbTypeName": "string",
"thumbStatus": 1,
"thumbSource": 2,
"thumbStatusName": "string",
"thumbRemark": "Forgot to punch out, left at 6:45 PM",
"longitude": 72.5714,
"latitude": 23.0225,
"thumbRequestDate": "2026-11-23T00:00:00",
"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"
},
"project": {
"id": 1045,
"projectName": "GIFT City Tower B",
"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"
},
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"longitude": 72.5714,
"latitude": 23.0225,
"orderKey": "string",
"scope": "string",
"isActive": true,
"projectCompanyDistance": [
{
"id": 1045,
"projectId": 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"
},
"distanceKM": 1,
"isActive": true
}
]
},
"thumbApplicationFromType": 1,
"thumbApplicationFromTypeName": "string"
},
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}
Errors
- isSuccess: false · errorCode 1 “You can't create or change applications for this employee.”
- isSuccess: false · errorCode 1 “This application is already approved or rejected. Only an approver can change it.”
- isSuccess: false · errorCode 1 “Request Forbidden, Can't access proper Company.”
- isSuccess: false · errorCode 1 “Thumb Application Limit Days Exceeded, You Can't Update This Entry”
- isSuccess: false · errorCode 1 “Thumb Type Not Found.”
- isSuccess: false · errorCode 1 “Thumb Application Limit Days Exceeded, You Can't Add This Entry”
- 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/ThumbApplicationController.cs → ThumbApplicationService.CreateOrUpdateThumbApplication · returns ThumbApplicationDto
Geofence targets: office locations
/api/Location/GetActiveLocationsActive office locations of the user's companies, with latitude/longitude (either may be null when not set up). The employee's own office is the one matching their location; the server uses Employee.LocationId for the geofence. If the employee's profile uses personal coordinates ("use employee location"), the server checks those too.
Request
No parameters and no body.
- curl
- TypeScript (HRMS.Mobile)
curl -X GET "$BASE_URL/Location/GetActiveLocations" \
-H "Authorization: Bearer $TOKEN"
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.get<LocationDto[]>('Location/GetActiveLocations');
Response
HTTP 200 with the standard envelope. responseData is LocationDto[].
An array of LocationDto objects
| Field (JSON name) | Type |
|---|---|
id | integer |
company | CompanyDto |
locationName | string |
isActive | boolean |
longitude | number | null |
latitude | number | null |
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"
},
"locationName": "Acme HQ, Ahmedabad",
"isActive": true,
"longitude": 72.5714,
"latitude": 23.0225
}
],
"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/LocationController.cs → LocationService.GetActiveLocations · returns LocationDto[]
Geofence targets: projects (user's companies)
/api/Project/GetActiveProjectsActive projects of the user's companies, with coordinates, for the Project site dropdown. Send the chosen project's id as projectId and its company as companyId.
Request
No parameters and no body.
- curl
- TypeScript (HRMS.Mobile)
curl -X GET "$BASE_URL/Project/GetActiveProjects" \
-H "Authorization: Bearer $TOKEN"
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.get<ProjectDto[]>('Project/GetActiveProjects');
Response
HTTP 200 with the standard envelope. responseData is ProjectDto[].
An array of ProjectDto objects
| Field (JSON name) | Type |
|---|---|
id | integer |
projectName | string |
companyId | integer |
company | CompanyDto |
address | string |
longitude | number | null |
latitude | number | null |
orderKey | string |
scope | string |
isActive | boolean |
projectCompanyDistance | ProjectCompanyDistanceDto[] |
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"projectName": "GIFT City Tower B",
"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"
},
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"longitude": 72.5714,
"latitude": 23.0225,
"orderKey": "string",
"scope": "string",
"isActive": true,
"projectCompanyDistance": [
{
"id": 1045,
"projectId": 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"
},
"distanceKM": 1,
"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/ProjectController.cs → ProjectService.GetActiveProjects · returns ProjectDto[]
Projects of all companies
/api/Project/GetAllCompaniesActiveProjectsAll active projects in the tenant, across companies. The web missed-punch form uses this together with companies (pick a company, then its project). Use it only if employees punch at other companies' sites; otherwise use projects of the user's companies.
Request
No parameters and no body.
- curl
- TypeScript (HRMS.Mobile)
curl -X GET "$BASE_URL/Project/GetAllCompaniesActiveProjects" \
-H "Authorization: Bearer $TOKEN"
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.get<ProjectDto[]>('Project/GetAllCompaniesActiveProjects');
Response
HTTP 200 with the standard envelope. responseData is ProjectDto[].
An array of ProjectDto objects
| Field (JSON name) | Type |
|---|---|
id | integer |
projectName | string |
companyId | integer |
company | CompanyDto |
address | string |
longitude | number | null |
latitude | number | null |
orderKey | string |
scope | string |
isActive | boolean |
projectCompanyDistance | ProjectCompanyDistanceDto[] |
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"projectName": "GIFT City Tower B",
"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"
},
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"longitude": 72.5714,
"latitude": 23.0225,
"orderKey": "string",
"scope": "string",
"isActive": true,
"projectCompanyDistance": [
{
"id": 1045,
"projectId": 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"
},
"distanceKM": 1,
"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/ProjectController.cs → ProjectService.GetAllCompaniesActiveProjects · returns ProjectDto[]
Companies
/api/Company/GetActiveCompaniesAll active companies in the tenant. Used with projects of all companies to fill companyId for project-site punches.
Request
No parameters and no body.
- curl
- TypeScript (HRMS.Mobile)
curl -X GET "$BASE_URL/Company/GetActiveCompanies" \
-H "Authorization: Bearer $TOKEN"
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.get<CompanyDto[]>('Company/GetActiveCompanies');
Response
HTTP 200 with the standard envelope. responseData is CompanyDto[].
An array of CompanyDto objects
| Field (JSON name) | Type |
|---|---|
id | integer |
companyName | string |
companyWebsite | string |
personName | string |
companyLegalName | string |
panCard | string |
tanCard | string |
address | string |
contactNo | string |
email | string |
isActive | boolean |
pfNo | string |
pfGroup | string |
pfEstNo | string |
esicNo | string |
lwfNo | string |
ptNo | string |
Example response
{
"isSuccess": true,
"responseData": [
{
"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"
}
],
"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/CompanyController.cs → CompanyService.GetActiveCompanies · returns CompanyDto[]
Missed-punch request
/api/ThumbApplication/CreateOrUpdateThumbApplicationA regularisation request for a day the employee forgot to punch (thumbSource: 1 = Mobile). Same endpoint as clock-in.
thumbDate+thumbTime: the date and time the user picks (not in the future). The server keeps them.thumbType:1In or2Out (S23 segmented control).thumbStatus: send0. Non-admins always get the tenant's default punch status.Thumb Application Limit Days Exceeded, You Can't Add This Entry: the SQL functionGET_APPLICATION_ENTRY_ALLOWrefuses it when the employee is inactive or has an approved leave covering that date (despite the wording, there is no day-count limit; theapplicationLimitDayssetting is not used by the API code). Tell the user they are on approved leave that day.- Edit a pending request: send its
idwith the changes and status0(or the tenant default status). See Server rules.
Request
JSON body:
CreateOrUpdateThumbApplicationDto
| Field (JSON name) | Type |
|---|---|
id | integer | null |
employeeId | integer |
thumbDate | string (date-time) |
thumbTime | string (date-time) |
thumbType | ThumbApplicationType (enum)1 = InThumb2 = OutThumb |
thumbSource | ThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine |
thumbStatus | TransactionStatus (enum)0 = Pending1 = Approved2 = Rejected |
thumbRemark | string |
longitude | number | null |
latitude | number | null |
companyId | integer | null |
projectId | integer | null |
thumbApplicationFromType | ThumbApplicationFromType (enum) | null1 = Office2 = ProjectSite3 = OtherSite |
- curl
- TypeScript (HRMS.Mobile)
- Body only
curl -X POST "$BASE_URL/ThumbApplication/CreateOrUpdateThumbApplication" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": null,
"employeeId": 142,
"thumbDate": "2026-11-18T00:00:00",
"thumbTime": "2026-11-18T18:45:00",
"thumbType": 2,
"thumbSource": 1,
"thumbStatus": 0,
"thumbRemark": "Forgot to punch out, left at 6:45 PM",
"longitude": null,
"latitude": null,
"companyId": null,
"projectId": null,
"thumbApplicationFromType": 1
}'
const body: CreateOrUpdateThumbApplicationDto = {
"id": null,
"employeeId": 142,
"thumbDate": "2026-11-18T00:00:00",
"thumbTime": "2026-11-18T18:45:00",
"thumbType": 2,
"thumbSource": 1,
"thumbStatus": 0,
"thumbRemark": "Forgot to punch out, left at 6:45 PM",
"longitude": null,
"latitude": null,
"companyId": null,
"projectId": null,
"thumbApplicationFromType": 1
};
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
import type { CreateOrUpdateThumbApplicationDto } from './types'; // request DTO
const data = await api.post<ThumbApplicationDto>('ThumbApplication/CreateOrUpdateThumbApplication', body);
{
"id": null,
"employeeId": 142,
"thumbDate": "2026-11-18T00:00:00",
"thumbTime": "2026-11-18T18:45:00",
"thumbType": 2,
"thumbSource": 1,
"thumbStatus": 0,
"thumbRemark": "Forgot to punch out, left at 6:45 PM",
"longitude": null,
"latitude": null,
"companyId": null,
"projectId": null,
"thumbApplicationFromType": 1
}
Response
HTTP 200 with the standard envelope. responseData is ThumbApplicationDto.
| Field (JSON name) | Type |
|---|---|
id | integer |
employee | EmployeeSummaryDto |
thumbDate | string (date-time) |
thumbTime | string (date-time) |
thumbType | ThumbApplicationType (enum)1 = InThumb2 = OutThumb |
thumbTypeName | string |
thumbStatus | TransactionStatus (enum)0 = Pending1 = Approved2 = Rejected |
thumbSource | ThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine |
thumbStatusName | string |
thumbRemark | string |
longitude | number | null |
latitude | number | null |
thumbRequestDate | string (date-time) |
company | CompanyDto |
project | ProjectDto |
thumbApplicationFromType | ThumbApplicationFromType (enum)1 = Office2 = ProjectSite3 = OtherSite |
thumbApplicationFromTypeName | string |
Example response
{
"isSuccess": true,
"responseData": {
"id": 5532,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"thumbDate": "2026-11-23T00:00:00",
"thumbTime": "2026-11-23T09:42:00",
"thumbType": 2,
"thumbTypeName": "string",
"thumbStatus": 0,
"thumbSource": 1,
"thumbStatusName": "string",
"thumbRemark": "Forgot to punch out, left at 6:45 PM",
"longitude": 72.5714,
"latitude": 23.0225,
"thumbRequestDate": "2026-11-23T00:00:00",
"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"
},
"project": {
"id": 1045,
"projectName": "GIFT City Tower B",
"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"
},
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"longitude": 72.5714,
"latitude": 23.0225,
"orderKey": "string",
"scope": "string",
"isActive": true,
"projectCompanyDistance": [
{
"id": 1045,
"projectId": 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"
},
"distanceKM": 1,
"isActive": true
}
]
},
"thumbApplicationFromType": 1,
"thumbApplicationFromTypeName": "string"
},
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}
Errors
- isSuccess: false · errorCode 1 “You can't create or change applications for this employee.”
- isSuccess: false · errorCode 1 “This application is already approved or rejected. Only an approver can change it.”
- isSuccess: false · errorCode 1 “Request Forbidden, Can't access proper Company.”
- isSuccess: false · errorCode 1 “Thumb Application Limit Days Exceeded, You Can't Update This Entry”
- isSuccess: false · errorCode 1 “Thumb Type Not Found.”
- isSuccess: false · errorCode 1 “Thumb Application Limit Days Exceeded, You Can't Add This Entry”
- 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/ThumbApplicationController.cs → ThumbApplicationService.CreateOrUpdateThumbApplication · returns ThumbApplicationDto
My missed-punch requests
/api/ThumbApplication/GetAllThumbApplicationsAll punches/requests of the signed-in employee (clock-ins included) in the date range, any status (applicationStatus: -1) or one status (0/1/2). Self-only for every non-admin, including team leaders (gap G4). Filter thumbSource on the device to show only requests (1) in "My requests".
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/ThumbApplication/GetAllThumbApplications" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-11-01T00:00:00",
"toDate": "2026-11-30T00: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-11-01T00:00:00",
"toDate": "2026-11-30T00: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<ThumbApplicationDto[]>('ThumbApplication/GetAllThumbApplications', body);
{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-11-01T00:00:00",
"toDate": "2026-11-30T00: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 ThumbApplicationDto[].
An array of ThumbApplicationDto objects
| Field (JSON name) | Type |
|---|---|
id | integer |
employee | EmployeeSummaryDto |
thumbDate | string (date-time) |
thumbTime | string (date-time) |
thumbType | ThumbApplicationType (enum)1 = InThumb2 = OutThumb |
thumbTypeName | string |
thumbStatus | TransactionStatus (enum)0 = Pending1 = Approved2 = Rejected |
thumbSource | ThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine |
thumbStatusName | string |
thumbRemark | string |
longitude | number | null |
latitude | number | null |
thumbRequestDate | string (date-time) |
company | CompanyDto |
project | ProjectDto |
thumbApplicationFromType | ThumbApplicationFromType (enum)1 = Office2 = ProjectSite3 = OtherSite |
thumbApplicationFromTypeName | string |
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"thumbDate": "2026-11-23T00:00:00",
"thumbTime": "2026-11-23T09:42:00",
"thumbType": 1,
"thumbTypeName": "string",
"thumbStatus": 0,
"thumbSource": 0,
"thumbStatusName": "string",
"thumbRemark": "Forgot to punch out, left at 6:45 PM",
"longitude": 72.5714,
"latitude": 23.0225,
"thumbRequestDate": "2026-11-23T00:00:00",
"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"
},
"project": {
"id": 1045,
"projectName": "GIFT City Tower B",
"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"
},
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"longitude": 72.5714,
"latitude": 23.0225,
"orderKey": "string",
"scope": "string",
"isActive": true,
"projectCompanyDistance": [
{
"id": 1045,
"projectId": 1,
"companyId": 1,
"company": {},
"distanceKM": 1,
"isActive": true
}
]
},
"thumbApplicationFromType": 1,
"thumbApplicationFromTypeName": "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/ThumbApplicationController.cs → ThumbApplicationService.GetAllThumbApplications · returns ThumbApplicationDto[]
Missed-punch detail
/api/ThumbApplication/GetThumbApplicationOne punch by id (query string). Own and team records only.
Request
| Parameter | In | Type | Required |
|---|---|---|---|
id | query string | integer | yes |
- curl
- TypeScript (HRMS.Mobile)
curl -X GET "$BASE_URL/ThumbApplication/GetThumbApplication?id=5532" \
-H "Authorization: Bearer $TOKEN"
const id = 5532;
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.get<ThumbApplicationDto>('ThumbApplication/GetThumbApplication', { params: { id } });
Response
HTTP 200 with the standard envelope. responseData is ThumbApplicationDto.
| Field (JSON name) | Type |
|---|---|
id | integer |
employee | EmployeeSummaryDto |
thumbDate | string (date-time) |
thumbTime | string (date-time) |
thumbType | ThumbApplicationType (enum)1 = InThumb2 = OutThumb |
thumbTypeName | string |
thumbStatus | TransactionStatus (enum)0 = Pending1 = Approved2 = Rejected |
thumbSource | ThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine |
thumbStatusName | string |
thumbRemark | string |
longitude | number | null |
latitude | number | null |
thumbRequestDate | string (date-time) |
company | CompanyDto |
project | ProjectDto |
thumbApplicationFromType | ThumbApplicationFromType (enum)1 = Office2 = ProjectSite3 = OtherSite |
thumbApplicationFromTypeName | string |
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"thumbDate": "2026-11-23T00:00:00",
"thumbTime": "2026-11-23T09:42:00",
"thumbType": 1,
"thumbTypeName": "string",
"thumbStatus": 0,
"thumbSource": 0,
"thumbStatusName": "string",
"thumbRemark": "Forgot to punch out, left at 6:45 PM",
"longitude": 72.5714,
"latitude": 23.0225,
"thumbRequestDate": "2026-11-23T00:00:00",
"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"
},
"project": {
"id": 1045,
"projectName": "GIFT City Tower B",
"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"
},
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"longitude": 72.5714,
"latitude": 23.0225,
"orderKey": "string",
"scope": "string",
"isActive": true,
"projectCompanyDistance": [
{
"id": 1045,
"projectId": 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"
},
"distanceKM": 1,
"isActive": true
}
]
},
"thumbApplicationFromType": 1,
"thumbApplicationFromTypeName": "string"
},
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}
Errors
- isSuccess: false · errorCode 1 “You can't view or delete this application.”
- 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/ThumbApplicationController.cs → ThumbApplicationService.GetThumbApplicationById · returns ThumbApplicationDto
Delete a missed-punch request
/api/ThumbApplication/DeleteThumbApplication/{id}Withdraws a request. Show Withdraw only while it is Pending; the server allows delete for own and team records.
Request
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | integer | yes |
- curl
- TypeScript (HRMS.Mobile)
curl -X DELETE "$BASE_URL/ThumbApplication/DeleteThumbApplication/5532" \
-H "Authorization: Bearer $TOKEN"
const id = 5532;
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.delete<boolean>(`ThumbApplication/DeleteThumbApplication/${id}`);
Response
HTTP 200 with the standard envelope. responseData is boolean.
Type: boolean Example response
Errors
- isSuccess: false · errorCode 1 “You can't view or delete this application.”
- isSuccess: false · errorCode 1 “Request Forbidden, Can't access proper Company.”
- isSuccess: false · errorCode 1 “Thumb 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/ThumbApplicationController.cs → ThumbApplicationService.DeleteThumbApplicationById · returns boolean
Attendance calendar (day by day)
/api/Report/GetEmployeeAttendanceReportDetailsOne row per day for the signed-in employee: eventDate, dayFlag (the day's status), inTime/outTime, worked/late/early/overtime times, and count columns. Send the same month in fromMonth and toMonth ("YYYYMM"), as the web dashboard does. Self-only for non-admins.
dayFlag values found in the stored procedures and the web app (meanings follow the matching count fields; confirm with the backend team before relying on the rarer ones):
dayFlag | Calendar status | Count field |
|---|---|---|
P | Present | pCount |
A | Absent | aCount |
MT | Missing punch (in without out) | mtCount |
L | Leave | lCount |
HL | Half-day leave | hlCount |
SL | Short leave | shortLeaveCount |
PH / UH | Holiday (paid / unpaid) | hCount |
W | Week off | — |
Late is not a dayFlag: use lateTime / lateCount. There is no WFH flag; WFH days come from WFH requests.
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/Report/GetEmployeeAttendanceReportDetails" \
-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"
}'
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": "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"
};
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
import type { TransactionApplicationDto } from './types'; // request DTO
const data = await api.post<EmployeeAttandanceDetailsReportDto[]>('Report/GetEmployeeAttendanceReportDetails', 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": "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 EmployeeAttandanceDetailsReportDto[].
An array of EmployeeAttandanceDetailsReportDto objects
| Field (JSON name) | Type |
|---|---|
employee | EmployeeSummaryDto |
eventDate | string (date-time) |
inTime | string (date-time) | null |
outTime | string (date-time) | null |
dayFlag | string |
dailyTime | string |
finalTime | string |
workTime | string |
presentTime | string |
lunchTime | string |
absentTime | string |
earlyTime | string |
lateTime | string |
otTime | string |
shortLeaveTime | string |
pCount | integer |
aCount | integer |
hlCount | integer |
hCount | integer |
mtCount | integer |
lCount | integer |
lateCount | integer |
earlyCount | integer |
otCount | integer |
shortLeaveCount | integer |
isManualAdjust | boolean |
isEditableLock | boolean |
manualAdjustId | integer |
manualAdjustRemark | string |
remark | string |
Example response
{
"isSuccess": true,
"responseData": [
{
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"eventDate": "2026-11-23T00:00:00",
"inTime": "2026-11-23T09:42:00",
"outTime": "2026-11-23T09:42:00",
"dayFlag": "string",
"dailyTime": "string",
"finalTime": "string",
"workTime": "string",
"presentTime": "string",
"lunchTime": "string",
"absentTime": "string",
"earlyTime": "string",
"lateTime": "string",
"otTime": "string",
"shortLeaveTime": "string",
"pCount": 3,
"aCount": 3,
"hlCount": 3,
"hCount": 3,
"mtCount": 3,
"lCount": 3,
"lateCount": 3,
"earlyCount": 3,
"otCount": 3,
"shortLeaveCount": 3,
"isManualAdjust": false,
"isEditableLock": false,
"manualAdjustId": 1,
"manualAdjustRemark": "Forgot to punch out, left at 6:45 PM",
"remark": "Forgot to punch out, left at 6:45 PM"
}
],
"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.GetEmployeeAttendanceDetailsReports · returns EmployeeAttandanceDetailsReportDto[]
Monthly attendance summary
/api/Report/GetEmployeeAttandanceMonthlySummaryReportMonth totals for the summary strip under the calendar: workingDay, presentDay, absentDay, leaveDay, halfLeaveDay, holiDay, missingThumbDay, lateInDay, earlyOutDay, otDay, shortLeaveDay, plus time totals. Note the misspelt route (Attandance). Month filter as above.
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/Report/GetEmployeeAttandanceMonthlySummaryReport" \
-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"
}'
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": "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"
};
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
import type { TransactionApplicationDto } from './types'; // request DTO
const data = await api.post<EmployeeAttendanceMonthlySummaryDto[]>('Report/GetEmployeeAttandanceMonthlySummaryReport', 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": "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 EmployeeAttendanceMonthlySummaryDto[].
An array of EmployeeAttendanceMonthlySummaryDto objects
| Field (JSON name) | Type |
|---|---|
employee | EmployeeSummaryDto |
eventMonth | string (date-time) |
workingDay | integer |
presentDay | integer |
absentDay | integer |
halfLeaveDay | integer |
leaveDay | integer |
missingThumbDay | integer |
holiDay | integer |
lateInDay | integer |
earlyOutDay | integer |
otDay | integer |
shortLeaveDay | integer |
dailyTime | string |
presentTime | string |
absentTime | string |
lunchTime | string |
earlyTime | string |
lateTime | string |
otTime | string |
shortLeaveTime | string |
Example response
{
"isSuccess": true,
"responseData": [
{
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"eventMonth": "2026-11-23T00:00:00",
"workingDay": 1,
"presentDay": 1,
"absentDay": 1,
"halfLeaveDay": 1,
"leaveDay": 1,
"missingThumbDay": 1,
"holiDay": 1,
"lateInDay": 1,
"earlyOutDay": 1,
"otDay": 1,
"shortLeaveDay": 1,
"dailyTime": "string",
"presentTime": "string",
"absentTime": "string",
"lunchTime": "string",
"earlyTime": "string",
"lateTime": "string",
"otTime": "string",
"shortLeaveTime": "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/ReportController.cs → ReportService.GetEmployeeAttandanceMonthlySummaryReport · returns EmployeeAttendanceMonthlySummaryDto[]
Late / early details
/api/Report/GetLateEarlyDetailsLate arrivals and early departures in a date range (fromDate/toDate, as the web report sends). Self-only for non-admins.
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/Report/GetLateEarlyDetails" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-11-01T00:00:00",
"toDate": "2026-11-30T00: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-11-01T00:00:00",
"toDate": "2026-11-30T00: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<LateEarlyDetailsDto[]>('Report/GetLateEarlyDetails', body);
{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-11-01T00:00:00",
"toDate": "2026-11-30T00: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 LateEarlyDetailsDto[].
An array of LateEarlyDetailsDto objects
| Field (JSON name) | Type |
|---|---|
entryDate | string (date-time) |
status | string |
timings | string |
lateTime | string |
earlyTime | string |
employee | EmployeeSummaryDto |
thumbInTime | string (date-time) | null |
thumbOutTime | string (date-time) | null |
empLegalName | string |
Example response
{
"isSuccess": true,
"responseData": [
{
"entryDate": "2026-11-23T00:00:00",
"status": "string",
"timings": "string",
"lateTime": "string",
"earlyTime": "string",
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"thumbInTime": "2026-11-23T09:42:00",
"thumbOutTime": "2026-11-23T09:42:00",
"empLegalName": "Priya Sharma"
}
],
"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.GetLateEarlyDetails · returns LateEarlyDetailsDto[]
Short hours
/api/Report/GetEmployeeShortHourDetailDays worked shorter than the shift, in a date range. Self-only for non-admins.
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/Report/GetEmployeeShortHourDetail" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-11-01T00:00:00",
"toDate": "2026-11-30T00: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-11-01T00:00:00",
"toDate": "2026-11-30T00: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<EmployeeShortHourDetailDto[]>('Report/GetEmployeeShortHourDetail', body);
{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-11-01T00:00:00",
"toDate": "2026-11-30T00: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 EmployeeShortHourDetailDto[].
An array of EmployeeShortHourDetailDto objects
| Field (JSON name) | Type |
|---|---|
employee | EmployeeSummaryDto |
timings | string |
empLegalName | string |
eventDate | string (date-time) | null |
inTime | string (date-time) | null |
outTime | string (date-time) | null |
presentTime | string |
absentTime | string |
Example response
{
"isSuccess": true,
"responseData": [
{
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"timings": "string",
"empLegalName": "Priya Sharma",
"eventDate": "2026-11-23T00:00:00",
"inTime": "2026-11-23T09:42:00",
"outTime": "2026-11-23T09:42:00",
"presentTime": "string",
"absentTime": "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/ReportController.cs → ReportService.GetEmployeeShortHourDetail · returns EmployeeShortHourDetailDto[]
Missing punches (report)
/api/Report/GetMissingThumbDetailsDays with a missing in or out punch in a date range. For the current month only, EmployeeDashboard/GetMonthlyMissingThumb is simpler.
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/Report/GetMissingThumbDetails" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-11-01T00:00:00",
"toDate": "2026-11-30T00: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-11-01T00:00:00",
"toDate": "2026-11-30T00: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<MissingThumbDetailsDto[]>('Report/GetMissingThumbDetails', body);
{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-11-01T00:00:00",
"toDate": "2026-11-30T00: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 MissingThumbDetailsDto[].
An array of MissingThumbDetailsDto objects
| Field (JSON name) | Type |
|---|---|
eventDate | string (date-time) | null |
inDateTime | string (date-time) | null |
outDateTime | string (date-time) | null |
timings | string |
employee | EmployeeSummaryDto |
empLegalName | string |
dayFlag | string |
Example response
{
"isSuccess": true,
"responseData": [
{
"eventDate": "2026-11-23T00:00:00",
"inDateTime": "2026-11-23T09:42:00",
"outDateTime": "2026-11-23T09:42:00",
"timings": "string",
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"empLegalName": "Priya Sharma",
"dayFlag": "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/ReportController.cs → ReportService.GetMissingThumbDetails · returns MissingThumbDetailsDto[]
Punch in/out details (report)
/api/Report/GetThumbInOutDetailsIn/out pairs per day with presentTime, the company/project and where the employee worked (thumbApplicationFromType), and the remark. Self-only for non-admins. For the normal Punch history screen, ClockInOut/ClockInOutInfo with month/year is enough.
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/Report/GetThumbInOutDetails" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-11-01T00:00:00",
"toDate": "2026-11-30T00: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-11-01T00:00:00",
"toDate": "2026-11-30T00: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<ThumbInOutDetailsDto[]>('Report/GetThumbInOutDetails', body);
{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-11-01T00:00:00",
"toDate": "2026-11-30T00: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 ThumbInOutDetailsDto[].
An array of ThumbInOutDetailsDto objects
| Field (JSON name) | Type |
|---|---|
eventDate | string (date-time) | null |
inDateTime | string (date-time) | null |
outDateTime | string (date-time) | null |
presentTime | string (date-time) | null |
employee | EmployeeSummaryDto |
dailyCount | integer |
empLegalName | string |
company | CompanyDto |
project | ProjectDto |
thumbApplicationFromType | ThumbApplicationFromType (enum)1 = Office2 = ProjectSite3 = OtherSite |
thumbApplicationFromTypeName | string |
thumbRemark | string |
Example response
{
"isSuccess": true,
"responseData": [
{
"eventDate": "2026-11-23T00:00:00",
"inDateTime": "2026-11-23T09:42:00",
"outDateTime": "2026-11-23T09:42:00",
"presentTime": "2026-11-23T09:42:00",
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"dailyCount": 3,
"empLegalName": "Priya Sharma",
"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"
},
"project": {
"id": 1045,
"projectName": "GIFT City Tower B",
"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"
},
"address": "B-402, Shaligram Heights, Satellite, Ahmedabad 380015",
"longitude": 72.5714,
"latitude": 23.0225,
"orderKey": "string",
"scope": "string",
"isActive": true,
"projectCompanyDistance": [
{
"id": 1045,
"projectId": 1,
"companyId": 1,
"company": {},
"distanceKM": 1,
"isActive": true
}
]
},
"thumbApplicationFromType": 1,
"thumbApplicationFromTypeName": "string",
"thumbRemark": "Forgot to punch out, left at 6:45 PM"
}
],
"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.GetThumbInOutDetails · returns ThumbInOutDetailsDto[]
My shift
/api/EmployeeShift/GetEmployeeShift/{id}Returns a shift assignment by its own id, which the app does not have. To show the employee's shift, use shift from Employee/GetEmployee or shiftName from dashboard basics (gap G14).
Request
| Parameter | In | Type | Required |
|---|---|---|---|
id | path | integer | yes |
- curl
- TypeScript (HRMS.Mobile)
curl -X GET "$BASE_URL/EmployeeShift/GetEmployeeShift/31" \
-H "Authorization: Bearer $TOKEN"
const id = 31;
import { api } from '@/services/api'; // HRMS.Mobile: unwraps ApiResponse<T>, throws ApiError
const data = await api.get<EmployeeShiftDto>(`EmployeeShift/GetEmployeeShift/${id}`);
Response
HTTP 200 with the standard envelope. responseData is EmployeeShiftDto.
| Field (JSON name) | Type |
|---|---|
id | integer |
employee | EmployeeSummaryDto |
shiftGroupType | ShiftGroupTypeDto |
fromDate | string (date-time) |
toDate | string (date-time) | null |
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"shiftGroupType": {
"id": 1045,
"shiftGroupName": "string",
"isActive": true
},
"fromDate": "2026-12-01T00:00:00",
"toDate": "2026-12-02T00:00:00"
},
"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/EmployeeShiftController.cs → EmployeeShiftService.GetEmployeeShiftApplicationById · returns EmployeeShiftDto