POST api/LeaveBalance/updateLeaveCredit

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
LeaveBalanceModels
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "Leav_PK": 1,
    "EMP_EMPLOYEE_CODE": "sample string 2",
    "EMP_FIRST_NAME": "sample string 3",
    "Year_CODE": 4,
    "EMP_ID": 5,
    "leave_name": "sample string 6",
    "Leave_opening_balance": 7,
    "Leave_Credi": 8,
    "Leave_Debit": 9,
    "Leave_Closing_balance": 10,
    "leaveType": 11,
    "DI_District": "sample string 12",
    "Department_Name": "sample string 13",
    "EMP_EMPLOYEE_ID": 14,
    "LEAVE_credit_Days": 15
  },
  {
    "Leav_PK": 1,
    "EMP_EMPLOYEE_CODE": "sample string 2",
    "EMP_FIRST_NAME": "sample string 3",
    "Year_CODE": 4,
    "EMP_ID": 5,
    "leave_name": "sample string 6",
    "Leave_opening_balance": 7,
    "Leave_Credi": 8,
    "Leave_Debit": 9,
    "Leave_Closing_balance": 10,
    "leaveType": 11,
    "DI_District": "sample string 12",
    "Department_Name": "sample string 13",
    "EMP_EMPLOYEE_ID": 14,
    "LEAVE_credit_Days": 15
  },
  {
    "Leav_PK": 1,
    "EMP_EMPLOYEE_CODE": "sample string 2",
    "EMP_FIRST_NAME": "sample string 3",
    "Year_CODE": 4,
    "EMP_ID": 5,
    "leave_name": "sample string 6",
    "Leave_opening_balance": 7,
    "Leave_Credi": 8,
    "Leave_Debit": 9,
    "Leave_Closing_balance": 10,
    "leaveType": 11,
    "DI_District": "sample string 12",
    "Department_Name": "sample string 13",
    "EMP_EMPLOYEE_ID": 14,
    "LEAVE_credit_Days": 15
  }
]

application/xml, text/xml

Sample:
<ArrayOfLeaveBalanceModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <LeaveBalanceModels>
    <DI_District>sample string 12</DI_District>
    <Department_Name>sample string 13</Department_Name>
    <EMP_EMPLOYEE_CODE>sample string 2</EMP_EMPLOYEE_CODE>
    <EMP_EMPLOYEE_ID>14</EMP_EMPLOYEE_ID>
    <EMP_FIRST_NAME>sample string 3</EMP_FIRST_NAME>
    <EMP_ID>5</EMP_ID>
    <LEAVE_credit_Days>15</LEAVE_credit_Days>
    <Leav_PK>1</Leav_PK>
    <Leave_Closing_balance>10</Leave_Closing_balance>
    <Leave_Credi>8</Leave_Credi>
    <Leave_Debit>9</Leave_Debit>
    <Leave_opening_balance>7</Leave_opening_balance>
    <Year_CODE>4</Year_CODE>
    <leaveType>11</leaveType>
    <leave_name>sample string 6</leave_name>
  </LeaveBalanceModels>
  <LeaveBalanceModels>
    <DI_District>sample string 12</DI_District>
    <Department_Name>sample string 13</Department_Name>
    <EMP_EMPLOYEE_CODE>sample string 2</EMP_EMPLOYEE_CODE>
    <EMP_EMPLOYEE_ID>14</EMP_EMPLOYEE_ID>
    <EMP_FIRST_NAME>sample string 3</EMP_FIRST_NAME>
    <EMP_ID>5</EMP_ID>
    <LEAVE_credit_Days>15</LEAVE_credit_Days>
    <Leav_PK>1</Leav_PK>
    <Leave_Closing_balance>10</Leave_Closing_balance>
    <Leave_Credi>8</Leave_Credi>
    <Leave_Debit>9</Leave_Debit>
    <Leave_opening_balance>7</Leave_opening_balance>
    <Year_CODE>4</Year_CODE>
    <leaveType>11</leaveType>
    <leave_name>sample string 6</leave_name>
  </LeaveBalanceModels>
  <LeaveBalanceModels>
    <DI_District>sample string 12</DI_District>
    <Department_Name>sample string 13</Department_Name>
    <EMP_EMPLOYEE_CODE>sample string 2</EMP_EMPLOYEE_CODE>
    <EMP_EMPLOYEE_ID>14</EMP_EMPLOYEE_ID>
    <EMP_FIRST_NAME>sample string 3</EMP_FIRST_NAME>
    <EMP_ID>5</EMP_ID>
    <LEAVE_credit_Days>15</LEAVE_credit_Days>
    <Leav_PK>1</Leav_PK>
    <Leave_Closing_balance>10</Leave_Closing_balance>
    <Leave_Credi>8</Leave_Credi>
    <Leave_Debit>9</Leave_Debit>
    <Leave_opening_balance>7</Leave_opening_balance>
    <Year_CODE>4</Year_CODE>
    <leaveType>11</leaveType>
    <leave_name>sample string 6</leave_name>
  </LeaveBalanceModels>
</ArrayOfLeaveBalanceModels>

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 'List`1'.

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.