GET api/EmployeeLeaveRequest/getRecord/EmployeeLeaveDetails/{Id}/{EmployeeId}/{YearId}/{OrganizationId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

EmployeeId

integer

Required

YearId

integer

Required

OrganizationId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of EmployeeLeaveRequestDetailsListDto
NameDescriptionTypeAdditional information
EmployeeLeaveTypeId

decimal number

None.

EmployeeLeaveType

string

None.

TotalNoOfLeaves

integer

None.

MinNoOfLeavesOneTime

integer

None.

MaxNoOfLeaveOneTime

integer

None.

EmployeeId

decimal number

None.

NoOfLeaveUsed

integer

None.

BalanceLeaves

integer

None.

EmployeeLeaveRequestDetailsId

decimal number

None.

EmployeeLeaveRequestId

decimal number

None.

NoOfDaysLeave

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EmployeeLeaveTypeId": 1.0,
    "EmployeeLeaveType": "sample string 2",
    "TotalNoOfLeaves": 3,
    "MinNoOfLeavesOneTime": 1,
    "MaxNoOfLeaveOneTime": 1,
    "EmployeeId": 4.0,
    "NoOfLeaveUsed": 5,
    "BalanceLeaves": 1,
    "EmployeeLeaveRequestDetailsId": 1.0,
    "EmployeeLeaveRequestId": 1.0,
    "NoOfDaysLeave": 1
  },
  {
    "EmployeeLeaveTypeId": 1.0,
    "EmployeeLeaveType": "sample string 2",
    "TotalNoOfLeaves": 3,
    "MinNoOfLeavesOneTime": 1,
    "MaxNoOfLeaveOneTime": 1,
    "EmployeeId": 4.0,
    "NoOfLeaveUsed": 5,
    "BalanceLeaves": 1,
    "EmployeeLeaveRequestDetailsId": 1.0,
    "EmployeeLeaveRequestId": 1.0,
    "NoOfDaysLeave": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmployeeLeaveRequestDetailsListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <EmployeeLeaveRequestDetailsListDto>
    <BalanceLeaves>1</BalanceLeaves>
    <EmployeeId>4</EmployeeId>
    <EmployeeLeaveRequestDetailsId>1</EmployeeLeaveRequestDetailsId>
    <EmployeeLeaveRequestId>1</EmployeeLeaveRequestId>
    <EmployeeLeaveType>sample string 2</EmployeeLeaveType>
    <EmployeeLeaveTypeId>1</EmployeeLeaveTypeId>
    <MaxNoOfLeaveOneTime>1</MaxNoOfLeaveOneTime>
    <MinNoOfLeavesOneTime>1</MinNoOfLeavesOneTime>
    <NoOfDaysLeave>1</NoOfDaysLeave>
    <NoOfLeaveUsed>5</NoOfLeaveUsed>
    <TotalNoOfLeaves>3</TotalNoOfLeaves>
  </EmployeeLeaveRequestDetailsListDto>
  <EmployeeLeaveRequestDetailsListDto>
    <BalanceLeaves>1</BalanceLeaves>
    <EmployeeId>4</EmployeeId>
    <EmployeeLeaveRequestDetailsId>1</EmployeeLeaveRequestDetailsId>
    <EmployeeLeaveRequestId>1</EmployeeLeaveRequestId>
    <EmployeeLeaveType>sample string 2</EmployeeLeaveType>
    <EmployeeLeaveTypeId>1</EmployeeLeaveTypeId>
    <MaxNoOfLeaveOneTime>1</MaxNoOfLeaveOneTime>
    <MinNoOfLeavesOneTime>1</MinNoOfLeavesOneTime>
    <NoOfDaysLeave>1</NoOfDaysLeave>
    <NoOfLeaveUsed>5</NoOfLeaveUsed>
    <TotalNoOfLeaves>3</TotalNoOfLeaves>
  </EmployeeLeaveRequestDetailsListDto>
</ArrayOfEmployeeLeaveRequestDetailsListDto>