POST api/Leave/ApplyLeave
Request Information
URI Parameters
None.
Body Parameters
LeaveParamName | Description | Type | Additional information |
---|---|---|---|
EmployeeId | string |
None. |
|
leaveTypeId | string |
None. |
|
fromDate | string |
None. |
|
toDate | string |
None. |
|
leaveReson | string |
None. |
|
address | string |
None. |
|
leaveConsumptionType | integer |
None. |
|
IsHalfDay | integer |
None. |
|
HalfDayType | integer |
None. |
|
fileName | string |
None. |
|
fileBase64 | string |
None. |
|
user_id | string |
None. |
|
user_name | string |
None. |
|
device_id | string |
None. |
|
token | string |
None. |
|
geoLocation | string |
None. |
|
PageSize | integer |
None. |
|
PageNo | integer |
None. |
|
seachtext | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmployeeId": "sample string 1", "leaveTypeId": "sample string 2", "fromDate": "sample string 3", "toDate": "sample string 4", "leaveReson": "sample string 5", "address": "sample string 6", "leaveConsumptionType": 7, "IsHalfDay": 8, "HalfDayType": 9, "fileName": "sample string 10", "fileBase64": "sample string 11", "user_id": "sample string 12", "user_name": "sample string 13", "device_id": "sample string 14", "token": "sample string 15", "geoLocation": "sample string 16", "PageSize": 17, "PageNo": 18, "seachtext": "sample string 19" }
application/xml, text/xml
Sample:
<LeaveParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models"> <EmployeeId>sample string 1</EmployeeId> <HalfDayType>9</HalfDayType> <IsHalfDay>8</IsHalfDay> <PageNo>18</PageNo> <PageSize>17</PageSize> <address>sample string 6</address> <device_id>sample string 14</device_id> <fileBase64>sample string 11</fileBase64> <fileName>sample string 10</fileName> <fromDate>sample string 3</fromDate> <geoLocation>sample string 16</geoLocation> <leaveConsumptionType>7</leaveConsumptionType> <leaveReson>sample string 5</leaveReson> <leaveTypeId>sample string 2</leaveTypeId> <seachtext>sample string 19</seachtext> <toDate>sample string 4</toDate> <token>sample string 15</token> <user_id>sample string 12</user_id> <user_name>sample string 13</user_name> </LeaveParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.