POST api/ldb/LeaveBalance

Request Information

URI Parameters

None.

Body Parameters

LeaveBalRequest
NameDescriptionTypeAdditional information
ApiUserName

string

None.

Token

string

None.

Empid

integer

None.

Officeid

integer

None.

Procid

integer

None.

LeaveTypeid

integer

None.

Status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiUserName": "sample string 1",
  "Token": "sample string 2",
  "Empid": 3,
  "Officeid": 4,
  "Procid": 5,
  "LeaveTypeid": 6,
  "Status": "sample string 7"
}

application/xml, text/xml

Sample:
<LeaveBalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDBAPI.Models">
  <ApiUserName>sample string 1</ApiUserName>
  <Empid>3</Empid>
  <LeaveTypeid>6</LeaveTypeid>
  <Officeid>4</Officeid>
  <Procid>5</Procid>
  <Status>sample string 7</Status>
  <Token>sample string 2</Token>
</LeaveBalRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LeaveBalResponseEntity
NameDescriptionTypeAdditional information
respCode

string

None.

respMessage

string

None.

Empid

integer

None.

BalanceLeave

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "respCode": "sample string 1",
  "respMessage": "sample string 2",
  "Empid": 3,
  "BalanceLeave": 4
}

application/xml, text/xml

Sample:
<LeaveBalResponseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDBAPI.Models">
  <BalanceLeave>4</BalanceLeave>
  <Empid>3</Empid>
  <respCode>sample string 1</respCode>
  <respMessage>sample string 2</respMessage>
</LeaveBalResponseEntity>