PUT api/SaveEmployeeLeaves

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
employeeLeavesPerMonth
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "MonthYearSpeedSearch": {
    "SM_Id": 1,
    "SM_Month": "sample string 2",
    "SM_Year": 3
  },
  "CompanySpeedSearch": {
    "CO_Id": 1,
    "CO_Name": "sample string 2"
  },
  "EmployeeLeavesDetails": [
    {
      "EL_Id": 1,
      "EmployeeDetailsModels": {
        "ED_Id": 1,
        "ED_Name": "sample string 2"
      },
      "EL_SickLeaves": 2.0,
      "EL_CasualLeaves": 3.0,
      "EL_LOP": 4.0,
      "EL_OT": 5.0
    },
    {
      "EL_Id": 1,
      "EmployeeDetailsModels": {
        "ED_Id": 1,
        "ED_Name": "sample string 2"
      },
      "EL_SickLeaves": 2.0,
      "EL_CasualLeaves": 3.0,
      "EL_LOP": 4.0,
      "EL_OT": 5.0
    },
    {
      "EL_Id": 1,
      "EmployeeDetailsModels": {
        "ED_Id": 1,
        "ED_Name": "sample string 2"
      },
      "EL_SickLeaves": 2.0,
      "EL_CasualLeaves": 3.0,
      "EL_LOP": 4.0,
      "EL_OT": 5.0
    }
  ]
}

application/xml, text/xml

Sample:
<EmployeeLeavesPerMonth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PaySlipAPI.Models">
  <CompanySpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/PaySlipAPI.Models.SpeedSearchModels">
    <d2p1:CO_Id>1</d2p1:CO_Id>
    <d2p1:CO_Name>sample string 2</d2p1:CO_Name>
  </CompanySpeedSearch>
  <EmployeeLeavesDetails>
    <EmployeeLeavesModels>
      <EL_CasualLeaves>3</EL_CasualLeaves>
      <EL_Id>1</EL_Id>
      <EL_LOP>4</EL_LOP>
      <EL_OT>5</EL_OT>
      <EL_SickLeaves>2</EL_SickLeaves>
      <EmployeeDetailsModels xmlns:d4p1="http://schemas.datacontract.org/2004/07/PaySlipAPI.Models.SpeedSearchModels">
        <d4p1:ED_Id>1</d4p1:ED_Id>
        <d4p1:ED_Name>sample string 2</d4p1:ED_Name>
      </EmployeeDetailsModels>
    </EmployeeLeavesModels>
    <EmployeeLeavesModels>
      <EL_CasualLeaves>3</EL_CasualLeaves>
      <EL_Id>1</EL_Id>
      <EL_LOP>4</EL_LOP>
      <EL_OT>5</EL_OT>
      <EL_SickLeaves>2</EL_SickLeaves>
      <EmployeeDetailsModels xmlns:d4p1="http://schemas.datacontract.org/2004/07/PaySlipAPI.Models.SpeedSearchModels">
        <d4p1:ED_Id>1</d4p1:ED_Id>
        <d4p1:ED_Name>sample string 2</d4p1:ED_Name>
      </EmployeeDetailsModels>
    </EmployeeLeavesModels>
    <EmployeeLeavesModels>
      <EL_CasualLeaves>3</EL_CasualLeaves>
      <EL_Id>1</EL_Id>
      <EL_LOP>4</EL_LOP>
      <EL_OT>5</EL_OT>
      <EL_SickLeaves>2</EL_SickLeaves>
      <EmployeeDetailsModels xmlns:d4p1="http://schemas.datacontract.org/2004/07/PaySlipAPI.Models.SpeedSearchModels">
        <d4p1:ED_Id>1</d4p1:ED_Id>
        <d4p1:ED_Name>sample string 2</d4p1:ED_Name>
      </EmployeeDetailsModels>
    </EmployeeLeavesModels>
  </EmployeeLeavesDetails>
  <MonthYearSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/PaySlipAPI.Models.SpeedSearchModels">
    <d2p1:SM_Id>1</d2p1:SM_Id>
    <d2p1:SM_Month>sample string 2</d2p1:SM_Month>
    <d2p1:SM_Year>3</d2p1:SM_Year>
  </MonthYearSpeedSearch>
</EmployeeLeavesPerMonth>

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 'EmployeeLeavesPerMonth'.

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.