POST api/ldb/GetLeaveMaster

Request Information

URI Parameters

None.

Body Parameters

ReqLeaveType
NameDescriptionTypeAdditional information
ApiUserName

string

None.

Token

string

None.

Procid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiUserName": "sample string 1",
  "Token": "sample string 2",
  "Procid": 3
}

application/xml, text/xml

Sample:
<ReqLeaveType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDBAPI.Models">
  <ApiUserName>sample string 1</ApiUserName>
  <Procid>3</Procid>
  <Token>sample string 2</Token>
</ReqLeaveType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RespLeaveType
NameDescriptionTypeAdditional information
respCode

string

None.

respMessage

string

None.

Data

Collection of DLeaveType

None.

Response Formats

application/json, text/json

Sample:
{
  "respCode": "sample string 1",
  "respMessage": "sample string 2",
  "Data": [
    {
      "LeaveTypeid": 1,
      "LeaveType": "sample string 2"
    },
    {
      "LeaveTypeid": 1,
      "LeaveType": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<RespLeaveType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDBAPI.Models">
  <Data>
    <DLeaveType>
      <LeaveType>sample string 2</LeaveType>
      <LeaveTypeid>1</LeaveTypeid>
    </DLeaveType>
    <DLeaveType>
      <LeaveType>sample string 2</LeaveType>
      <LeaveTypeid>1</LeaveTypeid>
    </DLeaveType>
  </Data>
  <respCode>sample string 1</respCode>
  <respMessage>sample string 2</respMessage>
</RespLeaveType>