POST api/LeaveTransaction/GetLeaveRuleEmployeeWise

Request Information

URI Parameters

None.

Body Parameters

EmployeeLeaveRuleViewModel
NameDescriptionTypeAdditional information
ClientId

integer

None.

CProjectId

integer

None.

StateId

integer

None.

LeaveTypeId

integer

None.

CityId

integer

None.

GenderId

integer

None.

EmployeeTypeId

integer

None.

DesignationId

integer

None.

ShiftId

integer

None.

ConfigHireDays

string

None.

ConfigSeniorityDays

string

None.

ConfigAgeDays

string

None.

workingDaysId

integer

None.

Status

byte

None.

Notes

string

None.

SellDays

decimal number

None.

PurchaseDays

decimal number

None.

EmployeeNotes

string

None.

PendingOnId

integer

None.

LeaveApplyFilePath

string

None.

CreatedBy

integer

None.

IpAddress

string

None.

LocalIpAddress

string

None.

DbUserAccount

string

None.

DisplayFromDate

string

None.

FromDate

date

None.

DisplayToDate

string

None.

ToDate

date

None.

NoofDays

decimal number

None.

Hours

decimal number

None.

NegativeAllowed

boolean

None.

WeekendAllowed

boolean

None.

HoliDayAllowed

boolean

None.

IsLeaveDeductOnHoliday

boolean

None.

ShitWiseLeaveApplicable

boolean

None.

EmployeeId

integer

None.

SplitLeaveApplyValidation

string

None.

LeaveApplyDetailsId

integer

None.

HourlyDate

string

None.

HourlyHours

string

None.

IsExtraHoliDayCanApply

boolean

None.

MaxExtraHoliDay

decimal number

None.

isHalfDay

integer

None.

LeaveRuleConfigurationId

integer

None.

isAccrualRequest

boolean

None.

HalfDayOptionId

integer

None.

LeaveApplyListDateWise

string

None.

IsHourlyLeave

boolean

None.

strEmployeeIds

string

None.

strLeaveTypeIds

string

None.

strClientIds

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientId": 1,
  "CProjectId": 1,
  "StateId": 2,
  "LeaveTypeId": 3,
  "CityId": 4,
  "GenderId": 5,
  "EmployeeTypeId": 6,
  "DesignationId": 7,
  "ShiftId": 8,
  "ConfigHireDays": "sample string 9",
  "ConfigSeniorityDays": "sample string 10",
  "ConfigAgeDays": "sample string 11",
  "workingDaysId": 1,
  "Status": 64,
  "Notes": "sample string 12",
  "SellDays": 1.1,
  "PurchaseDays": 1.1,
  "EmployeeNotes": "sample string 13",
  "PendingOnId": 1,
  "LeaveApplyFilePath": "sample string 14",
  "CreatedBy": 1,
  "IpAddress": "sample string 15",
  "LocalIpAddress": "sample string 16",
  "DbUserAccount": "sample string 17",
  "DisplayFromDate": "sample string 18",
  "FromDate": "2026-01-07T07:15:52.9453277+05:30",
  "DisplayToDate": "sample string 20",
  "ToDate": "2026-01-07T07:15:52.9453277+05:30",
  "NoofDays": 22.0,
  "Hours": 23.0,
  "NegativeAllowed": true,
  "WeekendAllowed": true,
  "HoliDayAllowed": true,
  "IsLeaveDeductOnHoliday": true,
  "ShitWiseLeaveApplicable": true,
  "EmployeeId": 1,
  "SplitLeaveApplyValidation": "sample string 29",
  "LeaveApplyDetailsId": 1,
  "HourlyDate": "sample string 30",
  "HourlyHours": "sample string 31",
  "IsExtraHoliDayCanApply": true,
  "MaxExtraHoliDay": 1.1,
  "isHalfDay": 33,
  "LeaveRuleConfigurationId": 34,
  "isAccrualRequest": true,
  "HalfDayOptionId": 1,
  "LeaveApplyListDateWise": "sample string 35",
  "IsHourlyLeave": true,
  "strEmployeeIds": "sample string 37",
  "strLeaveTypeIds": "sample string 38",
  "strClientIds": "sample string 39"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.