PUT api/LeaveSettlement/search

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "EmpId": 1,
  "EmpFileNo": 2,
  "EmpName": "sample string 3",
  "Address": "sample string 4",
  "Grade": "sample string 5",
  "JobTitle": "sample string 6",
  "DateOfJoining": "2025-01-11T13:08:39.7678317+03:00",
  "LeaveRequestedDate": "2025-01-11T13:08:39.7678317+03:00",
  "LeaveApprovedDate": "2025-01-11T13:08:39.7678317+03:00",
  "FirstDayOfLeave": "2025-01-11T13:08:39.7678317+03:00",
  "LastDayOfLeave": "2025-01-11T13:08:39.7678317+03:00",
  "PaidLeaveDaysBalance": 1.0,
  "LeaveDaysApproved": 1.0,
  "NewPaidLeaveDaysBalance": 1.0,
  "AlreadyPaidInPaySlip": 1.0,
  "LeaveDaysWithNoPay": 1.0,
  "LeaveDaysToBeSettled": 1.0,
  "CurrentPayMonthPaidDays": 1.0,
  "CurrentPayMonthUnPaidDays": 1.0,
  "CurrentMonthSettleDetail": [
    {
      "PayrollItemName": "sample string 1",
      "ShowOnPaySlip": true,
      "Order": 1,
      "IsGrouped": true,
      "GroupName": "sample string 4",
      "TotalBenefit": 5.0,
      "TotalDeduction": 6.0
    },
    {
      "PayrollItemName": "sample string 1",
      "ShowOnPaySlip": true,
      "Order": 1,
      "IsGrouped": true,
      "GroupName": "sample string 4",
      "TotalBenefit": 5.0,
      "TotalDeduction": 6.0
    },
    {
      "PayrollItemName": "sample string 1",
      "ShowOnPaySlip": true,
      "Order": 1,
      "IsGrouped": true,
      "GroupName": "sample string 4",
      "TotalBenefit": 5.0,
      "TotalDeduction": 6.0
    }
  ],
  "RegulaizeMonthSettleDetail": [
    {
      "PayrollItemName": "sample string 1",
      "ShowOnPaySlip": true,
      "Order": 1,
      "IsGrouped": true,
      "GroupName": "sample string 4",
      "TotalBenefit": 5.0,
      "TotalDeduction": 6.0
    },
    {
      "PayrollItemName": "sample string 1",
      "ShowOnPaySlip": true,
      "Order": 1,
      "IsGrouped": true,
      "GroupName": "sample string 4",
      "TotalBenefit": 5.0,
      "TotalDeduction": 6.0
    },
    {
      "PayrollItemName": "sample string 1",
      "ShowOnPaySlip": true,
      "Order": 1,
      "IsGrouped": true,
      "GroupName": "sample string 4",
      "TotalBenefit": 5.0,
      "TotalDeduction": 6.0
    }
  ],
  "StatusId": 7
}

application/xml, text/xml

Sample:
<LeaveSettlement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.Payroll">
  <Address>sample string 4</Address>
  <AlreadyPaidInPaySlip>1</AlreadyPaidInPaySlip>
  <CurrentMonthSettleDetail>
    <LeaveSettlementPayrollItem>
      <GroupName>sample string 4</GroupName>
      <IsGrouped>true</IsGrouped>
      <Order>1</Order>
      <PayrollItemName>sample string 1</PayrollItemName>
      <ShowOnPaySlip>true</ShowOnPaySlip>
      <TotalBenefit>5</TotalBenefit>
      <TotalDeduction>6</TotalDeduction>
    </LeaveSettlementPayrollItem>
    <LeaveSettlementPayrollItem>
      <GroupName>sample string 4</GroupName>
      <IsGrouped>true</IsGrouped>
      <Order>1</Order>
      <PayrollItemName>sample string 1</PayrollItemName>
      <ShowOnPaySlip>true</ShowOnPaySlip>
      <TotalBenefit>5</TotalBenefit>
      <TotalDeduction>6</TotalDeduction>
    </LeaveSettlementPayrollItem>
    <LeaveSettlementPayrollItem>
      <GroupName>sample string 4</GroupName>
      <IsGrouped>true</IsGrouped>
      <Order>1</Order>
      <PayrollItemName>sample string 1</PayrollItemName>
      <ShowOnPaySlip>true</ShowOnPaySlip>
      <TotalBenefit>5</TotalBenefit>
      <TotalDeduction>6</TotalDeduction>
    </LeaveSettlementPayrollItem>
  </CurrentMonthSettleDetail>
  <CurrentPayMonthPaidDays>1</CurrentPayMonthPaidDays>
  <CurrentPayMonthUnPaidDays>1</CurrentPayMonthUnPaidDays>
  <DateOfJoining>2025-01-11T13:08:39.7678317+03:00</DateOfJoining>
  <EmpFileNo>2</EmpFileNo>
  <EmpId>1</EmpId>
  <EmpName>sample string 3</EmpName>
  <FirstDayOfLeave>2025-01-11T13:08:39.7678317+03:00</FirstDayOfLeave>
  <Grade>sample string 5</Grade>
  <JobTitle>sample string 6</JobTitle>
  <LastDayOfLeave>2025-01-11T13:08:39.7678317+03:00</LastDayOfLeave>
  <LeaveApprovedDate>2025-01-11T13:08:39.7678317+03:00</LeaveApprovedDate>
  <LeaveDaysApproved>1</LeaveDaysApproved>
  <LeaveDaysToBeSettled>1</LeaveDaysToBeSettled>
  <LeaveDaysWithNoPay>1</LeaveDaysWithNoPay>
  <LeaveRequestedDate>2025-01-11T13:08:39.7678317+03:00</LeaveRequestedDate>
  <NewPaidLeaveDaysBalance>1</NewPaidLeaveDaysBalance>
  <PaidLeaveDaysBalance>1</PaidLeaveDaysBalance>
  <RegulaizeMonthSettleDetail>
    <LeaveSettlementPayrollItem>
      <GroupName>sample string 4</GroupName>
      <IsGrouped>true</IsGrouped>
      <Order>1</Order>
      <PayrollItemName>sample string 1</PayrollItemName>
      <ShowOnPaySlip>true</ShowOnPaySlip>
      <TotalBenefit>5</TotalBenefit>
      <TotalDeduction>6</TotalDeduction>
    </LeaveSettlementPayrollItem>
    <LeaveSettlementPayrollItem>
      <GroupName>sample string 4</GroupName>
      <IsGrouped>true</IsGrouped>
      <Order>1</Order>
      <PayrollItemName>sample string 1</PayrollItemName>
      <ShowOnPaySlip>true</ShowOnPaySlip>
      <TotalBenefit>5</TotalBenefit>
      <TotalDeduction>6</TotalDeduction>
    </LeaveSettlementPayrollItem>
    <LeaveSettlementPayrollItem>
      <GroupName>sample string 4</GroupName>
      <IsGrouped>true</IsGrouped>
      <Order>1</Order>
      <PayrollItemName>sample string 1</PayrollItemName>
      <ShowOnPaySlip>true</ShowOnPaySlip>
      <TotalBenefit>5</TotalBenefit>
      <TotalDeduction>6</TotalDeduction>
    </LeaveSettlementPayrollItem>
  </RegulaizeMonthSettleDetail>
  <StatusId>7</StatusId>
</LeaveSettlement>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LeaveSettlement'.