Skip to main content

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)​

  1. Ask for location permission (S82). The app records location only at the moment of the punch.
  2. Load the geofence targets once per session: locations (office) and projects (project sites). Each has latitude/longitude.
  3. 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.
  4. Create the punch with thumbSource: 2 (MobileQuick), thumbType 1 (In) or 2 (Out), GPS and the working-from choice.
  5. Show S12 using the returned punch (thumbStatus and thumbTime are the server's).
  6. Refresh today's punches for the Today card.

Clock in / clock out​

POST/api/ThumbApplication/CreateOrUpdateThumbApplication
Bearer tokenEmployee and team leaderP1Screens: S10, S11, S12

A clock-in or clock-out from the phone (thumbSource: 2 = MobileQuick).

FieldSend
idnull (always a new punch)
employeeIdthe signed-in employee's id (login employeeId)
thumbType1 In, 2 Out
thumbSource2 (MobileQuick)
thumbDate, thumbTimethe device's current date/time. The server replaces both with its own clock for MobileQuick.
thumbStatus0. Ignored: the server decides (Approved inside the geofence, otherwise the tenant default).
latitude, longitudeGPS at the moment of the punch. Send null only if location is unavailable (the punch then gets the tenant default status).
thumbApplicationFromType1 Office, 2 Project site, 3 Other site
projectId, companyIdfor Project site: the selected project and its company; otherwise null
thumbRemarkrequired 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
idinteger | null
employeeIdinteger
thumbDatestring (date-time)
thumbTimestring (date-time)
thumbTypeThumbApplicationType (enum)1 = InThumb2 = OutThumb
thumbSourceThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine
thumbStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
thumbRemarkstring
longitudenumber | null
latitudenumber | null
companyIdinteger | null
projectIdinteger | null
thumbApplicationFromTypeThumbApplicationFromType (enum) | null1 = Office2 = ProjectSite3 = OtherSite
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
}'

Response

HTTP 200 with the standard envelope. responseData is ThumbApplicationDto.

ThumbApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
thumbDatestring (date-time)
thumbTimestring (date-time)
thumbTypeThumbApplicationType (enum)1 = InThumb2 = OutThumb
thumbTypeNamestring
thumbStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
thumbSourceThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine
thumbStatusNamestring
thumbRemarkstring
longitudenumber | null
latitudenumber | null
thumbRequestDatestring (date-time)
companyCompanyDto
projectProjectDto
thumbApplicationFromTypeThumbApplicationFromType (enum)1 = Office2 = ProjectSite3 = OtherSite
thumbApplicationFromTypeNamestring
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​

GET/api/Location/GetActiveLocations
Bearer tokenEmployee and team leaderP1Screens: S11

Active 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 -X GET "$BASE_URL/Location/GetActiveLocations" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of LocationDto objects

Field (JSON name)Type
idinteger
companyCompanyDto
locationNamestring
isActiveboolean
longitudenumber | null
latitudenumber | 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)​

GET/api/Project/GetActiveProjects
Bearer tokenEmployee and team leaderP1Screens: S11, S23

Active 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 -X GET "$BASE_URL/Project/GetActiveProjects" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of ProjectDto objects

Field (JSON name)Type
idinteger
projectNamestring
companyIdinteger
companyCompanyDto
addressstring
longitudenumber | null
latitudenumber | null
orderKeystring
scopestring
isActiveboolean
projectCompanyDistanceProjectCompanyDistanceDto[]
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​

GET/api/Project/GetAllCompaniesActiveProjects
Bearer tokenEmployee and team leaderP2Screens: S23

All 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 -X GET "$BASE_URL/Project/GetAllCompaniesActiveProjects" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of ProjectDto objects

Field (JSON name)Type
idinteger
projectNamestring
companyIdinteger
companyCompanyDto
addressstring
longitudenumber | null
latitudenumber | null
orderKeystring
scopestring
isActiveboolean
projectCompanyDistanceProjectCompanyDistanceDto[]
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​

GET/api/Company/GetActiveCompanies
Bearer tokenEmployee and team leaderP2Screens: S23

All 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 -X GET "$BASE_URL/Company/GetActiveCompanies" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of CompanyDto objects

Field (JSON name)Type
idinteger
companyNamestring
companyWebsitestring
personNamestring
companyLegalNamestring
panCardstring
tanCardstring
addressstring
contactNostring
emailstring
isActiveboolean
pfNostring
pfGroupstring
pfEstNostring
esicNostring
lwfNostring
ptNostring
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​

POST/api/ThumbApplication/CreateOrUpdateThumbApplication
Bearer tokenEmployee and team leaderP1Screens: S21, S23

A 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: 1 In or 2 Out (S23 segmented control).
  • thumbStatus: send 0. Non-admins always get the tenant's default punch status.
  • Thumb Application Limit Days Exceeded, You Can't Add This Entry: the SQL function GET_APPLICATION_ENTRY_ALLOW refuses it when the employee is inactive or has an approved leave covering that date (despite the wording, there is no day-count limit; the applicationLimitDays setting is not used by the API code). Tell the user they are on approved leave that day.
  • Edit a pending request: send its id with the changes and status 0 (or the tenant default status). See Server rules.

Request

JSON body:

CreateOrUpdateThumbApplicationDto

Field (JSON name)Type
idinteger | null
employeeIdinteger
thumbDatestring (date-time)
thumbTimestring (date-time)
thumbTypeThumbApplicationType (enum)1 = InThumb2 = OutThumb
thumbSourceThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine
thumbStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
thumbRemarkstring
longitudenumber | null
latitudenumber | null
companyIdinteger | null
projectIdinteger | null
thumbApplicationFromTypeThumbApplicationFromType (enum) | null1 = Office2 = ProjectSite3 = OtherSite
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
}'

Response

HTTP 200 with the standard envelope. responseData is ThumbApplicationDto.

ThumbApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
thumbDatestring (date-time)
thumbTimestring (date-time)
thumbTypeThumbApplicationType (enum)1 = InThumb2 = OutThumb
thumbTypeNamestring
thumbStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
thumbSourceThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine
thumbStatusNamestring
thumbRemarkstring
longitudenumber | null
latitudenumber | null
thumbRequestDatestring (date-time)
companyCompanyDto
projectProjectDto
thumbApplicationFromTypeThumbApplicationFromType (enum)1 = Office2 = ProjectSite3 = OtherSite
thumbApplicationFromTypeNamestring
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​

POST/api/ThumbApplication/GetAllThumbApplications
Bearer tokenEmployee and team leaderP1Screens: S30

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

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/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"
}'

Response

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

An array of ThumbApplicationDto objects

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
thumbDatestring (date-time)
thumbTimestring (date-time)
thumbTypeThumbApplicationType (enum)1 = InThumb2 = OutThumb
thumbTypeNamestring
thumbStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
thumbSourceThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine
thumbStatusNamestring
thumbRemarkstring
longitudenumber | null
latitudenumber | null
thumbRequestDatestring (date-time)
companyCompanyDto
projectProjectDto
thumbApplicationFromTypeThumbApplicationFromType (enum)1 = Office2 = ProjectSite3 = OtherSite
thumbApplicationFromTypeNamestring
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​

GET/api/ThumbApplication/GetThumbApplication
Bearer tokenEmployee and team leaderP1Screens: S35

One punch by id (query string). Own and team records only.

Request

ParameterInTypeRequired
idquery stringintegeryes
curl -X GET "$BASE_URL/ThumbApplication/GetThumbApplication?id=5532" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is ThumbApplicationDto.

ThumbApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
thumbDatestring (date-time)
thumbTimestring (date-time)
thumbTypeThumbApplicationType (enum)1 = InThumb2 = OutThumb
thumbTypeNamestring
thumbStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
thumbSourceThumbSource (enum)0 = Desktop1 = Mobile2 = MobileQuick3 = ThumbMachine
thumbStatusNamestring
thumbRemarkstring
longitudenumber | null
latitudenumber | null
thumbRequestDatestring (date-time)
companyCompanyDto
projectProjectDto
thumbApplicationFromTypeThumbApplicationFromType (enum)1 = Office2 = ProjectSite3 = OtherSite
thumbApplicationFromTypeNamestring
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​

DELETE/api/ThumbApplication/DeleteThumbApplication/{id}
Bearer tokenEmployee and team leaderP1Screens: S35

Withdraws a request. Show Withdraw only while it is Pending; the server allows delete for own and team records.

Request

ParameterInTypeRequired
idpathintegeryes
curl -X DELETE "$BASE_URL/ThumbApplication/DeleteThumbApplication/5532" \
-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'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)​

POST/api/Report/GetEmployeeAttendanceReportDetails
Bearer tokenEmployee and team leaderP1Screens: S20, S21

One 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):

dayFlagCalendar statusCount field
PPresentpCount
AAbsentaCount
MTMissing punch (in without out)mtCount
LLeavelCount
HLHalf-day leavehlCount
SLShort leaveshortLeaveCount
PH / UHHoliday (paid / unpaid)hCount
WWeek off—

Late is not a dayFlag: use lateTime / lateCount. There is no WFH flag; WFH days come from WFH requests.

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/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"
}'

Response

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

An array of EmployeeAttandanceDetailsReportDto objects

Field (JSON name)Type
employeeEmployeeSummaryDto
eventDatestring (date-time)
inTimestring (date-time) | null
outTimestring (date-time) | null
dayFlagstring
dailyTimestring
finalTimestring
workTimestring
presentTimestring
lunchTimestring
absentTimestring
earlyTimestring
lateTimestring
otTimestring
shortLeaveTimestring
pCountinteger
aCountinteger
hlCountinteger
hCountinteger
mtCountinteger
lCountinteger
lateCountinteger
earlyCountinteger
otCountinteger
shortLeaveCountinteger
isManualAdjustboolean
isEditableLockboolean
manualAdjustIdinteger
manualAdjustRemarkstring
remarkstring
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​

POST/api/Report/GetEmployeeAttandanceMonthlySummaryReport
Bearer tokenEmployee and team leaderP1Screens: S20

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

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/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"
}'

Response

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

An array of EmployeeAttendanceMonthlySummaryDto objects

Field (JSON name)Type
employeeEmployeeSummaryDto
eventMonthstring (date-time)
workingDayinteger
presentDayinteger
absentDayinteger
halfLeaveDayinteger
leaveDayinteger
missingThumbDayinteger
holiDayinteger
lateInDayinteger
earlyOutDayinteger
otDayinteger
shortLeaveDayinteger
dailyTimestring
presentTimestring
absentTimestring
lunchTimestring
earlyTimestring
lateTimestring
otTimestring
shortLeaveTimestring
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​

POST/api/Report/GetLateEarlyDetails
Bearer tokenEmployee and team leaderP2Screens: S20, S21

Late arrivals and early departures in a date range (fromDate/toDate, as the web report sends). Self-only for non-admins.

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/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"
}'

Response

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

An array of LateEarlyDetailsDto objects

Field (JSON name)Type
entryDatestring (date-time)
statusstring
timingsstring
lateTimestring
earlyTimestring
employeeEmployeeSummaryDto
thumbInTimestring (date-time) | null
thumbOutTimestring (date-time) | null
empLegalNamestring
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​

POST/api/Report/GetEmployeeShortHourDetail
Bearer tokenEmployee and team leaderP2Screens: S21

Days worked shorter than the shift, in a date range. Self-only for non-admins.

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/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"
}'

Response

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

An array of EmployeeShortHourDetailDto objects

Field (JSON name)Type
employeeEmployeeSummaryDto
timingsstring
empLegalNamestring
eventDatestring (date-time) | null
inTimestring (date-time) | null
outTimestring (date-time) | null
presentTimestring
absentTimestring
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)​

POST/api/Report/GetMissingThumbDetails
Bearer tokenEmployee and team leaderP2Screens: S20, S22

Days with a missing in or out punch in a date range. For the current month only, EmployeeDashboard/GetMonthlyMissingThumb is simpler.

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/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"
}'

Response

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

An array of MissingThumbDetailsDto objects

Field (JSON name)Type
eventDatestring (date-time) | null
inDateTimestring (date-time) | null
outDateTimestring (date-time) | null
timingsstring
employeeEmployeeSummaryDto
empLegalNamestring
dayFlagstring
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)​

POST/api/Report/GetThumbInOutDetails
Bearer tokenEmployee and team leaderP2Screens: S22

In/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:

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/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"
}'

Response

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

An array of ThumbInOutDetailsDto objects

Field (JSON name)Type
eventDatestring (date-time) | null
inDateTimestring (date-time) | null
outDateTimestring (date-time) | null
presentTimestring (date-time) | null
employeeEmployeeSummaryDto
dailyCountinteger
empLegalNamestring
companyCompanyDto
projectProjectDto
thumbApplicationFromTypeThumbApplicationFromType (enum)1 = Office2 = ProjectSite3 = OtherSite
thumbApplicationFromTypeNamestring
thumbRemarkstring
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​

GET/api/EmployeeShift/GetEmployeeShift/{id}
Bearer tokenNot for the appP3

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

ParameterInTypeRequired
idpathintegeryes
curl -X GET "$BASE_URL/EmployeeShift/GetEmployeeShift/31" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is EmployeeShiftDto.

EmployeeShiftDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
shiftGroupTypeShiftGroupTypeDto
fromDatestring (date-time)
toDatestring (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