Skip to main content

Other applications

Plan section 2.4 · Screen S31 types beyond leave/WFH/missed punch. All follow the same pattern and server rules as leave: list with the filter object, CreateOrUpdate… with id: null to create, status 0 from the app, get by id, delete while pending. Approve/reject is on Team approvals.

Holiday working / comp-off has no API (gap G7).

Overtime (P2)​

My overtime requests​

POST/api/OverTimeApplication/GetAllOvertimeApplications
Bearer tokenEmployee and team leaderP2Screens: S30

Team leaders also get their team's requests; filter by employee.id for "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/OverTimeApplication/GetAllOvertimeApplications" \
-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 OverTimeApplicationDto[].

An array of OverTimeApplicationDto objects

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
otDatestring (date-time)
otHoursnumber
approverEmployeeSummaryDto
approveHrsnumber
overtimeStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
overtimeStatusTypestring
otRemarkstring
thumbInTimestring (date-time) | null
thumbOutTimestring (date-time) | null
presentTimestring
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"otDate": "2026-11-23T00:00:00",
"otHours": 6,
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approveHrs": 6,
"overtimeStatus": 0,
"overtimeStatusType": "string",
"otRemark": "Forgot to punch out, left at 6:45 PM",
"thumbInTime": "2026-11-23T09:42:00",
"thumbOutTime": "2026-11-23T09:42:00",
"presentTime": "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/OverTimeApplicationController.cs → OvertimeApplicationService.GetAllOvertimeApplications · returns OverTimeApplicationDto[]

Overtime detail​

GET/api/OverTimeApplication/GetOvertimeApplication
Bearer tokenEmployee and team leaderP2

Request

ParameterInTypeRequired
idquery stringintegeryes
curl -X GET "$BASE_URL/OverTimeApplication/GetOvertimeApplication?id=77" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is OverTimeApplicationDto.

OverTimeApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
otDatestring (date-time)
otHoursnumber
approverEmployeeSummaryDto
approveHrsnumber
overtimeStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
overtimeStatusTypestring
otRemarkstring
thumbInTimestring (date-time) | null
thumbOutTimestring (date-time) | null
presentTimestring
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"otDate": "2026-11-23T00:00:00",
"otHours": 6,
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approveHrs": 6,
"overtimeStatus": 0,
"overtimeStatusType": "string",
"otRemark": "Forgot to punch out, left at 6:45 PM",
"thumbInTime": "2026-11-23T09:42:00",
"thumbOutTime": "2026-11-23T09:42:00",
"presentTime": "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/OverTimeApplicationController.cs → OvertimeApplicationService.GetOvertimeApplicationById · returns OverTimeApplicationDto

Request or edit overtime​

POST/api/OverTimeApplication/CreateOrUpdateOvertimeApplication
Bearer tokenEmployee and team leaderP2Screens: S31
  • otHours: hours requested (decimal).
  • approveHrs: send 0. On approval the server copies otHours into it unless it is already above 0, so a non-zero value sent by the employee would be kept.
  • overtimeStatus: 0.
  • Refused ("Limit Days Exceeded" message) when the employee has approved leave on otDate, or an approved overtime already exists for that date (GET_APPLICATION_ENTRY_ALLOW with the overtime flag).

Request

JSON body:

CreateOrUpdateOverTimeApplicationDto

Field (JSON name)Type
idinteger | null
employeeIdinteger
otDatestring (date-time)
otHoursnumber
approverIdinteger | null
approveHrsnumber
overtimeStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
otRemarkstring
curl -X POST "$BASE_URL/OverTimeApplication/CreateOrUpdateOvertimeApplication" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": null,
"employeeId": 142,
"otDate": "2026-11-21T00:00:00",
"otHours": 2.5,
"approverId": 96,
"approveHrs": 0,
"overtimeStatus": 0,
"otRemark": "Slab casting at GIFT City Tower B"
}'

Response

HTTP 200 with the standard envelope. responseData is OverTimeApplicationDto.

OverTimeApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
otDatestring (date-time)
otHoursnumber
approverEmployeeSummaryDto
approveHrsnumber
overtimeStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
overtimeStatusTypestring
otRemarkstring
thumbInTimestring (date-time) | null
thumbOutTimestring (date-time) | null
presentTimestring
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"otDate": "2026-11-23T00:00:00",
"otHours": 6,
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approveHrs": 6,
"overtimeStatus": 0,
"overtimeStatusType": "string",
"otRemark": "Forgot to punch out, left at 6:45 PM",
"thumbInTime": "2026-11-23T09:42:00",
"thumbOutTime": "2026-11-23T09:42:00",
"presentTime": "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 “Overtime Not Found.”
  • isSuccess: false · errorCode 1 “(computed: $"{isOTDateExist.Employee.EmpName}'s OverTime Already Exist )”
  • isSuccess: false · errorCode 1 “Overtime 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/OverTimeApplicationController.cs → OvertimeApplicationService.CreateOrUpdateOvertimeApplication · returns OverTimeApplicationDto

Withdraw overtime​

DELETE/api/OverTimeApplication/DeleteOvertimeApplication/{id}
Bearer tokenEmployee and team leaderP2

Request

ParameterInTypeRequired
idpathintegeryes
curl -X DELETE "$BASE_URL/OverTimeApplication/DeleteOvertimeApplication/77" \
-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 “Overtime 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/OverTimeApplicationController.cs → OvertimeApplicationService.DeleteOvertimeApplicationById · returns boolean

Clarification (P2)​

A clarification is an application the employee files for a specific date and time with a reason (for example explaining a late arrival). Offer it only when login's isClarify is true (a designation flag).

My clarifications​

POST/api/Clarification/GetAllClarification
Bearer tokenEmployee and team leaderP2Screens: S30

Self-only for every non-admin.

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/Clarification/GetAllClarification" \
-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 ClarificationDto[].

An array of ClarificationDto objects

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
approverEmployeeSummaryDto
clarificationDatestring (date-time)
clarificationTimestring (date-time)
clarificationRequestDatestring (date-time)
reasonstring
statusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"clarificationDate": "2026-11-23T00:00:00",
"clarificationTime": "2026-11-23T09:42:00",
"clarificationRequestDate": "2026-11-23T00:00:00",
"reason": "Forgot to punch out, left at 6:45 PM",
"status": 0
}
],
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}

Errors

  • HTTP 401 missing or expired token (see token expiry).
  • HTTP 500 unhandled server exception (HTML/text body, not JSON).

Source: HRMS.WebAPI/Controllers/ClarificationController.cs → ClarificationService.GetAllClarification · returns ClarificationDto[]

Clarification detail​

GET/api/Clarification/GetClarificationById
Bearer tokenEmployee and team leaderP2

Request

ParameterInTypeRequired
idquery stringintegeryes
curl -X GET "$BASE_URL/Clarification/GetClarificationById?id=18" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is ClarificationDto.

ClarificationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
approverEmployeeSummaryDto
clarificationDatestring (date-time)
clarificationTimestring (date-time)
clarificationRequestDatestring (date-time)
reasonstring
statusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"clarificationDate": "2026-11-23T00:00:00",
"clarificationTime": "2026-11-23T09:42:00",
"clarificationRequestDate": "2026-11-23T00:00:00",
"reason": "Forgot to punch out, left at 6:45 PM",
"status": 0
},
"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/ClarificationController.cs → ClarificationService.GetClarificationById · returns ClarificationDto

File or edit a clarification​

POST/api/Clarification/CreateOrUpdateClarification
Bearer tokenEmployee and team leaderP2Screens: S31

Refused with Clarification Application Limit Days Exceeded… when the employee has approved leave on that date (same check as punches, see Server rules; not a day-count limit), and with Clarification Application already exist! when one already exists for that date.

Request

JSON body:

CreateOrUpdateClarificationDto

Field (JSON name)Type
idinteger | null
employeeIdinteger
approverIdinteger | null
clarificationDatestring (date-time)
clarificationTimestring (date-time)
reasonstring
statusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
curl -X POST "$BASE_URL/Clarification/CreateOrUpdateClarification" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": null,
"employeeId": 142,
"approverId": 96,
"clarificationDate": "2026-11-17T00:00:00",
"clarificationTime": "2026-11-17T09:47:00",
"reason": "Traffic diversion near Sabarmati bridge",
"status": 0
}'

Response

HTTP 200 with the standard envelope. responseData is ClarificationDto.

ClarificationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
approverEmployeeSummaryDto
clarificationDatestring (date-time)
clarificationTimestring (date-time)
clarificationRequestDatestring (date-time)
reasonstring
statusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"clarificationDate": "2026-11-23T00:00:00",
"clarificationTime": "2026-11-23T09:42:00",
"clarificationRequestDate": "2026-11-23T00:00:00",
"reason": "Forgot to punch out, left at 6:45 PM",
"status": 0
},
"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 “Clarification Application Limit Days Exceeded, You Can't Update This Entry”
  • isSuccess: false · errorCode 1 “Clarification Data Not Found.”
  • isSuccess: false · errorCode 1 “Clarification Application Limit Days Exceeded, You Can't Add This Entry”
  • isSuccess: false · errorCode 1 “Clarification Application already exist!”
  • 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/ClarificationController.cs → ClarificationService.CreateOrUpdateClarification · returns ClarificationDto

Withdraw a clarification​

DELETE/api/Clarification/DeleteClarificationApplication/{id}
Bearer tokenEmployee and team leaderP2

Request

ParameterInTypeRequired
idpathintegeryes
curl -X DELETE "$BASE_URL/Clarification/DeleteClarificationApplication/18" \
-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 “Clarification 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/ClarificationController.cs → ClarificationService.DeleteClarificationApplication · returns boolean

Fuel allowance (P2)​

Only for employees who have the benefit. Vehicle types come from CommonEnumValues/GetAllVehicleType.

My fuel allowance claims​

POST/api/FuelAllowanceApplication/GetAllFuelAllowanceApplications
Bearer tokenEmployee and team leaderP2Screens: S30

Team leaders also get their team's claims.

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/FuelAllowanceApplication/GetAllFuelAllowanceApplications" \
-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 FuelAllowanceApplicationDto[].

An array of FuelAllowanceApplicationDto objects

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
transactionDatestring (date-time)
vehicleTypeIdVehicleType (enum)1 = Bike2 = Car
vehicleTypeNamestring
requestKMnumber
approverEmployeeSummaryDto
approveKMnumber
fuelAllowanceStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
fuelAllowanceStatusTypestring
remarkstring
companyCompanyDto
projectProjectDto
vehicleNostring
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"transactionDate": "2026-11-23T00:00:00",
"vehicleTypeId": 1,
"vehicleTypeName": "string",
"requestKM": 1,
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approveKM": 1,
"fuelAllowanceStatus": 0,
"fuelAllowanceStatusType": "string",
"remark": "Forgot to punch out, left at 6:45 PM",
"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
}
]
},
"vehicleNo": "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/FuelAllowanceApplicationController.cs → FuelAllowanceApplicationService.GetAllFuelAllowanceApplications · returns FuelAllowanceApplicationDto[]

Fuel allowance detail​

GET/api/FuelAllowanceApplication/GetFuelAllowanceApplication
Bearer tokenEmployee and team leaderP2

Request

ParameterInTypeRequired
idquery stringintegeryes
curl -X GET "$BASE_URL/FuelAllowanceApplication/GetFuelAllowanceApplication?id=64" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is FuelAllowanceApplicationDto.

FuelAllowanceApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
transactionDatestring (date-time)
vehicleTypeIdVehicleType (enum)1 = Bike2 = Car
vehicleTypeNamestring
requestKMnumber
approverEmployeeSummaryDto
approveKMnumber
fuelAllowanceStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
fuelAllowanceStatusTypestring
remarkstring
companyCompanyDto
projectProjectDto
vehicleNostring
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"transactionDate": "2026-11-23T00:00:00",
"vehicleTypeId": 1,
"vehicleTypeName": "string",
"requestKM": 1,
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approveKM": 1,
"fuelAllowanceStatus": 0,
"fuelAllowanceStatusType": "string",
"remark": "Forgot to punch out, left at 6:45 PM",
"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
}
]
},
"vehicleNo": "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/FuelAllowanceApplicationController.cs → FuelAllowanceApplicationService.GetFuelAllowanceApplicationById · returns FuelAllowanceApplicationDto

Claim or edit fuel allowance​

POST/api/FuelAllowanceApplication/CreateOrUpdateFuelAllowanceApplication
Bearer tokenEmployee and team leaderP2Screens: S31
  • requestKM: kilometres claimed. approveKM: send 0 (same rule as overtime approveHrs).
  • vehicleTypeId is the VehicleType enum value.
  • companyId/projectId: the site visited, if any.

Request

JSON body:

CreateOrUpdateFuelAllowanceApplicationDto

Field (JSON name)Type
idinteger | null
employeeIdinteger
transactionDatestring (date-time)
vehicleTypeIdVehicleType (enum)1 = Bike2 = Car
requestKMnumber
approverIdinteger | null
approveKMnumber
fuelAllowanceStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
remarkstring
companyIdinteger | null
projectIdinteger | null
vehicleNostring
curl -X POST "$BASE_URL/FuelAllowanceApplication/CreateOrUpdateFuelAllowanceApplication" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": null,
"employeeId": 142,
"transactionDate": "2026-11-21T00:00:00",
"vehicleTypeId": 1,
"requestKM": 42,
"approverId": 96,
"approveKM": 0,
"fuelAllowanceStatus": 0,
"remark": "Site visit GIFT City Tower B",
"companyId": 1,
"projectId": 12,
"vehicleNo": "GJ01AB1234"
}'

Response

HTTP 200 with the standard envelope. responseData is FuelAllowanceApplicationDto.

FuelAllowanceApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
transactionDatestring (date-time)
vehicleTypeIdVehicleType (enum)1 = Bike2 = Car
vehicleTypeNamestring
requestKMnumber
approverEmployeeSummaryDto
approveKMnumber
fuelAllowanceStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
fuelAllowanceStatusTypestring
remarkstring
companyCompanyDto
projectProjectDto
vehicleNostring
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"transactionDate": "2026-11-23T00:00:00",
"vehicleTypeId": 1,
"vehicleTypeName": "string",
"requestKM": 1,
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approveKM": 1,
"fuelAllowanceStatus": 0,
"fuelAllowanceStatusType": "string",
"remark": "Forgot to punch out, left at 6:45 PM",
"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
}
]
},
"vehicleNo": "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 “Fuel Allowance Not Found.”
  • isSuccess: false · errorCode 1 “(computed: $"{isTransactionDateExist.Employee.EmpName}'s Fuel Allowance)”
  • 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/FuelAllowanceApplicationController.cs → FuelAllowanceApplicationService.CreateOrUpdateFuelAllowanceApplication · returns FuelAllowanceApplicationDto

Withdraw a fuel claim​

DELETE/api/FuelAllowanceApplication/DeleteFuelAllowanceApplication/{id}
Bearer tokenEmployee and team leaderP2

Request

ParameterInTypeRequired
idpathintegeryes
curl -X DELETE "$BASE_URL/FuelAllowanceApplication/DeleteFuelAllowanceApplication/64" \
-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 “FuelAllowance 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/FuelAllowanceApplicationController.cs → FuelAllowanceApplicationService.DeleteFuelAllowanceApplicationById · returns boolean

Compensation (P3)​

Compensation types​

GET/api/Compensation/GetActiveCompensation
Bearer tokenEmployee and team leaderP3

Active compensation types for the type picker (compensationTypeId).

Request

No parameters and no body.

curl -X GET "$BASE_URL/Compensation/GetActiveCompensation" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of CompensationDto objects

Field (JSON name)Type
idinteger
compensationNamestring
shortCodestring
benefitTypeBenefitType (enum)1 = Allowance2 = CompensatoryOff
benefitTypeNamestring
benefitValuenumber
isActiveboolean
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"compensationName": "string",
"shortCode": "string",
"benefitType": 1,
"benefitTypeName": "string",
"benefitValue": 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/CompensationController.cs → CompensationService.GetActiveCompensation · returns CompensationDto[]

My compensation claims​

POST/api/CompensationApplication/GetAllCompensationApplications
Bearer tokenEmployee and team leaderP3

Team leaders also get their team's claims.

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/CompensationApplication/GetAllCompensationApplications" \
-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 CompensationApplicationDto[].

An array of CompensationApplicationDto objects

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
approverEmployeeSummaryDto
compensationRequestDatestring (date-time)
compensationTypeCompensationDto
fromDatestring (date-time)
toDatestring (date-time)
compensationReasonstring
compensationStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
compensationStatusTypestring
companyCompanyDto
projectProjectDto
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"compensationRequestDate": "2026-11-23T00:00:00",
"compensationType": {
"id": 1045,
"compensationName": "string",
"shortCode": "string",
"benefitType": 1,
"benefitTypeName": "string",
"benefitValue": 1,
"isActive": true
},
"fromDate": "2026-12-01T00:00:00",
"toDate": "2026-12-02T00:00:00",
"compensationReason": "Forgot to punch out, left at 6:45 PM",
"compensationStatus": 0,
"compensationStatusType": "string",
"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
}
]
}
}
],
"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/CompensationApplicationController.cs → CompensationApplicationService.GetAllCompensationApplications · returns CompensationApplicationDto[]

Compensation detail​

GET/api/CompensationApplication/GetCompensationApplication
Bearer tokenEmployee and team leaderP3

Request

ParameterInTypeRequired
idquery stringintegeryes
curl -X GET "$BASE_URL/CompensationApplication/GetCompensationApplication?id=9" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is CompensationApplicationDto.

CompensationApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
approverEmployeeSummaryDto
compensationRequestDatestring (date-time)
compensationTypeCompensationDto
fromDatestring (date-time)
toDatestring (date-time)
compensationReasonstring
compensationStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
compensationStatusTypestring
companyCompanyDto
projectProjectDto
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"compensationRequestDate": "2026-11-23T00:00:00",
"compensationType": {
"id": 1045,
"compensationName": "string",
"shortCode": "string",
"benefitType": 1,
"benefitTypeName": "string",
"benefitValue": 1,
"isActive": true
},
"fromDate": "2026-12-01T00:00:00",
"toDate": "2026-12-02T00:00:00",
"compensationReason": "Forgot to punch out, left at 6:45 PM",
"compensationStatus": 0,
"compensationStatusType": "string",
"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
}
]
}
},
"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/CompensationApplicationController.cs → CompensationApplicationService.GetCompensationApplicationById · returns CompensationApplicationDto

Claim or edit compensation​

POST/api/CompensationApplication/CreateOrUpdateCompensationApplication
Bearer tokenEmployee and team leaderP3

Request

JSON body:

CreateOrUpdateCompensationApplicationDto

Field (JSON name)Type
idinteger | null
employeeIdinteger
approverIdinteger | null
compensationTypeIdinteger
fromDatestring (date-time)
toDatestring (date-time)
compensationReasonstring
compensationStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
companyIdinteger | null
projectIdinteger | null
curl -X POST "$BASE_URL/CompensationApplication/CreateOrUpdateCompensationApplication" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": null,
"employeeId": 142,
"approverId": 96,
"compensationTypeId": 2,
"fromDate": "2026-11-21T00:00:00",
"toDate": "2026-11-21T00:00:00",
"compensationReason": "Worked on Sunday for slab casting",
"compensationStatus": 0,
"companyId": 1,
"projectId": 12
}'

Response

HTTP 200 with the standard envelope. responseData is CompensationApplicationDto.

CompensationApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
approverEmployeeSummaryDto
compensationRequestDatestring (date-time)
compensationTypeCompensationDto
fromDatestring (date-time)
toDatestring (date-time)
compensationReasonstring
compensationStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
compensationStatusTypestring
companyCompanyDto
projectProjectDto
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"compensationRequestDate": "2026-11-23T00:00:00",
"compensationType": {
"id": 1045,
"compensationName": "string",
"shortCode": "string",
"benefitType": 1,
"benefitTypeName": "string",
"benefitValue": 1,
"isActive": true
},
"fromDate": "2026-12-01T00:00:00",
"toDate": "2026-12-02T00:00:00",
"compensationReason": "Forgot to punch out, left at 6:45 PM",
"compensationStatus": 0,
"compensationStatusType": "string",
"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
}
]
}
},
"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 “Compensation Application Not Found.”
  • isSuccess: false · errorCode 1 “Compensation Application already exist!”
  • 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/CompensationApplicationController.cs → CompensationApplicationService.CreateOrUpdateCompensationApplication · returns CompensationApplicationDto

Withdraw a compensation claim​

DELETE/api/CompensationApplication/DeleteCompensationApplication/{id}
Bearer tokenEmployee and team leaderP3

Request

ParameterInTypeRequired
idpathintegeryes
curl -X DELETE "$BASE_URL/CompensationApplication/DeleteCompensationApplication/9" \
-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 “Compensation Application 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/CompensationApplicationController.cs → CompensationApplicationService.DeleteCompensationApplicationById · returns boolean

Extra pay (P3)​

My extra pay​

POST/api/ExtraPayApplication/GetAllExtraPayApplications
Bearer tokenEmployee and team leaderP3

Self-only for non-admins. The stored procedure declares fromMonth/toMonth but does not use them, so the list always returns all your extra-pay entries; filter by payMonth on the device.

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/ExtraPayApplication/GetAllExtraPayApplications" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-12-01T00:00:00",
"toDate": "2026-12-02T00:00:00",
"fromMonth": "202610",
"toMonth": "202610",
"gender": "string",
"branchIds": [
1
],
"departmentIds": [
1
],
"designationIds": [
1
],
"approverIds": [
1
],
"employeeStatus": 1,
"applicationStatus": 1,
"locationIds": [
1
],
"employee_Type": 1,
"financialYear": [
"2026-2027"
],
"slabTypeId": [
1
],
"itMethodId": [
1
],
"categoryId": 1,
"location": "string",
"isAssign": false,
"joinDate": "string"
}'

Response

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

An array of ExtraPayApplicationDto objects

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
approverEmployeeSummaryDto
payDatestring (date-time)
payAmountnumber
payMonthstring
payRemarkstring
allowanceTypestring
payReferenceIdinteger | null
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"payDate": "2026-11-23T00:00:00",
"payAmount": 58240,
"payMonth": "202610",
"payRemark": "Forgot to punch out, left at 6:45 PM",
"allowanceType": "string",
"payReferenceId": 58240
}
],
"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/ExtraPayApplicationController.cs → ExtraPayApplicationService.GetAllExtraPayApplications · returns ExtraPayApplicationDto[]

Extra pay detail​

GET/api/ExtraPayApplication/GetExtraPayApplication
Bearer tokenEmployee and team leaderP3

Request

ParameterInTypeRequired
idquery stringintegeryes
curl -X GET "$BASE_URL/ExtraPayApplication/GetExtraPayApplication?id=5" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is ExtraPayApplicationDto.

ExtraPayApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
approverEmployeeSummaryDto
payDatestring (date-time)
payAmountnumber
payMonthstring
payRemarkstring
allowanceTypestring
payReferenceIdinteger | null
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"payDate": "2026-11-23T00:00:00",
"payAmount": 58240,
"payMonth": "202610",
"payRemark": "Forgot to punch out, left at 6:45 PM",
"allowanceType": "string",
"payReferenceId": 58240
},
"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/ExtraPayApplicationController.cs → ExtraPayApplicationService.GetExtraPayApplicationById · returns ExtraPayApplicationDto

Last extra pay entry​

GET/api/ExtraPayApplication/GetLastExtraPayApplication
Bearer tokenEmployee and team leaderP3

Request

ParameterInTypeRequired
currentMonthquery stringstringyes
curl -X GET "$BASE_URL/ExtraPayApplication/GetLastExtraPayApplication?currentMonth=string" \
-H "Authorization: Bearer $TOKEN"

Response

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

An array of ExtraPayApplicationDto objects

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
approverEmployeeSummaryDto
payDatestring (date-time)
payAmountnumber
payMonthstring
payRemarkstring
allowanceTypestring
payReferenceIdinteger | null
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"payDate": "2026-11-23T00:00:00",
"payAmount": 58240,
"payMonth": "202610",
"payRemark": "Forgot to punch out, left at 6:45 PM",
"allowanceType": "string",
"payReferenceId": 58240
}
],
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}

Errors

  • isSuccess: false · errorCode 1 “Request Forbidden, Can't access proper Company.”
  • isSuccess: false · errorCode 1 “You Entered Month is Not Found!”
  • HTTP 401 missing or expired token (see token expiry).
  • HTTP 500 unhandled server exception (HTML/text body, not JSON).

On these errors responseData is null. Show errorMessage to the user as-is.

Source: HRMS.WebAPI/Controllers/ExtraPayApplicationController.cs → ExtraPayApplicationService.GetLastExtraPayApplication · returns ExtraPayApplicationDto[]

Add or edit extra pay​

POST/api/ExtraPayApplication/CreateOrUpdateExtraPayApplication
Bearer tokenEmployee and team leaderP3

The body is an array (several entries in one call). Every entry is checked against the server rules; one entry for an employee outside your team fails the whole call. Extra pay has no status field.

Request

JSON body:

An array of CreateOrUpdateExtraPayApplicationDto objects

Field (JSON name)Type
idinteger | null
employeeIdinteger
approverIdinteger | null
payAmountnumber
payMonthstring
payRemarkstring
allowanceTypestring
curl -X POST "$BASE_URL/ExtraPayApplication/CreateOrUpdateExtraPayApplication" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '[
{
"id": null,
"employeeId": 142,
"approverId": 96,
"payAmount": 3000,
"payMonth": "202610",
"payRemark": "Site allowance",
"allowanceType": "Site"
}
]'

Response

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

An array of ExtraPayApplicationDto objects

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
approverEmployeeSummaryDto
payDatestring (date-time)
payAmountnumber
payMonthstring
payRemarkstring
allowanceTypestring
payReferenceIdinteger | null
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"payDate": "2026-11-23T00:00:00",
"payAmount": 58240,
"payMonth": "202610",
"payRemark": "Forgot to punch out, left at 6:45 PM",
"allowanceType": "string",
"payReferenceId": 58240
}
],
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}

Errors

  • isSuccess: false · errorCode 1 “Request Forbidden, Can't access proper Company.”
  • isSuccess: false · errorCode 1 “You can't create or change applications for this employee.”
  • isSuccess: false · errorCode 1 “Extra Pay For Employee {EmpName } ({EmpCode}) In Month {month}-{year} Is Already Exist!”
  • 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/ExtraPayApplicationController.cs → ExtraPayApplicationService.CreateOrUpdateExtraPayApplication · returns ExtraPayApplicationDto[]

Delete extra pay​

DELETE/api/ExtraPayApplication/DeleteExtraPayApplication/{id}
Bearer tokenEmployee and team leaderP3

Request

ParameterInTypeRequired
idpathintegeryes
curl -X DELETE "$BASE_URL/ExtraPayApplication/DeleteExtraPayApplication/5" \
-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 “Extra Pay 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/ExtraPayApplicationController.cs → ExtraPayApplicationService.DeleteExtraPayApplicationById · returns boolean

Resignation (P3)​

Low frequency; the plan suggests keeping it on the web. Documented for completeness.

My resignation​

POST/api/ResignApplication/GetAllResignApplications
Bearer tokenEmployee and team leaderP3

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/ResignApplication/GetAllResignApplications" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"tenantId": 1,
"id": 1045,
"employeeCode": 1,
"employeeIds": null,
"companyIds": [
1
],
"mobileNo": "9876544821",
"fromDate": "2026-12-01T00:00:00",
"toDate": "2026-12-02T00:00:00",
"fromMonth": "202610",
"toMonth": "202610",
"gender": "string",
"branchIds": [
1
],
"departmentIds": [
1
],
"designationIds": [
1
],
"approverIds": [
1
],
"employeeStatus": 1,
"applicationStatus": -1,
"locationIds": [
1
],
"employee_Type": 1,
"financialYear": [
"2026-2027"
],
"slabTypeId": [
1
],
"itMethodId": [
1
],
"categoryId": 1,
"location": "string",
"isAssign": false,
"joinDate": "string"
}'

Response

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

An array of ResignApplicationDto objects

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
resignDatestring (date-time) | null
approverEmployeeSummaryDto
reasonstring
resignStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
statusRemarkstring
resignStatusTypestring
noticePeriodStartDatestring (date-time) | null
noticePeriodEndDatestring (date-time) | null
calcRevivedPaidLeaveboolean
calcRevivedIncreementboolean
topLeaderinteger
Example response
{
"isSuccess": true,
"responseData": [
{
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"resignDate": "2026-11-23T00:00:00",
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"reason": "Forgot to punch out, left at 6:45 PM",
"resignStatus": 0,
"statusRemark": "Forgot to punch out, left at 6:45 PM",
"resignStatusType": "string",
"noticePeriodStartDate": "2026-11-23T00:00:00",
"noticePeriodEndDate": "2026-11-23T00:00:00",
"calcRevivedPaidLeave": false,
"calcRevivedIncreement": false,
"topLeader": 1
}
],
"errorCode": 0,
"errorMessage": null,
"errorTitle": ""
}

Errors

  • HTTP 401 missing or expired token (see token expiry).
  • HTTP 500 unhandled server exception (HTML/text body, not JSON).

Source: HRMS.WebAPI/Controllers/ResignApplicationController.cs → ResignApplicationService.GetAllResignApplications · returns ResignApplicationDto[]

Resignation detail​

GET/api/ResignApplication/GetResignApplication
Bearer tokenEmployee and team leaderP3

Request

ParameterInTypeRequired
idquery stringintegeryes
curl -X GET "$BASE_URL/ResignApplication/GetResignApplication?id=3" \
-H "Authorization: Bearer $TOKEN"

Response

HTTP 200 with the standard envelope. responseData is ResignApplicationDto.

ResignApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
resignDatestring (date-time) | null
approverEmployeeSummaryDto
reasonstring
resignStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
statusRemarkstring
resignStatusTypestring
noticePeriodStartDatestring (date-time) | null
noticePeriodEndDatestring (date-time) | null
calcRevivedPaidLeaveboolean
calcRevivedIncreementboolean
topLeaderinteger
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"resignDate": "2026-11-23T00:00:00",
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"reason": "Forgot to punch out, left at 6:45 PM",
"resignStatus": 0,
"statusRemark": "Forgot to punch out, left at 6:45 PM",
"resignStatusType": "string",
"noticePeriodStartDate": "2026-11-23T00:00:00",
"noticePeriodEndDate": "2026-11-23T00:00:00",
"calcRevivedPaidLeave": false,
"calcRevivedIncreement": false,
"topLeader": 1
},
"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/ResignApplicationController.cs → ResignApplicationService.GetResignApplicationById · returns ResignApplicationDto

Submit or edit resignation​

POST/api/ResignApplication/CreateOrUpdateResignApplication
Bearer tokenEmployee and team leaderP3

noticePeriodStartDate/noticePeriodEndDate, statusRemark and the two calcRevived… flags are shown and set by HR on the web; from the app send them as in the example (null / '' / false).

Request

JSON body:

CreateOrUpdateResignApplicationDto

Field (JSON name)Type
idinteger | null
employeeIdinteger
resignDatestring (date-time) | null
approverIdinteger | null
reasonstring
resignStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
statusRemarkstring
noticePeriodStartDatestring (date-time) | null
noticePeriodEndDatestring (date-time) | null
calcRevivedPaidLeaveboolean
calcRevivedIncreementboolean
curl -X POST "$BASE_URL/ResignApplication/CreateOrUpdateResignApplication" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"id": null,
"employeeId": 142,
"resignDate": "2026-12-31T00:00:00",
"approverId": 96,
"reason": "Relocating to Pune",
"resignStatus": 0,
"statusRemark": "",
"noticePeriodStartDate": null,
"noticePeriodEndDate": null,
"calcRevivedPaidLeave": false,
"calcRevivedIncreement": false
}'

Response

HTTP 200 with the standard envelope. responseData is ResignApplicationDto.

ResignApplicationDto

Field (JSON name)Type
idinteger
employeeEmployeeSummaryDto
resignDatestring (date-time) | null
approverEmployeeSummaryDto
reasonstring
resignStatusTransactionStatus (enum)0 = Pending1 = Approved2 = Rejected
statusRemarkstring
resignStatusTypestring
noticePeriodStartDatestring (date-time) | null
noticePeriodEndDatestring (date-time) | null
calcRevivedPaidLeaveboolean
calcRevivedIncreementboolean
topLeaderinteger
Example response
{
"isSuccess": true,
"responseData": {
"id": 1045,
"employee": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"resignDate": "2026-11-23T00:00:00",
"approver": {
"id": 1045,
"empName": "Priya Sharma",
"empCode": 1,
"userId": 87,
"displayName": "Priya Sharma"
},
"reason": "Forgot to punch out, left at 6:45 PM",
"resignStatus": 0,
"statusRemark": "Forgot to punch out, left at 6:45 PM",
"resignStatusType": "string",
"noticePeriodStartDate": "2026-11-23T00:00:00",
"noticePeriodEndDate": "2026-11-23T00:00:00",
"calcRevivedPaidLeave": false,
"calcRevivedIncreement": false,
"topLeader": 1
},
"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 “Resign Not Found.”
  • isSuccess: false · errorCode 1 “Resign of {EmpName} ({EmpCode}) {ResignDate} for Is Already Exist!”
  • 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/ResignApplicationController.cs → ResignApplicationService.CreateOrUpdateResignApplication · returns ResignApplicationDto

Withdraw resignation​

DELETE/api/ResignApplication/DeleteResignApplication/{id}
Bearer tokenEmployee and team leaderP3

Request

ParameterInTypeRequired
idpathintegeryes
curl -X DELETE "$BASE_URL/ResignApplication/DeleteResignApplication/3" \
-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 “Resign Application 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/ResignApplicationController.cs → ResignApplicationService.DeleteResignApplicationById · returns boolean