POST api/LeaveAPI/ChangeEmpLeaveBalance

Request Information

URI Parameters

None.

Body Parameters

LeaveBalanceChangeInput
NameDescriptionTypeAdditional information
Employee_GID

globally unique identifier

None.

LeaveName

string

None.

FunType

string

None.

ChangeValue

decimal number

None.

Remark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Employee_GID": "fc4c75a0-9845-4de3-973f-d08db48c6e48",
  "LeaveName": "sample string 2",
  "FunType": "sample string 3",
  "ChangeValue": 4.0,
  "Remark": "sample string 5"
}

application/xml, text/xml

Sample:
<LeaveBalanceChangeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPI.Model">
  <ChangeValue>4</ChangeValue>
  <Employee_GID>fc4c75a0-9845-4de3-973f-d08db48c6e48</Employee_GID>
  <FunType>sample string 3</FunType>
  <LeaveName>sample string 2</LeaveName>
  <Remark>sample string 5</Remark>
</LeaveBalanceChangeInput>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>