GET api/Project/GetLeaveTypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
CLeavesMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| LeaveType | string |
None. |
|
| NoOfDays | decimal number |
None. |
|
| ShortType | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"leaveType": "sample string 2",
"noOfDays": 1.0,
"shortType": "sample string 3"
}
application/xml, text/xml
Sample:
<CLeavesMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAL.Model"> <Id>1</Id> <LeaveType>sample string 2</LeaveType> <NoOfDays>1</NoOfDays> <ShortType>sample string 3</ShortType> </CLeavesMaster>