POST api/HRMSEmployeeLeave/CreateHRMSEmployeeLeave

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
EMPLeaveModels
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "EMP_LEAVE_ID": 1,
  "EMP_ID_FK": 2,
  "EMP_LEAVE_CODE": "sample string 3",
  "EMP_LEAVE_DESC": 4,
  "EMP_LEAVE_OB": 5,
  "EMP_LEAVE_CREDIT": 6,
  "EMP_LEAVE_BAL": 7,
  "EMP_EMPLOYEE_CODE": "sample string 8",
  "EMP_FIRST_NAME": "sample string 9",
  "leave_name": "sample string 10",
  "EMP_DIVISION_ID": 11,
  "LeaveBal": 12,
  "Leave_Debit": 13
}

application/xml, text/xml

Sample:
<EMPLeaveModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <EMP_DIVISION_ID>11</EMP_DIVISION_ID>
  <EMP_EMPLOYEE_CODE>sample string 8</EMP_EMPLOYEE_CODE>
  <EMP_FIRST_NAME>sample string 9</EMP_FIRST_NAME>
  <EMP_ID_FK>2</EMP_ID_FK>
  <EMP_LEAVE_BAL>7</EMP_LEAVE_BAL>
  <EMP_LEAVE_CODE>sample string 3</EMP_LEAVE_CODE>
  <EMP_LEAVE_CREDIT>6</EMP_LEAVE_CREDIT>
  <EMP_LEAVE_DESC>4</EMP_LEAVE_DESC>
  <EMP_LEAVE_ID>1</EMP_LEAVE_ID>
  <EMP_LEAVE_OB>5</EMP_LEAVE_OB>
  <LeaveBal>12</LeaveBal>
  <Leave_Debit>13</Leave_Debit>
  <leave_name>sample string 10</leave_name>
</EMPLeaveModels>

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

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.